Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
249 commits
Select commit Hold shift + click to select a range
f6bdbc3
This removes the FILE_WRITE mechanism from the core
zwoop Oct 10, 2017
c776c66
Optimize: If failed on migrateToCurrentThread, put the server session…
oknet Sep 1, 2017
18a22dd
log when ssl_multicert.config is successfully reloaded
randall Oct 13, 2017
429607e
optimze: move http 408 response logic into transaction
scw00 Oct 11, 2017
49f1f17
Checking the retval of safe_getsockname() and safe_getpeername()
oknet Aug 24, 2017
8551244
fix the missing lock in TSVConnFdCreate api
scw00 Oct 10, 2017
a37fb3a
Tests for chunked POST over HTTP1.1 and HTTP2 and GET chunked over HT…
dyrock Oct 3, 2017
326cd98
Allow binding value to non-nil variable in LuaVM for configuration fi…
shukitchan Oct 13, 2017
db30b0a
Optimize: rename close_UnixNetVConnection to NetHandler::free_netvc.
oknet Sep 12, 2017
2eb9dd4
UDPBind with EventIO of UnixUDPConnection.
oknet Oct 17, 2017
4ebdb40
CID 1196423: Error handling issues (CHECKED_RETURN)
oknet Oct 17, 2017
fa702d2
Added skip condition on http2 test for lack of curl http2
x-jesse-zhang Oct 17, 2017
79e3bf8
added plugin exists condition
dolladollabill Oct 12, 2017
3eb676e
use os.path.join
dolladollabill Oct 14, 2017
39992bb
event loop changes
duke8253 Aug 29, 2017
88431a4
Add MIOBufferWriter class which writes to an MIOBuffer instance.
Sep 21, 2017
ff8b8a1
add http 0.9 in find_proto_string
persiaAziz-zz Oct 16, 2017
c6abe37
coverity 1021743: Uninitialized members
bryancall Oct 19, 2017
bc33954
Skip Link Local address to mitigate slow getnameinfo(3) problem on macOS
masaori335 Oct 20, 2017
0cfa80e
add string_view hash operator
Oct 19, 2017
3ad5bf5
cachekey: ability to base the key on pristine URI.
Oct 19, 2017
28d80e5
TS-5088: Fix missing initial buffer from server, when combined with 1…
mmcmurra Jul 25, 2017
3ab9742
event loop metrics collection
Oct 19, 2017
c1960a4
runroot of traffic_layout fix and lib/ts/layout fix
nqyy Oct 20, 2017
909cb11
added delay argument in microserver
Oct 19, 2017
dcb6f09
CID 1226158: Uninitialized members
masaori335 Oct 23, 2017
5e0ebc4
Skipping tests if a plugin doesn't exist
x-jesse-zhang Oct 20, 2017
ce31263
Set ua_session of Http2ConnectionState nullptr when ua_session is freed
masaori335 Oct 25, 2017
8b40e36
added flag for port number in microdns, microserver extension.
Oct 10, 2017
4df19d2
Optimize: define UnixUDPConnection::inQueue by ASLL macro
oknet Oct 27, 2017
e920894
Optimize: define UDPQueue::atomicQueue by ASLL macro and rename to ou…
oknet Oct 27, 2017
0b52a1a
Within UDPConnection::Release(), it should calls the ep.stop() only i…
oknet Oct 30, 2017
495be0e
Prevent releasing streams simultaneously
maskit Oct 30, 2017
46a7fb8
coverity 1376260: Uninitialized scalar field
bryancall Oct 27, 2017
83e50f5
Rework the new udp connection
oknet Oct 27, 2017
b6c0e55
Getting rid of ts::Vec implementation and replacing it with std::vector
webdriverrr Sep 14, 2017
0be3931
fix 2707, assign server_session to nullptr after do `chain_abort_all`
scw00 Oct 25, 2017
a16780f
More NULL to nullptr conversion
masaori335 Oct 31, 2017
48c3e7b
added tests for different thread configurations, thread information i…
Aug 29, 2017
6a1eb38
include cstring to make the compiler stop complaining about strlen
duke8253 Oct 31, 2017
ccf008f
updated abbreviations in README
sergeimellow Oct 31, 2017
ed592c1
Implement zero-copy within UDPNetProcessorInternal::udp_read_from_net
oknet Oct 21, 2017
f9badea
Doc: Minor fixes - some MimeHdr functions, traffic_layout, event loop…
SolidWallOfCode Nov 1, 2017
1f07ce3
Treat SSL_ERROR_SSL as EPIPE within SSLNetVC::load_buffer_and_write()
oknet Nov 1, 2017
54df615
More header_rewrite examples
mlibbey Oct 29, 2017
4f25328
Correct comment about TS_HTTP_SSN_CLOSE_HOOK.
SolidWallOfCode Nov 1, 2017
be4cdc6
list packages for building in Ubuntu
persiaAziz Oct 23, 2017
76834d0
Removes the Configuration Context Manager
zwoop Oct 12, 2017
372e9de
Removes the rest of the CfgContext files and objects
zwoop Oct 13, 2017
af92bb6
This removes all configuration Element ctor/dtor code
zwoop Oct 13, 2017
2d19d1b
Doc: Updating proxy.config.https.accept_no_activity_timeout information
rpufky Aug 16, 2017
89e7025
Doc: Cleaning wording in proxy.config.http2.accept_no_activity_timeou…
rpufky Aug 31, 2017
4015351
Fixed chunked_encoding gold file
x-jesse-zhang Oct 26, 2017
ecc5fb3
Add traffic_server.memory.rss as a gauge to Epic
zwoop Nov 4, 2017
6dcc822
Send data fairly on H2 streams even if stream priority is disabled
maskit Oct 31, 2017
c3ada26
Strict checks of RFC7540 8.1.2.2.
calavera Nov 6, 2017
644b456
Remove MIOBufferWriter unit tests that throw exceptions.
Nov 1, 2017
ecb2655
Fix logic for loading config file for url_sig plugin.
Nov 3, 2017
31725e6
API for retrieving TSVConn from TSHttpSsn
persiaAziz-zz Oct 31, 2017
33cdce3
Fix #2761. NetHandler needs to be initialized
Nov 3, 2017
75168bd
Format some test file with autopep8
dragon512 Nov 6, 2017
f4a2a27
bug fix: timeout argument not being used
duke8253 Nov 6, 2017
dfe5ddc
iocore/dns: switch data-type to unsigned
jbergstroem Nov 2, 2017
f21fdd8
Add flag to ignore out of bounds compile error for test
bryancall Oct 10, 2017
1a9944c
TS-5057: Add 103 Early Hints support
masaori335 Nov 6, 2017
faa3743
Delete H2 stream before destroy
maskit Nov 6, 2017
b0d6b78
Single nameserver failover in DNSHandler
sfeltner-godaddy Nov 7, 2017
fc69c42
Move Brotli library check into the library check section
bryancall Nov 7, 2017
5b4d0ad
lib/ts/ts_error.h: define throw
jbergstroem Nov 7, 2017
1698035
lib/ts/ink_{defs,error}: modify imports
jbergstroem Nov 7, 2017
446a423
lib/ts/ink_sys_control: work around a glibc'ism
jbergstroem Nov 7, 2017
2bea8ce
coverity 1021700: Uninitialized pointer field
bryancall Nov 7, 2017
0456a54
Fix #2533: ATS doesn't have an active timeout for http2 connection
Sep 19, 2017
b9988fd
move the postbuf to HttpSM
scw00 Nov 4, 2017
40a948a
Optimze: Use a positive number as the timeout of DNSEntry.
oknet Sep 27, 2017
3c0b8b6
README: Alpine build instructions
jbergstroem Nov 8, 2017
e8ed1d1
Optimize: Within udp_read_from_net, change the receive IOBufferBlock …
oknet Nov 9, 2017
0724e34
Correct the listen_backlog
oknet Nov 9, 2017
bc3ecaf
Send RST_STREAM frame when deleting a stream if it is not CLOSED state
maskit Nov 8, 2017
ab7b372
Optimize: update ink_thread_create with thread-safe support
oknet Nov 9, 2017
540a628
Issue 1597: refactor ParentSelection to remove duplicated markParentD…
jrushford Sep 18, 2017
4e5f024
Fix crash in H2 priority tree cleanup.
shinrich Nov 7, 2017
2fd91a3
Cleanup of Continuation class initialization
bryancall Nov 13, 2017
4d4283e
Unify H2 log format
maskit Nov 10, 2017
22e6bf6
YTSATS-1222: SNI based Configuration for traffic server
persiaAziz-zz May 2, 2017
89e388e
corrects calls to TSContSchedule
Nov 13, 2017
323f0f7
fix traffic_wccp makefile
persiaAziz-zz Nov 14, 2017
9a93d32
Cancel closing if Http2SendDataFrameResult is NO_WINDOW
masaori335 Nov 13, 2017
caff1db
Get rid of include unordered_map
persiaAziz-zz Nov 14, 2017
8a53cf1
TsLuaConfig: Fix virtual destructor issue.
SolidWallOfCode Nov 14, 2017
98a2d2d
Add support for TSIpAddrParse as a conveninent function to parse IP a…
shukitchan Sep 15, 2017
5f4271b
fix text width for documentation
shukitchan Sep 15, 2017
d07b79c
Change function name
shukitchan Sep 20, 2017
79c31f3
fix typo
shukitchan Sep 20, 2017
d77aa3f
use string_view
shukitchan Oct 24, 2017
626f589
Remove multiprocessing.Queue.qsize() from traffic_replay
masaori335 Nov 14, 2017
4209cb6
Doc: Updates to cache internals.
SolidWallOfCode Nov 13, 2017
41876c8
modified uDNS AuTest extension
x-jesse-zhang Nov 13, 2017
3669b0c
Fix compile error on Ubuntu.
SolidWallOfCode Nov 16, 2017
334d4a9
Do not try to open the resolv_conf file if it's nullptr. ASAN related…
SolidWallOfCode Nov 16, 2017
b75e4e1
Fix for macOSX build error
persiaAziz-zz Nov 16, 2017
3fbd0d2
expands TSHostLookup documentation
Nov 14, 2017
a64817a
Fix include issue in null_transform
dyrock Nov 14, 2017
e7534ac
corrects response reason when failing to connect to origin
Nov 15, 2017
d8c814a
Add configuration for per-client IP debugging
shinrich Jan 25, 2017
e2bccd5
Fix a crash that a SSL callback gets netvc from a wrong place
maskit Nov 17, 2017
84b2e8b
Move ts/Vec to ts/Map
webdriverrr Nov 1, 2017
7a242d2
header_rewrite: Allow set-debug in READ_RESPONSE_HDR_HOOK.
SolidWallOfCode Nov 14, 2017
329c021
TS API and hooks to manipulate the ATS specific session cache and ses…
shinrich Sep 27, 2017
2354e7a
add openssh flags that we need to build plugins with custom SSL corre…
dragon512 Nov 17, 2017
683df9a
Doc: Fix up TSOverridable config values. Copied directly from source.
SolidWallOfCode Nov 9, 2017
f43af44
Fixed broken build on OSX where st_mtim is not defined
bryancall Nov 18, 2017
4b5218f
add autest for post redirection
scw00 Nov 12, 2017
5019209
make it python3 compatible
duke8253 Nov 16, 2017
9dd7597
Clean up tls test
dragon512 Nov 17, 2017
2aee00a
Fixed build on Ubuntu, errors ignoring return value
bryancall Nov 18, 2017
74027a1
Doc: Fix build warnings - SSL Session, Overridable Config.
SolidWallOfCode Nov 21, 2017
a0b5bd7
Coverity: removing null pointer dereference
persiaAziz Nov 21, 2017
7524922
Rename prepare_plugin to PreparePlugin to follow naming convention
dragon512 Nov 21, 2017
943f789
Fixed another build issue on Ubuntu, errors ignoring return value
bryancall Nov 20, 2017
d1fdba4
coverity 1382795: Pointer to local outside scope
bryancall Nov 22, 2017
5526cb2
coverity 1382799, 1382796: Unchecked return value
bryancall Nov 22, 2017
6c66e54
Delete ssl_SNI.config from tests/min_cfg
persiaAziz-zz Nov 22, 2017
5347ac9
coverity 1382722: Unchecked return value
bryancall Nov 22, 2017
91f1bb7
Doc: Add Layer 4 / SNI Routing documentation.
SolidWallOfCode Nov 21, 2017
69343fe
Move NetHandler initialization to be static and not per thread.
SolidWallOfCode Nov 5, 2017
18c76c5
Adds some basic documentation for traffic_logstats
zwoop Nov 24, 2017
313508c
Add protocol metrics to traffic_logstats
zwoop Nov 24, 2017
2f3f868
Enable WCCP building on the Github builds
zwoop Nov 14, 2017
ecb9b9c
Fix a number of tests
dragon512 Nov 28, 2017
edbb969
Cleans up some build issue and unecessary casts
zwoop Nov 28, 2017
d372332
Reverts the changes from TS-3054
zwoop Nov 28, 2017
9dae6f0
bugfix for malformed chunked response will be cached under some terri…
Oct 23, 2017
d0b9095
Suppress udpnet-service debug log
masaori335 Nov 27, 2017
fbf8369
Fix potential crash from returning string_view from nullptr instead o…
SolidWallOfCode Nov 28, 2017
7da3e1c
overload ats_stringdup for string_view
persiaAziz-zz Nov 29, 2017
b203b71
header_rewrite - Delete cookies if they are empty in rm-cookie operat…
sfeltner-godaddy Nov 29, 2017
bb3cd1a
Revert "bugfix for malformed chunked response will be cached under so…
zwoop Nov 29, 2017
531ec4e
move TRANSACT_RETURN to Transaction.cc
scw00 Sep 30, 2017
ccea2ae
Limit the amount of memory that an HTTP/2 stream will allocate
bryancall Sep 18, 2017
7a3ab0c
Fix crash from HttpSM::setup_100_continue_transfer
shinrich Nov 27, 2017
9ced1ef
Created URI Signing Plugin.
alficles Nov 17, 2017
74ee4eb
speedup the script load process when multiple remap rules load the sa…
shukitchan Oct 21, 2017
4c47ab1
Deprecates the coallapsed_connection plugin, use collapsed_forwarding…
zwoop Dec 1, 2017
eee39a7
coverity 1382722: Unchecked return value
bryancall Dec 3, 2017
d78f819
Removes DES-CBC3-SHA from the default cipher list (again...)
zwoop Dec 4, 2017
9145d25
Create system_stats plugin. This will insert system information in to
ezelkow1 Nov 14, 2017
ee2cc17
Fix wildcard entry for SNI config
persiaAziz Nov 29, 2017
f31d28b
Add closedir for dangling dir pointer
ezelkow1 Dec 4, 2017
edf59a8
remove hack for traffic_top
dragon512 Dec 5, 2017
925ed8e
Fix typo
BenMorel Dec 5, 2017
5a8d77b
Add httpbin extension in Autest
masaori335 Dec 4, 2017
f8425fa
Update the autest.sh script that runs from Jenkins
zwoop Dec 4, 2017
e8f7a85
Cleanup of bool conversion in Ptr.h for C++11.
Oct 16, 2017
ad1ead0
Changing all *Debug* macros to *Debug
tchinmai7 Dec 7, 2017
5b06302
removes unused public ip option from microserver code
Dec 1, 2017
610cd7c
fix post-redirect test
dragon512 Dec 7, 2017
8581d6b
uDNS no longer redirects NXDOMAIN to lo
x-jesse-zhang Dec 5, 2017
03d110c
Rename HttpSM::ua_session HttpSM::ua_txn
masaori335 Dec 11, 2017
9adddd6
Revert "Cancel closing if Http2SendDataFrameResult is NO_WINDOW"
masaori335 Nov 27, 2017
c802ea2
Increase write_vio.ndone only if sending DATA frame is succeeded
masaori335 Nov 27, 2017
6ab6a78
Support graceful shutdown on both HTTP/1.1 and HTTP/2
maskit Jun 8, 2017
c23c838
Fix a build issue due to recent variable name change
maskit Dec 13, 2017
f6fe424
removes usages of deleted http.redirection_enabled
Dec 12, 2017
f070d16
wildcard in ssl_server_name and rectify description of client certifi…
persiaAziz-zz Dec 11, 2017
f838db1
Add information about version of ats being tested
dragon512 Dec 13, 2017
d60ceaa
Only allow the gzip/brotli transformation on 200 OK responses
zwoop Dec 14, 2017
da827de
Removes the limit on the number of remap plugins per rule
zwoop Dec 14, 2017
0f8a051
Remove supurious max_connection warning
shinrich Dec 14, 2017
4716d68
use warning instead of assert for setrlimit()
duke8253 Dec 13, 2017
cb82c8e
Build: Fix build problems on RHEL 6 for traffic_top.
SolidWallOfCode Nov 22, 2017
49c903b
TransformVC may be double closed because there is a issue within Http…
oknet Dec 8, 2017
bc37329
Do not try to load empty client_cert path.
shinrich Dec 15, 2017
fd2535c
logging: fix incorrect use of LogAccess::strlen()
unixwitch Dec 15, 2017
cdabe1f
Make some of build options configurable
zwoop Dec 15, 2017
f934740
Fix sdk_sanity_check_null_ptr to take a <const void *>
SolidWallOfCode Dec 17, 2017
b8e9752
Issue #2883: Split TXN and SSN user arg allocation.
SolidWallOfCode Dec 1, 2017
43cc156
Update the docs to be a bit more clear about config behavior
zwoop Dec 18, 2017
68ee4b9
remove code to set hard limit in ink_max_out_rlimit(), hard limit sho…
duke8253 Dec 18, 2017
d04ec06
Delete space after semi colon when deleting cookies with test to ensu…
sfeltner-godaddy Dec 12, 2017
08b560d
Delete space after semi-colon when deleting cookies with a test to en…
sfeltner-godaddy Dec 18, 2017
b115de7
option for using the host field for response lookup
persiaAziz-zz Dec 13, 2017
ebd16da
coverity 1367517: Destroy held lock
bryancall Dec 13, 2017
5fe7236
Add pparam to url_sig plugin to make it authenticate pristine URL, el…
Nov 7, 2017
762dd93
Change normalize_ae handling to normalize request from client not req…
Nov 22, 2017
b8b20ab
Allow for spaces in list of algorithms in configuration file for gzip…
Dec 21, 2017
fd2ce43
Fixed uri_signing plugin to use pristine request header.
alficles Dec 20, 2017
4b5a06e
Make sure that push requests use the custom port, if specified. <RNP>
Dec 21, 2017
3629f86
Fix naming of average aggregate function
j-manu Dec 22, 2017
a3e7eb6
Fix race condition during testing rc2.
dyrock Dec 21, 2017
68dd4e3
coverity 1374999: Resource leak
bryancall Dec 22, 2017
30bc836
Cleans up the build, excludes ccache where it fails
zwoop Dec 23, 2017
4da3d7c
Modify regex_revalidate so that traffic_ctl may be used to trigger
jrushford Dec 12, 2017
1f645a8
fix ts_lua core dump issue during config reload
shukitchan Dec 15, 2017
bfc7245
handle transport of empty body response
shukitchan Dec 15, 2017
24c57a2
Restructured traffic_layout and command line
nqyy Dec 21, 2017
0281f33
MADV_DODUMP
duke8253 Dec 20, 2017
b90e119
Add fix to select ports better on the Mac based on PR 2832
dragon512 Dec 21, 2017
87a873c
Remove use of netstat in tests
dragon512 Jan 4, 2018
4e5aac4
Fix compiler issue with ubuntu
dragon512 Jan 5, 2018
00d35d7
clang-format cleanup
dragon512 Jan 5, 2018
6017b58
fixes parse of redirect uris missing leading /
Dec 19, 2017
c20a319
change history buffer from linear buffer to circulating buffer
scw00 Dec 16, 2017
db81103
new_MIOBuffer: uninitialized water_mark fix.
gtenev Jan 12, 2018
97f67ef
Traffic-replay updated
x-jesse-zhang Jan 12, 2018
995b6ef
Fix an enum element mismatch between TSServerState and ServerState_t
maskit Jan 12, 2018
a1a924e
appends missing dot to udns domain
Jan 12, 2018
4e62375
Remove Congestion Control Feature
shinrich Dec 21, 2017
c7b2c64
Reset water_mark in new_empty_MIOBuffer_internal
gtenev Jan 13, 2018
e266f23
Fix UDPNetProcessor::CreateUDPSocket()
masaori335 Jan 15, 2018
6dda3e5
Avoid copying over data in the write_vio into response_buffer
masaori335 Nov 30, 2017
c9a23c2
Makes it actually create a Config object
zwoop Jan 18, 2018
f14df9e
Coverity ID 1241990: Fixes memory leak
zwoop Jan 18, 2018
129f59d
Do not send HSTS header when remap has failed
bryancall Jan 19, 2018
3b3d1f2
clang-format
bryancall Jan 22, 2018
93565fa
Make Continuation class constructor protected.
Jan 20, 2018
d3056c4
TextView: Add suffix methods, update comments.
SolidWallOfCode Jan 19, 2018
6d506bb
Multiplexer plugin: Fix bug with chunk decoding, add some comments.
SolidWallOfCode Nov 7, 2017
0f14434
Add pkg-config fallback to --enable-system-luajit
linnaea Dec 27, 2017
8cbc52d
Logging can only have 1 accept filter
mlibbey Jan 10, 2018
42ab1d0
Processing DNS reponses with CNAME & SRV records
Jan 25, 2018
c93790a
Add a --enable-fips flag which will eliminate MD5 and MMH and
Nov 10, 2017
752899c
moves certain ocsp error messages to Debug
Jan 26, 2018
168729a
Add an example of testing http2 with httpbin
masaori335 Dec 4, 2017
2aee3b6
Changes to allow for possible stale ua_session pointer in HttpSM object.
Dec 5, 2017
429ae17
Add support to chunk post body's that come from H2 client without con…
shinrich Jan 26, 2018
21cc11e
Use NetVCOptions to create UDPConnection
scw00 Feb 1, 2018
c69e8e2
Fixed crash in microserver help message
x-jesse-zhang Feb 1, 2018
df8976f
Fixes a warning from clang v6.x
zwoop Jan 31, 2018
424c70a
Bring back MT_hashtable.h under lib/ts/
JordyLiu26 Feb 1, 2018
155d1a7
Fix X-Id logging for slow log
bryancall Feb 2, 2018
21cdbda
Adding custom method support and bug fixes
x-jesse-zhang Feb 2, 2018
630dcb6
heap use after free
duke8253 Feb 1, 2018
ee62ed7
coverity 1385717: Out-of-bounds write
bryancall Feb 2, 2018
f5751c3
Note the stripe meta while clearing the stripe
persiaAziz-zz Feb 2, 2018
d2bfadf
fix OCSP under OpenSSL 1.1.x
randall Jan 11, 2018
22559f0
Use CRYPTO_HEX_SIZE instead of hardcoded fixed sizes.
maskit Feb 6, 2018
b2344ed
Fixes the escalate plugin such that redirects are followed
zwoop Feb 6, 2018
96e0aca
correct negative event's timeout_at value
scw00 Feb 5, 2018
31332f0
Documentation: correct inku16 to unsigned int:16
scw00 Feb 7, 2018
b3f33ff
Fix a bug that chunked resopnses aren't logged properly if the client…
maskit Feb 6, 2018
487eccb
psutil can not find python.h withouth python3-dev in Ubuntu
persiaAziz Feb 7, 2018
4bfaf36
Make throttling feature more useful.
shinrich Feb 7, 2018
8defb3c
X-Debug: log-headers
Feb 7, 2018
a98021c
Send VC_EVENT_WRITE_READY/COMPLETE when write_vio is consumed
masaori335 Feb 6, 2018
afcb78d
Added logcode and stats
dyrock Feb 7, 2018
b420cff
Remove client read timeout
dyrock Feb 7, 2018
b729070
Correct clear and assign of FIPS cache keys in HTTPInfo.
Feb 6, 2018
c1921f0
Client verify callback with client verify hook
persiaAziz Nov 13, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ iocore/net/test_UDPNet
iocore/aio/test_AIO
iocore/eventsystem/test_Buffer
iocore/eventsystem/test_Event
iocore/eventsystem/test_MIOBufferWriter
iocore/hostdb/test_RefCountCache

