/
CHANGES
3299 lines (1978 loc) · 110 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-*- coding: utf-8 -*-
Changes with Apache Traffic Server 5.0.0
*) [TS-2614] Response to invalid Content-Length for POST should be a 400 error
Author: Ron Barber <rbarber@yahoo-inc.com>
*) [TS-2615] Better logging and error handling in SSL client session startup.
*) [TS-2613] Can't turn on attach server session to client from records.config
*) [TS-2611] Add a new S3 authentication plugin, s3_auth. This only supports
the v2 features of the S3 API.
*) [TS-2522] Better hook management for header_rewrite plugin, and some
cleanup.
*) [TS-2169] Add SSL statistics
Author: Ron Barber <rbarber@yahoo-inc.com>
*) [TS-2607] Fix TS_USE_HWLOC #define in build process
*) [TS-2595] DNS lookup failed with multiple search domains.
Author: Thach Tran <tranngocthachs@gmail.com>
*) [TS-2019] Fix the "vector inconsistency" errors.
*) [TS-2585] Add overridable configs support to regex_remap plugin.
Author: Ethan Lai <yzlai@yahoo.com>
*) [TS-2569] Set the default SSL options correctly.
Author: Ron Barber <rbarber@yahoo-inc.com>
*) [TS-2599] Remove dead code in RedCore related to Record Types
*) [TS-2593] HTTPS to origin fails on CentOS6.x. This is a regression of
sort from TS-2355.
*) [TS-2592] Use proxy allocator for ioBufAllocator
*) [TS-2576] Add Oct/Hex escape representation into LogFormat
*) [TS-2494] fix the crash that return the stale cached document
when os is down, even if it`s status is not 200 (ok).
*) [TS-2590] Translate documentation into Japanese.
Authors: Masaori Koshiba <masaori335@gmail.com>
Masakazu Kitajo <m4sk17@gmail.com>
syucream <syucream1031@gmail.com>
*) [TS-2586] Improvements to the internal implementation of overridable
configuration lookups (_conf_to_memberp() ).
Author: Yu Qing <zhuangyuan@taobao.com>
*) [TS-2210] Add a plugin API to manipulate the session's SSL context.
Author: Kang Li <kangli@yahoo-inc.com>
*) [TS-2542] Turn on caching zero length responses by default.
*) [TS-2405] Change the default for proxy.config.net.sock_option_flag_out to
1, which enables TCP_NODELAY.
*) [TS-2531] The default remap rule doesn't match a forward proxy request
*) [TS-612] Add support for SSL keys with passphrases.
Author: Ron Barber <rbarber@yahoo-inc.com>
*) [TS-2319] Change default behavior for the various ignore-mismatch
configurations.
*) [TS-2563] Always set the SSL default verify paths.
Author: Wei Sun <sunwei@yahoo-inc.com>
*) [TS-2437] Add a lifecycle hook to expose loaded SSL certificates to
plugins. Author: Wei Sun <sunwei@yahoo-inc.com>
*) [TS-2582] Make traffic_cop debugging eadier by logging to stdout.
*) [TS-2579] Remove ipv4 limit for FetchSM and TSFetchUrl/TSFetchPages.
*) [TS-1893] Add more options to server session control.
*) [TS-2239] Initial ALPN TLS extension support.
*) [TS-2568] Better template messages.
*) [TS-2567] Add --install-test-tools configure option.
*) [TS-1622] Add a new API, TSHttpTxnIsCacheable(), which allows a plugin
to determine whether a request (and/or response) would be cacheable.
*) [TS-2560] regex_remap lowercase substitutions is not being initialized in
the construtor
*) [TS-2559] Disconnect clients on unrecoverable origin errors.
*) [TS-2556] Fix ink_hrtime_diff_msec.
*) [TS-2553] Fix a segfault in the Metalink plugin reported by Faysal Banna
and preserve the Content-Length header
Author: Jack Bates <jack@nottheoilrig.com>
*) [TS-2195] Remove the (deprecated) TSHttpTxnCacheLookupSkip API.
*) [TS-2229] Deprecate the header_filter plugin, use header_rewrite instead.
*) [TS-2290] Remove X-ID special log tag, and cleanup HdrToken confusion.
*) [TS-2088] Change TSRecordType enum values to powers of two
Changes with Apache Traffic Server 4.2.0
*) [TS-2552] configure fails to detect missing the #define for
SSL_CTX_set_tlsext_ticket_key_cb().
*) [TS-2549] printf() compiler warnings on OSX (clang) with the CPP APIs.
*) [TS-2532] Fix make distclean for C++ API examples.
*) [TS-2306] Client connection hang while downloading big file from origin
server over SSL connection
*) [TS-2353] Add ability to load ssl certs that are owned by root and only
read only by the user
*) [TS-2551] Eliminate the tr1 dependency from CPP APIs.
*) [TS-2541] Add WebSocket support
*) [TS-2550] Add inline configuration overrised to the conf_remap plugin.
*) [TS-2546] Move xptr and _xstrdup to ink_memory.{h,cc}.
*) [TS-2180] Small memory leak in RecCore.cc, from previous refactoring.
*) [TS-2534] Make sure RecRecord structs are always properly initialized.
*) [TS-2483] Add a new metric, proxy.node.restarts.proxy.cache_ready_time,
tracking absolute time when the cache started (finished
initialization). Until cache is available, or no cache configured, this
metric stays at a value of "0".
*) [TS-2517 First implementation of traffic_shell.pl, and reorg the modules
a bit for more consistency. Also fixes a timeout issue in AdminClient.pm.
*) [TS-1467] Disable client initiated renegotiation (SSL) DDoS by default
*) [TS-2538] Cleanup of ProcessMutex (unused) and InkMutex (dupe of
ink_mutex). We now use ink_mutex consistently.
*) [TS-2544] conf_remap plugin: allow for multiple configuration files.
*) [TS-2530] Check for loopback interfaces when computing the local address.
Author: Ron Barber rbarber@yahoo-inc.com
*) [TS-2031] Prevent duplicate SSL SNI name registration.
Author: Feifei Cai <ffcai@yahoo-inc.com>
*) [TS-2501] Refactor and improve performance for the case without
expansions. Review: Alexey Ivanov <aivanov@linkedin.com>.
*) [TS-2533 ] Add three commands previously provided by traffic_shell.
*) [TS-2304] Make the healthcheck plugin watch for file permission changes.
*) [TS-2519] Make build version metrics non-persistent.
*) [TS-1606] Log buffers are not flushed periodically when TS is launched
with NO_REMOTE_MANAGEMENT flag
*) [TS-2481] Incorrect origin server port used sometimes (with keep-alive).
Author: Dimitry Andric <dimitry@andric.com>
*) [TS-2526] Remove the g_stats_snap_fpath global variable.
*) [TS-2525] Remove restrictions on outbound transparency with SSL.
*) [TS-2425] Update to TS-2261 for loading plugins as root
*) [TS-2505] Add traffic_line --offline option.
*) [TS-2305] Fall back to ftruncate if posix_fallocate fails.
*) [TS-2504] Support OpenSSL installations that use the lib64 directory.
*) [TS-799] Have AdminClient.pm created from .in file.
*) [TS-2509] Add the const qualifier to pure HttpTunnel member functions.
*) [TS-2508] Add a *highly* experimental escalation plugin.
*) [TS-2507] Fix the state transition logging in HttpSM::handle_server_setup_error.
*) [TS-1648] Segmentation fault in dir_clear_range()
*) [TS-2500] Fix handling of cache stripe assignment when a disk is
taken offline.
*) [TS-2499] Fix the header_rewrite plugin expansions of the new %<>
strings. Author: Alexey Ivanov <aivanov@linkedin.com>.
*) [TS-2498] Add a build option to install the example plugins.
*) [TS-2484] Add API support for the two missing overridable APIs:
proxy.config.http.cache.max_open_read_retries
proxy.config.http.cache.open_read_retry_time
*) [TS-2497] Failed post results in tunnel buffers being returned to
freelist prematurely.
Reporter: Thomas Jackson <thjackso@linkedin.com>
*) [TS-1668] Added HSTS configuration options to ATS
*) [TS-2495] Reduce the size of HttpVCTableEntry.
*) [TS-2491] stop other esi plugin unit test programs after error.
Author: Yu Qing <zhuangyuan@taobao.com>
*) [TS-1821] make the AIO test pass when build with native aio.
*) [TS-2412] fix the bug of restarting ATS causes complete cache data
loss when use linux-native-aio.
*) [TS-2488] enhance esi plugin to allow any of the space characters to
follow esi starting tags.
Author: Yu Qing <zhuangyuan@taobao.com>
*) [TS-2489] Fix esi plugin problem with contents in comments output
twice when the node list is cached.
Author: Yu Qing <zhuangyuan@taobao.com>
*) [TS-2336] First attempt at moving the Prefetch APIs into some usable
state. There's still work to be done here, but separate bugs for that.
*) [TS-2487] Export PUSH HTTP method constants to the TS API.
*) [TS-2486] Eliminate SIMPLE_MEMCPY_INIT define.
*) [TS-2476] Fix size_t format string.
Author: Radim Kolar <hsn@sendmail.cz>
*) [TS-2471] Writing records.config can fail when the disk is full.
Author: Yu Qing <zhuangyuan@taobao.com>
*) [TS-2479] Don't output orphan log after failover sucessfully.
*) [TS-2370] SSL proxy.config.ssl.server.honor_cipher_order is backwards.
Changed the default setting and changed the meaning of it in the code.
*) [TS-2466] NOT increase the version of records.config when changing
the local parameter
Author: Yu Qing
*) [TS-2469] remove libreadline which is gpl licensed.
Author: Ben Aitchison <ben@meh.net.nz>
*) [TS-2235] url_print should NOT output "?" for empty query string,
fix two remains.
Author: Yu Qing
*) [TS-2475] Adding new transaction methods in C++ API
*) [TS-2474] Change proxy.config.net.poll_timeout to 10ms consistently.
*) [TS-2473] Fix C++ API includes for FreeBSD.
Author: Radim Kolar <hsn@sendmail.cz>
*) [TS-2467] traffic_shell doesn't work with tcl 8.6.
Author: Ben Aitchison <ben@meh.net.nz>
*) [TS-1365] Add a new configuration option, proxy.config.net.poll_timeout,
with the same behavior as the command line option --poll_timeout. Also
adjust AIO scheduling to correlate to this setting, to avoid additional
CPU load. Note that this configuration is generally not necessary to
configure, unless you are concerned with system idle CPU consumption.
*) [TS-2468] Bring back the load balancer plugin.
*) [TS-2465] libxml2 detection generates an invalid linker path.
Author: Radim Kolar <hsn@sendmail.cz>
*) [TS-2271] Threaded plugin support with 3rd party libraries.
Author: Heikki Hannikainen <hessu@hes.iki.fi>
*) [TS-2464] Remove useless and buggy connection header handling
*) [TS-2457] Protocol.c: change usage of atoi to strtol.
Author: Radim Kolar <hsn@sendmail.cz>
*) [TS-2459] Fix wrong name for a couple of librecord APIs.
Author: Yu Qing <happy_fish100@yahoo.com.cn>
*) [TS-2463] Crash regression around slow-log feature, when logging an
event. This fixes commit c290ce0df2a.
*) [TS-32] Fix ICP. Author: Gota Adachi <ada@iij.ad.jp>
*) [TS-2248] Segmentation fault in HttpTunnel with flow control.
Author: bettydramit <b13621367396@gmail.com>
*) [TS-2454] Fix undefined reference to `__sync_fetch_and_sub_8' on ARM
32bit system.
*) [TS-2450] Fix assertion failure for T61String type.
*) [TS-2117] make hipes plugin build.
*) [TS-2452] Can't access a deleted object.
*) [TS-2363] Fix assertion of "Unknown file format type!".
*) [TS-2448] Fix traffic_cop and traffic_manager to obey the
proxy.config.local_state_dir setting.
*) [TS-2445] Fix problem with 204 responses closing POST requests.
*) [TS-2434] Use the FATAL error level to handle plugin errors.
*) [TS-2203] Clarify syslog startup messages for standalone log programs.
*) [TS-2436] Add a simple integration test harness.
*) [TS-2355] ATS 4.0.x crashes when using OpenSSL 1.0.1e.
*) [TS-2432] Fix a race in aio_err_callblk.
*) [TS-2251] Simplify LogBuffer reference counting.
*) [TS-2190] Remove cache.log from the cachurl plugin.
*) [TS-2426] Add a new plugin, xdebug, for cache debugging using HTTP
headers.
*) [TS-2077] Remove pipeline configurations, they were no-op's anyways. We
still support pipelining (we always do), it's just not treated specially
(or optimized).
*) [TS-2386] clean up unused files and codes -- round 4.2.
*) [TS-548] remove Initialize.cc Initialize.h
*) [TS-2082] remove STANDALONE_IOCORE FIXME_NONMODULAR and NON_MODULAR
defines.
*) [TS-312] Add option to always share keep-alive connections to the origin
server.
*) [TS-2419] Don't close client connection when responding with a 204 and
there is no body.
*) [TS-1146] Add RFC 5077 TLS session ticket support.
Author: Wei Sun <sunwei@yahoo-inc.com>
*) [TS-2401] Use Layout instead of global install path directories.
*) [TS-2420] Remove STAT_SYNC, CONF_SYNC, and REM_SYNC threads and schedule
those continuations in ET_TASK.
*) [TS-2372] Enable TLS perfect forward security with ECDHE.
*) [TS-2416] Make TLS the session timeout threshold configurable.
Author: Wei Sun <sunwei@yahoo-inc.com>
*) [TS-2335] adding ts_lua plugin to experimental directory.
*) [TS-2347] buffer_upload uses unsafe function tempnam(). Replace it
with mkstemp().
*) [TS-1815] Add thread number and port to accept thread name and
add the file descriptor number to the ET_AIO thread names.
*) [TS-2415] Use standard continuations to release UrlRewrite objects.
*) [TS-2413] Release memory for idle SSL connections.
Author: Wei Sun <sunwei@yahoo-inc.com>
*) [TS-2365] Configure the maximum TLS record size.
Author: Wei Sun <sunwei@yahoo-inc.com>
*) [TS-2351] Bandaid fix for Range request crash related to
Read-While-Writer and content length calculations.
*) [TS-2408] Fix double free of proxy.config.admin.user_id.
*) [TS-2396] UrlRewrite.cc does not free the queue correctly.
Author: Yu Qing <zhuangyuan@taobao.com>
*) [TS-2382] Partial fix for make install creating man files as root.
*) [TS-2381] Reorganize TSUrlCreate docs into separate files.
*) [TS-2377] Install man pages as part of the build.
*) [TS-2379] Add a new field: '%<chp>', "client_host_port" to LogFormat.
*) [TS-2374] Abort the producer if the none of it`s consumers is alive.
*) [TS-2330] Update proxy.config.body_factory.enable_customizations comments
in records.config.
*) [TS-2327] TSRedirectUrlSet does not perform DNS lookup of redirected OS.
*) [TS-1468] Check vary and accept headers on non-200 responses in cache.
*) [TS-2352] refine THREAD_ALLOC feature.
*) [TS-2364] Introduce slice notation to field syntax in log format.
*) [TS-2360] Fix usage of TSMimeHdrFieldValueStringGet() IDX in some plugins.
*) [TS-2361] Load regex_remap configuration relative to the configuration
directory.
*) [TS-2359] Make install over existing installation can fail.
*) [TS-2350] Enhancements to traffic_top.
*) [TS-2348] Rename tstop to traffic_top.
*) [TS-2384] Fix regression in key-lookup code between 4.0.x and 4.1.x.
*) [TS-2340] Fix TextLogObject log rolling.
Author: bettydramit <b13621367396@gmail.com>
*) [TS-2343] Remove the --schema option from Traffic Manager, and the code
around it.
*) [TS-2316] header_rewrite: numerous improvements: cookie based conditions,
rule counters, improved documentation.
Author: Alexey Ivanov <aivanov@linkedin.com>
*) [TS-2338] Remove IPRange.cc and .h, and SocksParser.cc.
*) [TS-2333] Change the SAX callbacks to not clash with libxml2, which broke
synthetic metric completely.
*) [TS-2339] Cleanup Makefile.am, fixing missing / wrong _SOURCES entries.
*) [TS-2341] Cast TSHttpStatus to int to suppress compiler warning in clang.
*) [TS-2303] Incorrect docs for negative_caching_enabled.
Author: Thomas Jackson <jacksontj.89@gmail.com>
*) [TS-2712] Explicitly use subdir-objects in automake init.
*) [TS-2309] Allow mod_generator plugin for lighttpd to accept "SI" postfixes.
Changes with Apache Traffic Server 4.1.0
*) [TS-2252] Fix bison version check on Ubuntu.
*) [TS-2108] Fix TSConfig to build with bison 3.0
*) [TS-2311] ESI: Support responses that are of other text content type as
well as non-200 status response. Author: Kit Chan
*) [TS-2321] C++ API: Clean up header code to not use STL containers and use
structures directly.
*) [TS-2323] Implement a .include directive for remap.config.
*) [TS-2322] Set PCRE malloc hooks globally.
*) [TS-1955] Range: requests during read-while-writer gets the wrong
Content-Length.
*) [TS-2245] This adds a '2' config state to the ignore mismatch configs.
*) [TS-2178] Force keep alive off if re-using client 4-tuple and server is
not keep alive.
*) [TS-2264] Fixed problem with EADDR_NOTAVAIL handling.
*) [TS-2317] Read/write mutex of PluginVC may be held without release.
Author: portl4t.cn@gmail.com
*) [TS-2315] ESI Plugin: fetcher does not handle error gracefully.
Author: Kit Chan
*) [TS-2115] buffer_upload hard-codes "nobody" user/group.
Author: Kit Chan
*) [TS-2008] Cache control with multiple suffixes.
Author: bettydramit <b13621367396@gmail.com>
*) [TS-2247] ua close time in milestone may not set.
Author: Gang Li
*) [TS-2302] Log collation causes error logging to stop.
*) [TS-2200] TS_HRTIME_xxx in experimental.h is invalid to use.
Author: Yu Qing
*) [TS-2235] url_print should NOT output "?" for empty query string.
Author: Yu Qing
*) [TS-2292] the version of records.config increases unexpectly.
Author: Yu Qing
*) [TS-2277] cluster alarm messages broadcast infinitely.
Author: Yu Qing
*) [TS-2276] manager memory leak in some case.
Author: Yu Qing
*) [TS-1638] less strict on kernel version checking in clustering.
Author: Yu Qing
*) [TS-2265] Remove unused log tags for prob, prcb and cgid.
*) [TS-2301] Replace the CACHE_READY macro with CacheProcessor::IsCacheReady.
*) [TS-2300] Remove the HIT_EVACUATE build option.
*) [TS-2227] Allow for multiple config files for a header_rewrite plugin
invocation (be it in remap.config or plugin.config).
*) [TS-2230] header_rewrite should support the same hook-management that
header_filter does for remap rules. This allows per-remap rules that
triggers in hooks other than the remap phase.
*) [TS-2228] Add a set-config operator for header_rewrite plugin.
*) [TS-2226] Add a set-header operator for header_rewrite plugin.
*) [TS-2296] improve ConfigProcessor reference counting.
*) [ TS-2295] update statvfs usage.
*) [TS-2139] Fix PURGE twice to remove object in cache if
enable-interim-cache.
*) [TS-2216] Fix cquuh log tag, which does not calculate the right
string length.
*) [TS-2275] fix interim cache lossing data if the server process crash.
Author: Gang Li
*) [TS-2291] Add remap_stats plugin to experimental.
*) [TS-2242] Update core plugins' support_email and vendor_name for
consistency.
*) [TS-1988] cquuc and cquup log tags can have no values.
*) [TS-2159] Force first log rotation at proxy.config.log.rolling_size_mb.
*) [TS-2138] Fix the bug that restarting ats cause cache data loss if
enable the native-aio.
*) [TS-2197] Use HttpSM::main_handler to handle the client request stuff.
*) [TS-2254] On ARM arch, ink_atomic_increment returns wrong value.
Author: Yu Qing
*) [TS-2269] regex_remap plugin does not deal with empty path's properly.
Author: Kit Chan
*) [TS-2270] ESI Plugin can have infinite loop while doing gunzip on
responses. Author: Kit Chan
*) [TS-2268] Add support for opening protocol traffic sockets through the
traffic_manager. Added TSPluginDescriptorAccept into expiremental API.
*) [TS-2266] Add a "make rat" Makefile target, to create a RAT report. This
is used for verifying licensing compliance on the entire source tree.
*) [TS-2212] Implement the <fsiz> log tag for HTTP requests. This also does
a small refactoring of the "atoi" functions in lib/ts, such that we now
consistently have both prototypes for all types (with and without a
string length parameter).
*) [TS-2261] Add config option to restore/elevate access to reading files by
root when loading plugins.
*) [TS-2257] Healthcheck plugin can stop watching some events.
*) [TS-2260] Avoid flooding log when log host is down.
*) [TS-2259] Introduce failover hosts for logging system.
*) [TS-2256] Mem stats info is bad when enable reclaimable-freelist.
*) [TS-2255] TS should not flood printing after log space reach the limit.
*) [TS-2245] cancel the trigger of CacheVC in openWriteCloseDataDone.
*) [TS-2232] log level should be change from Status to Debug.
Author: Yu Qing <zhuangyuan@taobao.com>
*) [TS-2201] split drainIncomingChannel two thread, one handle Broadcast
message and other handle Reliable(TCP) request for supporing large cluster.
*) [TS-2144] Avoid race on e.g. "traffic_server -Cclear" which would crash
the process intermittently.
*) [TS-2217] remove the option to turn off body factory - setting it to 0
will result in empty responses.
*) [TS-2209] add support for lowercasing all substitutions in regex_remap.
*) [TS-2187] failed assert `nr == sizeof(uint64_t)` in EventNotify::signal().
*) [TS-2206] The trafficserver RC script does not use absolute path to
traffic_line binary.
*) [TS-2207] CentOS5 out of tree perl module build fails.
*) [TS-1637] Fix nodes as idle/dead if we have not heard from them in
awhile.
*) [TS-2185] Support to control ClusterCom::sendSharedData frequency.
*) [TS-2195] Deprecate experimental TSHttpTxnCacheLookupSkip API.
*) [TS-2176] Do not reset value of api_skip_cache_lookup when reading it.
Author: Corey Cossentino <corey@omniti.com>
*) [TS-2191] Do not reschedule http_sm when the sm_list`s lock is not
acquired. This can lose items for the WebUI, which will be fixed in a
separate bug.
*) [TS-2188] Fixes to make healthcheck plugin not segfault, and parse the
log files properly. Author: Scott Harris <scott@harrisnet.id.au>
*) [TS-1086] Avoid edge case returning 304 to an unconditional request.
Diagnosis and patch by Mohamad Khateeb.
*) [TS-2168] Make RecordsConfig.cc more inline with default builds.
*) [TS-2174] traffic_shell/traffic_line miss some stats value
*) [TS-2173] RECD_COUNTER type is missing in setTokenValue().
*) [TS-2165] Introduce cluster-wide logging stats.
*) [TS-2167] Update apichecker.pl to give suggestions on additional
deprecated APIs.
*) [TS-2163] Remove WDA_BILLING, ACC_ALARMS etc. code and definitions.
*) [TS-2156] Fix stats trap in different type of threads.
*) [TS-2160] Remove ats_is_ip_nonroutable and replace it with the less
confusing ats_is_ip_linklocal and ats_is_ip_private.
*) [TS-2158] Properly mark an IP as non-routable for IPv4 and IPv6 link
local addresses as well as IPv6 private addresses and IPv4 Carrier Grade
NAT addresses from RFC 6598.
*) [TS-2155] Make a new RAT exclude file that uses the regular expressions
now supported. Also cleanup some of minor licensing discrepancies.
*) [TS-2148] handle_cache_operation_on_forward_server_response ignores value
of api_server_response_no_store.
Author: Corey Cossentino <corey@cossentino.com>
*) [TS-2147] Set server_share_sessions to 1 for 'internal' transactions in
rfc5861 plugin.
*) [TS-2114] buffer_upload plugin defines true and false
Author: Kit Chan <chanshukit@gmail.com>
*) [TS-2116] buffer_upload plugin is in the source tree but does not build
Author: Kit Chan <chanshukit@gmail.com>
*) [TS-2094] eliminate xcrun warnings at configure time
*) [TS-2141] Inconsistent euid cause bad mgmtapi/eventapi sockets.
*) [TS-2137] Use eventfd instread of pthread signal/wait in ATS.
*) [TS-287] Fix transaction_active_timeout_in does not trigger on the first
request of a Keep-Alive connection. Author: Li Gang <quehan@taobao.com>
*) [TS-2136] Fix the first proxy.config.http.accept_no_activity_timeout is
invalid.
*) [TS-2089] Introduce configurable collation preproc threads.
*) [TS-2126] Avoid unnecessary memory copy in LogHost::write()
*)[ TS-2096] Improve SSL certificate loading error messages.
*) [TS-2122] Enlarge the 64KB limitation of log buffer size.
*) [TS-2061] LogFile::write_ascii_logbuffer3() can silently drop log
entries.
*) [TS-2123] Remove useless max_entries_per_buffer option.
Changes with Apache Traffic Server 4.0.1
*) [TS-2161] TSHttpTxnHookAdd memory Leak.
Author: bettydramit <b13621367396@gmail.com>
*) [TS-2154] Lua plugin asserts traffic_server on startup.
*) [TS-2127] Move hostdb.config to var/trafficserver, together with with the
host.db itself.
*) [TS-1823] remap.config line continuation support.
Author: Jim Riggs <jim@riggs.me>
*) [TS-1597] Document remap.config filters.
Author: Jim Riggs <jim@riggs.me>
*) [TS-2132, TS-2131] ${libexecdir} and $(localstatedir} chowned
needlessly chowned to to ATS' user.
Author: Tomasz Kuzemko <tomasz@kuzemko.net>
*) [TS-2130] pthread_setname_np() detection fails on various platforms.
*) [TS-2129] Check for existence of ExtUtils::MakeMaker.
*) [TS-2128] Don't link libGeoIP.so.1 into binaries.
*) [TS-2112] Make libloader compile by default.
*) [TS-2111] configure check in boost falsely requires 1.50. Reducing it to
v1.33, which is what RHEL5 ships with.
Changes with Apache Traffic Server 3.3.5
*) [TS-2051] Fix SSL crash due to excess READ_COMPLETE events.
*) [TS-2099] Using wrong member when setting active timeout.
*) [TS-2102] SPDY plugin tries to setup protocol handler too early.
*) [TS-1953] remove version checks from plugins that don't use it and
add an example showing off the version API and partial compilation.
*) [TS-2100] Initialize the SSL/NPN registration mutex.
* [TS-1987, TS-2097]: Remove duplicate and unused string functions.
*) [TS-2091] Return an error from RecGetRecordOrderAndId if the stat isn't
registered.
*) [TS-2081] Make the WCCP addr configuration LOCAL.
*) [TS-2093] Check bounds on plugin stat creation.
*) [TS-2092] Use of uninitialized member in HdrHeap.
*) [TS-2052] ET_SSL thread spinning.
Author: Can Selcik <cselcik at linkedin.com>
*) [TS-2090 Make proxy.config.allocator.enable_reclaim default based on
build instructions.
*) [TS-2086] Remove a few more unused configs.
*) [TS-1685] Remove TS_MICRO and fellas.
*) [TS-1255] Add more overridable configurations, and fix bugs in how we
deal with some of these (all "float" configs were completely broken). I
also modified the regression tests to be less easy to fool.
*) [TS-1976] Prevent an invalid httpport argument being passed from
traffic_manager to traffic_server.
Author: Thach Tran <tranngocthachs@gmail.com>
*) [TS-2076] Removed proxy.config.http.accept_encoding_filter_enabled, which
is obsolete.
*) [TS-2075] Cleanup around suboptimal checks on redirects.
*) [TS-2074] Remove proxy.config.http.server_port and
proxy.config.http.server_other_ports remnants.
*) [TS-2073] Set the defaults for request_hdr_max_size and
response_hdr_max_size properly.
*) [TS-2071] Remove proxy.config.http.session_auth_cache_keep_alive_enabled
remnants.
*) [TS-2072] Remove proxy.config.http.avoid_content_spoofing, and also fix a
logical bug around the tests of when to mark the request header dirty.
*) [TS-1993] SSL certificate chains are loaded from the wrong directory.
*) [TS-2059] Remove dead code in EnvBlock.cc and processSpawn().
*) [TS-2057] Removed deprecated proxy port configuration values from
records.config.
*) [TS-1280] Add url match token about cache control rule.
*) [TS-2064] Fix the authproxy plugin to send an error body.
*) [TS-2061] Avoid writing outside buffer boundaries in LogFile overfill
buffers (for ASCII logging). Author: quehan
*) [TS-2041] Allow environment values to override records.config settings.
*) [TS-2044] Avoid logging client running into DENY status infinitely.
Author: Yunkai Zhang <qiushu.zyk@taobao.com>
*) [TS-2030] Build error with --enable-interim-cache on fedora19 x86_64.
Author: bettydramit <b13621367396 at gmail dot com>
*) [TS-1943] Rename mcport and rsport parameters to make them more readable.
Author: Yunkai Zhang <qiushu.zyk@taobao.com>
*) [TS-2046] Move perl contribs to lib/perl, and have make / make install
build and install the modules as appropriate.
*) [TS-954] Better calculation of blocks in volume. Bumped cache DB version.
*) [TS-2050] Cleanup ink_config.h.in, removing unused symbols.
*) [TS-1487] [TS-2035] Moved plugin init, added plugin lifecycle hooks,
added delay listen for cache. Removed TS_NO_API defined/build option.
*) [TS-2047] Schedule RamCacheCLFUSCompressor in RamCacheCLFUS::init instead
of immediately after instantiation.
*) [TS-2042] Remove remnants of unused vingid command line option.
*) [TS-1898] improve cluster read/write performance.
*) [TS-2036] Enable mgmt update (traffic_line -x) for plugins.
*) [TS-2037] Fix start-stop-daemon typo in debian init script.
*) [TS-2003] Fix RAM cache stats when using cluster. Author: Yunkai Zhang.
*) [TS-1820] Cleanup UNUSED / INK_UNUSED / RELEASE_UNUSED. This also removes
the entire mgmt/tools directory, and relevant support in traffic_shell for
managing network interfaces.
*) [TS-2033] Remove EncryptToFile() and mgmt API.
*) [TS-2027] Initialize the ConnectionCount`s mutex.
*) [TS-1997] Remove TSHttpTxnCachedUrlSet() API.
*) [TS-2028] Config parse problems in healthchecks plugin.
*) [TS-1966] Add new configuration option to control ProxyAllocator size.
*) [TS-1151] cop may crash due to uninitialized pointer val
*) [TS-2013] Install the tspush script.
*) [TS-2012] Use standard C++11 containers in logstats.
*) [TS-1999] Merge in the healthcheck plugin from GoDaddy.
*) [TS-1998] Make stats-over-http support configurable URL path.
*) [TS-1990] Fix core at CacheContinuation::handleDisposeEvent().
*) [TS-2010] Build fixes for OS X 10.9 and Xcode 5.
*) [TS-1957] fix If CacheContinuation timeout, timeout Event will be loop
*) [TS-2007] Add TSNetConnectTransparent API for transparent net connections
*) [TS-1991] clang complaint: logical not is only applied to the left hand
side of this comparison.
*) [TS-1958] Web UI can crash doing a regex lookup.
*) [TS-1994] Increase default RAM cache size by a magnitude.
*) [TS-1978] Segfault when trying to set an error from (remap) plugin. This
also fixes a bug where the "default" template was not loaded upon startup.
*) [TS-1977] Build issues on OSX / clang related to stacksize changes.
*) [TS-1972] TSNetAcceptNamedProtocol does not receive connections.
*) [TS-1970] Using ssl_ca_name= in ssl_multicert.config fails.
*) [TS-1946] Reduce the verbosity of SSL handshake errors.
*) [TS-1971] Switch jtest over to standard argument parsing.
*) [TS-1786] Only enable -Werror for development builds.
*) [TS-1960] Decouple stacksize config from core, this fixes regressions.
*) [TS-1959] traffic_manager not honoring some records.config settings
necessary for e.g. logging.
*) [TS-745] support interim caching in storage to enable, use
'--enable-interim-cache' configure option.
*) [TS-1968] Promote header_rewrite plugin from experimental
*) [TS-1961] Add tsxs support for querying installation variables.
*) [TS-1886] Allow users to attempt gcc builds on Mac OS X.
*) [TS-1934] Make geoip_acl experimental plugin compile.
*) [TS-1948] Remove obsolete TSPluginLicenseRequired and plugin.db.
*) [TS-1942] Remove username.cache configs, they are obsolete and long gone.
*) [TS-1496] Enable per transaction flow control.
*) [TS-1684] Added more ProxyAllocators for faster and local memory
allocation. Have seen a doubling in performance depending on the benchmark.
Details in the ticket.
*) [TS-1962] Don't add POST server connections to the shared pool unless POST
keep-alive option is on
Changes with Apache Traffic Server 3.3.4
*) [TS-1940] HostDB gets reinitialized on startup.
*) [TS-1941] Make Linux native-AIO build cleanly.
*) [TS-1938] Remove unnecessary thread_id() wrapper in reclaimable freelist.
Author: Yunkai Zhang <qiushu.zyk@taobao.com>
Changes with Apache Traffic Server 3.3.3 (never released)
*) [TS-1936] Make traffic_logstats honor the log-directory as intended.
*) [TS-1937] Prevent assert on SSL forward proxy connect.
*) [TS-1907] Using the "ipv6" option for port configuration cancels the
"ssl" option.
*) [TS-1927] Make ats_base64_decode able to handle the URL variant
*) [TS-1207] Move cacheurl plugin out of experimental
*) [TS-1857] On CentOS the Lua plugin is built whether Lua is found or not.
*) [TS-1492] Prevent net-throttling from locking out the health checks
from traffic_cop.
*) [TS-1827] Make combo_handler be enabled via remap.config, and
various other cleanup fixes. Author: Conan Wang and Leif.
*) [TS-1932] Use a more modern tar format so asf-dist can handle
file paths longer that 99 bytes
*) [TS-1891] Add double-free checking for reclaimable freelist
Author: Yunkai Zhang <qiushu.zyk@taobao.com>
*) [TS-1926] Require Lua v5.1, by checking for lua_getfenv(). This is
necessary since we are incompatible with Lua v5.2 (for now).
*) [TS-1921] Fix reclaimable freelist getting stuck in infinite loop.
Author: Yunkai Zhang <qiushu.zyk@taobao.com>
*) [TS-1824] TSHttpTxnPushedRespHdrBytesGet() takes an int argument in the
implementation, whereas the prototype does not have this.
*) [TS-1928] False warning when setting log rotation size to exactly 10.
*) [TS-1812] Remove obsolete syslog_thr_init calls.
*) [TS-1825] TSPortDescriptorAccept does not use it's argument.
*) [TS-1925] Remove obsolete MMH hash API.
*) [TS-1924] Add metalink plugin documentation.
Author: Jack Bates <jack@nottheoilrig.com>
*) [TS-1913] Fix memory issue caused by resolve_logfield_string()
Author: Yunkai Zhang <qiushu.zyk@taobao.com>
*) [TS-1915] header_rewrite uses TSUrlHostSet() when using set-destination
PATH. Author: Nick Berry.
*) [TS-1941] Configured socket buffer sizes are not applied.
*) [TS-1912] SSL hangs after origin handshake.
*) [TS-1911] Enforce MIOBufferAccessor accessor API.
*) [TS-1909] Remove duplicate listen socket conditioning.
*) [TS-1896] Cleanup of unused defines, sometimes duplicated.
*) [TS-374] Reduce lock contention in HostDB.
*) [TS-1728] Assign storage entries to volumes
Author: Justin Laue <justin@fp-x.com>
*) [TS-1899] strtod() does not honor Hex strings on Solaris.
*) [TS-1894] madvise() not found on Solaris. And some cleanup.
*) [TS-1765] Make jtest build more like the rest of the code.