proxy/config/records.config.default
Expand Down
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export CCACHE_BASEDIR
# proxy/api/ts has to be built first, since so much of libraries and "core
# depends on the generates ts/ts.h include file.

SUBDIRS = proxy/api/ts iocore lib proxy/hdrs proxy/shared mgmt proxy cmd plugins tools example rc
SUBDIRS = proxy/api/ts lib iocore proxy/hdrs proxy/shared mgmt proxy cmd plugins tools example rc
if BUILD_DOCS
SUBDIRS += doc
endif
Expand Down
15 changes: 13 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,17 @@ plugins to build large scale web applications.
libcurl4-openssl-dev (optional, required for e.g.: traffic_top)
flex (optional, required for e.g. WCCP)

Alpine Linux
build-base
libexecinfo-dev
pcre-dev
libressl-dev
autoconf
automake
libtool
tcl-dev
linux-headers

OSX (we recommend HomeBrew):
autoconf
automake
Expand Down Expand Up @@ -154,8 +165,8 @@ the installation with

mkdir -p ~/dev # make yourself a development dir
cd ~/dev # enter your development dir
git clone ... # get the source code from ASF Git repo
cd trafficserver # enter the checkout dir
git clone ... # get the source code from ASF Git repository
cd trafficserver # enter the checkout directory
autoreconf -if # generate the configure script and Makefile.in files
./configure # configure the build environment to create Makefiles
make # execute the compile
Expand Down
15 changes: 15 additions & 0 deletions build/common.m4
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,21 @@ AC_DEFUN([TS_TRY_COMPILE_NO_WARNING],
CFLAGS=$ats_save_CFLAGS
])

dnl
dnl TS_LINK_WITH_FLAGS_IFELSE(LDFLAGS, FUNCTION-BODY,
dnl [ACTIONS-IF-LINKS], [ACTIONS-IF-LINK-FAILS])
dnl
dnl Tries a link test with the provided flags.
dnl

AC_DEFUN([TS_LINK_WITH_FLAGS_IFELSE],
[ats_save_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS $1"
AC_LINK_IFELSE([$2],[$3],[$4])
LDFLAGS=$ats_save_LDFLAGS
])



dnl Iteratively interpolate the contents of the second argument
dnl until interpolation offers no new result. Then assign the
Expand Down
26 changes: 16 additions & 10 deletions ci/jenkins/bin/autest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,37 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Setup autoconf
cd src
[ -d tests ] || exit 0

autoreconf -if

# Setup autoconf
INSTALL="${WORKSPACE}/${BUILD_NUMBER}/install"
mkdir -p $INSTALL
cd src
autoreconf -if

URL="https://ci.trafficserver.apache.org/files/autest"
AUSB="ausb-${ghprbPullId}.${BUILD_NUMBER}"
SANDBOX="/var/tmp/${AUSB}"

mkdir -p $INSTALL

./configure --prefix="$INSTALL" \
./configure --prefix="${INSTALL}" \
--with-user=jenkins \
--enable-experimental-plugins \
--enable-example-plugins \
--enable-ccache \
--enable-debug \
--enable-wccp \
--enable-werror

# Build and run regressions
${ATS_MAKE} ${ATS_MAKE_FLAGS} V=1 Q= || exit -1
${ATS_MAKE} install
/usr/bin/autest -D ./tests/gold_tests --sandbox "$SANDBOX" --ats-bin "${INSTALL}/bin"
${ATS_MAKE} -j4 && ${ATS_MAKE} install
${INSTALL}/bin/traffic_server -K -k -R 1
[ "0" != "$?" ] && exit -1

# Now run autest
AUTEST="/usr/bin/autest"
[ ! -x ${AUTEST} ] && AUTEST="/usr/local/bin/autest"

${AUTEST} -D ./tests/gold_tests --sandbox "$SANDBOX" --ats-bin "${INSTALL}/bin"
status=$?

# Cleanup
Expand Down
25 changes: 13 additions & 12 deletions ci/jenkins/bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,19 @@
# limitations under the License.

# Check if it's a debug or release build
enable_debug=""
test "${JOB_NAME#*type=debug}" != "${JOB_NAME}" && enable_debug="--enable-debug"
DEBUG=""
test "${JOB_NAME#*type=debug}" != "${JOB_NAME}" && DEBUG="--enable-debug"

# When to turn on ccache, disabled for all clang / llvm builds
enable_ccache="--enable-ccache"
test "${JOB_NAME#*compiler=clang}" != "${JOB_NAME}" && enable_ccache=""
test "${JOB_NAME#freebsd_}" != "${JOB_NAME}" && enable_ccache="--enable-ccache"
# When to turn on ccache, disabled for some builds
CCACHE="--enable-ccache"
test "${JOB_NAME#*debian_8}" != "${JOB_NAME}" && CCACHE=""
test "${JOB_NAME#*ubuntu_12_04}" != "${JOB_NAME}" && CCACHE=""
test "${JOB_NAME#*ubuntu_14_04}" != "${JOB_NAME}" && CCACHE=""
test "${JOB_NAME#*compiler=clang,label=ubuntu_16_04}" != "${JOB_NAME}" && CCACHE=""

# When to enable -Werror, turned off for RHEL5 node (due to LuaJIT / gcc issues on RHEL5)
enable_werror="--enable-werror"
test "${NODE_NAME#RHEL 5}" != "${NODE_NAME}" && enable_werror=""
WERROR="--enable-werror"
test "${NODE_NAME#RHEL 5}" != "${NODE_NAME}" && WERROR=""

# Change to the build area (this is previously setup in extract.sh)
cd "${WORKSPACE}/${BUILD_NUMBER}/build"
Expand All @@ -37,10 +39,9 @@ mkdir -p BUILDS && cd BUILDS
--prefix="${WORKSPACE}/${BUILD_NUMBER}/install" \
--enable-experimental-plugins \
--enable-example-plugins \
--enable-test-tools \
--with-user=jenkins \
${enable_ccache} \
${enable_werror} \
${enable_debug}
${CCACHE} \
${WERROR} \
${DEBUG}

${ATS_MAKE} ${ATS_MAKE_FLAGS} V=1 Q=
22 changes: 19 additions & 3 deletions ci/jenkins/bin/github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,21 @@

INSTALL="${WORKSPACE}/${BUILD_NUMBER}/install"

# Optional settings
CCACHE=""; WERROR=""; DEBUG=""; WCCP=""
[ "1" == "$enable_ccache" ] && CCACHE="--enable-ccache"
[ "1" == "$enable_werror" ] && WERROR="--enable-werror"
[ "1" == "$enable_debug" ] && DEBUG="--enable-debug"
[ "1" == "$enable_wccp" ] && WCCP="--enable-wccp"

# Check for clang
if [ "1" == "$enable_clang" ]; then
export CC="clang"
export CXX="clang++"
export CXXFLAGS="-Qunused-arguments -std=c++11"
export WITH_LIBCPLUSPLUS="yes"
fi

mkdir -p ${INSTALL}
cd src
autoreconf -if
Expand All @@ -26,9 +41,10 @@ autoreconf -if
--with-user=jenkins \
--enable-experimental-plugins \
--enable-example-plugins \
--enable-ccache \
--enable-debug \
--enable-werror
${CCACHE} \
${WCCP} \
${WERROR} \
${DEBUG}

# Build and run regressions
${ATS_MAKE} ${ATS_MAKE_FLAGS} V=1 Q=
Expand Down
1 change: 0 additions & 1 deletion ci/jenkins/bin/in_tree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ autoreconf -fi
--enable-werror \
--enable-experimental-plugins \
--enable-example-plugins \
--enable-test-tools \
--enable-wccp

${ATS_MAKE} -j5 V=1
Expand Down
1 change: 0 additions & 1 deletion ci/jenkins/bin/out_of_tree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ mkdir -p BUILDS && cd BUILDS
--enable-werror \
--enable-experimental-plugins \
--enable-example-plugins \
--enable-test-tools \
--enable-wccp

${ATS_MAKE} -j5 V=1
Expand Down
3 changes: 1 addition & 2 deletions ci/jenkins/bin/snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ autoreconf -fi
--enable-debug \
--enable-werror \
--enable-experimental-plugins \
--enable-example-plugins \
--enable-test-tools
--enable-example-plugins

${ATS_MAKE} asf-dist

Expand Down
4 changes: 3 additions & 1 deletion cmd/traffic_layout/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ traffic_layout_SOURCES = \
file_system.cc \
file_system.h \
engine.cc \
engine.h
engine.h \
info.cc \
info.h

traffic_layout_LDADD = \
$(top_builddir)/lib/records/librecords_p.a \
Expand Down
Loading