-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
changelog.xml
3133 lines (3124 loc) · 122 KB
/
changelog.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE document [
<!ENTITY project SYSTEM "project.xml">
]>
<?xml-stylesheet type="text/xsl" href="tomcat-docs.xsl"?>
<document url="changelog.html">
&project;
<properties>
<title>Changelog</title>
<no-comments />
</properties>
<body>
<!--
Subsection ordering:
General, Catalina, Coyote, Jasper, Cluster, WebSocket, Web applications,
Extras, Tribes, jdbc-pool, Other
Item Ordering:
Fixes having an issue number are sorted by their number, ascending.
There is no ordering by add/update/fix/scode.
Other fixed issues are added to the end of the list, chronologically.
They eventually become mixed with the numbered issues. (I.e., numbered
issues do not "pop up" wrt. others).
-->
<section name="Tomcat 8.5.14 (markt)">
<subsection name="Catalina">
<changelog>
<fix>
<bug>59825</bug>: Log a message that lists the components in the
processing chain that do not support async processing when a call to
<code>ServletRequest.startAsync()</code> fails. (markt)
</fix>
<fix>
<bug>60926</bug>: Ensure
<code>o.a.c.core.ApplicationContextFacade#setSessionTimeout</code> will
invoke the correct method when running Tomcat with security manager.
(markt)
</fix>
<update>
Update the early access Servlet 4.0 API implementation to reflect the
change in method name from <code>getPushBuilder()</code> to
<code>newPushBuilder()</code>. (markt)
</update>
<fix>
Correct a regression in the X to comma refactoring that broke JMX
operations that take parameters. (markt)
</fix>
<fix>
Avoid a <code>NullPointerException</code> when reading attributes for a
running HTTP connector where TLS is not enabled. (markt)
</fix>
<fix>
<bug>60940</bug>: Improve the handling of the <code>META-INF/</code> and
<code>META-INF/MANIFEST.MF</code> entries for Jar files located in
<code>/WEB-INF/lib</code> when running a web application from a packed
WAR file. (markt)
</fix>
<fix>
Pre-load the <code>ExceptionUtils</code> class. Since the class is used
extensively in error handling, it is prudent to pre-load it to avoid any
failure to load this class masking the true problem during error
handling. (markt)
</fix>
<fix>
Avoid potential <code>NullPointerException</code>s related to access
logging during shutdown, some of which have been observed when running
the unit tests. (markt)
</fix>
<fix>
When there is no <code>javax.servlet.WriteListener</code> registered
then a call to <code>javax.servlet.ServletOutputStream#isReady</code>
will return <code>false</code> instead of throwing
<code>IllegalStateException</code>. (violetagg)
</fix>
<fix>
When there is no <code>javax.servlet.ReadListener</code> registered
then a call to <code>javax.servlet.ServletInputStream#isReady</code>
will return <code>false</code> instead of throwing
<code>IllegalStateException</code>. (violetagg)
</fix>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<fix>
Align cipher configuration parsing with current OpenSSL master. (markt)
</fix>
<fix>
<bug>60970</bug>: Fix infinite loop if application tries to write a
large header to the response when using HTTP/2. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Jasper">
<changelog>
<fix>
<bug>60925</bug>: Improve the handling of access to properties defined
by interfaces when a <code>BeanELResolver</code> is used under a
<code>SecurityManager</code>. (markt)
</fix>
</changelog>
</subsection>
<subsection name="jdbc-pool">
<changelog>
<scode>
Refactor the creating a constructor for a proxy class to reduce
duplicate code. (kfujino)
</scode>
<fix>
In <code>StatementFacade</code>, the method call on the statements that
have been closed throw <code>SQLException</code> rather than
<code>NullPointerException</code>. (kfujino)
</fix>
</changelog>
</subsection>
<subsection name="Other">
<changelog>
<fix>
Correct comments about Java 8 in <code>Jre8Compat</code>.
Patch provided by fibbers via Github. (violetagg)
</fix>
<fix>
<bug>60932</bug>: Correctly escape single quotes when used in i18n
messages. Based on a patch by Michael Osipov. (markt)
</fix>
<fix>
Update the custom Ant task that integrates with the Symantec code
signing service to use the now mandatory 2-factor authentication.
(markt)
</fix>
</changelog>
</subsection>
</section>
<section name="Tomcat 8.5.13 (markt)" rtext="2017-03-30">
<subsection name="Catalina">
<changelog>
<add>
<bug>54618</bug>: Add support to the
<code>HttpHeaderSecurityFilter</code> for the HSTS preload parameter.
(markt)
</add>
<fix>
<bug>60853</bug>: Expose the <code>SSLHostConfig</code> and
<code>SSLHostConfigCertificate</code> objects via JMX. (markt)
</fix>
<fix>
<bug>60876</bug>: Ensure that <code>Set-Cookie</code> headers generated
by the <code>Rfc6265CookieProcessor</code> are aligned with the
specification. Patch provided by Jim Griswold. (markt)
</fix>
<fix>
<bug>60882</bug>: Fix a <code>NullPointerException</code> when obtaining
a <code>RequestDispatcher</code> for a request that will not have any
pathInfo associated with it. This was a regression in the changes in
8.5.12 for the Servlet 4.0 API early preview changes. (markt)
</fix>
<update>
Align <code>PushBuilder</code> API with changes from Servlet expert
group. (markt)
</update>
<scode>
Refactor the various implementations of X to comma separated list to a
single utility class and update the code to use the new utility class.
(markt)
</scode>
<fix>
<bug>60911</bug>: Ensure NPE will not be thrown when looking for SSL
session ID. Based on a patch by Didier Gutacker. (violetagg)
</fix>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<add>
<bug>60362</bug>: Add a new Connector configuration
<code>sendReasonPhrase</code>. When this attribute is set to
<code>true</code>, a reason phrase will be sent with the response.
By default a reason phrase will not be sent. This option is deprecated
and is not available in Tomcat 9. (violetagg)
</add>
<fix>
Fix HTTP/2 incorrect input unblocking on EOF. (remm)
</fix>
<fix>
Close the connection sooner if an event occurs for a current connection
that is not consistent with the current state of that connection.
(markt)
</fix>
<fix>
Speed up shutdown when using multiple acceptor threads by ensuring that
the code that unlocks the acceptor threads correctly handles the case
where there are multiple threads. (markt)
</fix>
<fix>
<bug>60852</bug>: Correctly spell compressible when used in
configuration attributes and internal code. Based on a patch by Michael
Osipov. (markt)
</fix>
<fix>
<bug>60900</bug>: Avoid a <code>NullPointerException</code> in the APR
Poller if a connection is closed at the same time as new data arrives on
that connection. (markt)
</fix>
<fix>
Improve HPACK specification compliance by fixing some test failures
reported by the h2spec tool written by Moto Ishizawa. (markt)
</fix>
<fix>
Improve HTTP/2 specification compliance by fixing some test failures
reported by the h2spec tool written by Moto Ishizawa. (markt)
</fix>
<fix>
<bug>60918</bug>: Fix sendfile processing error that could lead to
subsequent requests experiencing an <code>IllegalStateException</code>.
(markt)
</fix>
<fix>
Improve sendfile handling when requests are pipelined. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Jasper">
<changelog>
<fix>
Improve the error handling for simple tags to ensure that the tag is
released and destroyed once used. (remm, violetagg)
</fix>
<fix>
<bug>60844</bug>: Correctly handle the error when fewer parameter values
than required by the method are used to invoke an EL method expression.
Patch provided by Daniel Gray. (markt)
</fix>
</changelog>
</subsection>
<subsection name="jdbc-pool">
<changelog>
<fix>
<bug>60764</bug>: Implement <code>equals()</code> and
<code>hashCode()</code> in the <code>StatementFacade</code> in order to
enable these methods to be called on the closed statements if any
statement proxy is set. This behavior can be changed with
<code>useStatementFacade</code> attribute. (kfujino)
</fix>
</changelog>
</subsection>
<subsection name="Other">
<changelog>
<fix>
Refactor the build script and the NSIS installer script so that either
NSIS 2.x or NSIS 3.x can be used to build the installer. This is
primarily to re-enable building the installer on the Linux based CI
system where the combination of NSIS 3.x and wine leads to failed
installer builds. (markt)
</fix>
</changelog>
</subsection>
</section>
<section name="Tomcat 8.5.12 (markt)" rtext="2017-03-13">
<subsection name="Catalina">
<changelog>
<fix>
<bug>60469</bug>: Refactor <code>RealmBase</code> for better code re-use
when implementing Realms that use a custom <code>Principal</code>.
(markt)
</fix>
<fix>
<bug>60490</bug>: Various formatting and layout improvements for the
<code>ErrorReportValve</code>. Patch provided by Michael Osipov. (markt)
</fix>
<update>
<bug>60596</bug>: Improve performance of DefaultServlet when sendfile
feature is disabled on connector. (kkolinko)
</update>
<scode>
Make it easier for sub-classes of <code>Tomcat</code> to modify the
default web.xml settings by over-riding
<code>getDefaultWebXmlListener()</code>. Patch provided by Aaron
Anderson. (markt)
</scode>
<fix>
Reduce the contention in the default <code>InstanceManager</code>
implementation when multiple threads are managing objects and need to
reference the annotation cache. (markt)
</fix>
<scode>
<bug>60674</bug>: Remove <code>final</code> marker from
<code>CorsFilter</code> to enable sub-classing. (markt)
</scode>
<fix>
<bug>60683</bug>: Security manager failure causing NPEs when doing IO
on some JVMs. (csutherl)
</fix>
<fix>
<bug>60688</bug>: Update the internal fork of Apache Commons BCEL to
r1782855 to add early access Java 9 support to the annotation scanning
code. (markt)
</fix>
<fix>
<bug>60694</bug>: Prevent NPE during authentication when no JASPIC
<code>AuthConfigFactory</code> is available. (markt)
</fix>
<fix>
<bug>60697</bug>: When HTTP TRACE requests are disabled on the
Connector, ensure that the HTTP OPTIONS response from custom servlets
does not include TRACE in the returned Allow header. (markt)
</fix>
<fix>
<bug>60718</bug>: Improve error handling for asynchronous processing and
correct a number of cases where the <code>requestDestroyed()</code>
event was not being fired and an entry wasn't being made in the access
logs. (markt)
</fix>
<fix>
<bug>60720</bug>: Replace "WWW-Authenticate" literal with static final
AUTH_HEADER_NAME in SpnegoAuthenticator. Patch provided by Michael
Osipov. (violetagg)
</fix>
<fix>
The default JASPIC <code>AuthConfigFactory</code> now correctly notifies
registered <code>RegistrationListener</code>s when a new
<code>AuthConfigProvider</code> is registered. (markt)
</fix>
<scode>
Improve the performance of <code>AuthenticatorBase</code> when there is
no JASPIC configuration available. (violetagg)
</scode>
<fix>
When HTTP TRACE requests are disabled on the Connector, ensure that the
HTTP OPTIONS response from the WebDAV servlet does not include
TRACE in the returned Allow header. (markt)
</fix>
<fix>
<bug>60722</bug>: Take account of the
<strong>dispatchersUseEncodedPaths</strong> setting on the current
<strong>Context</strong> when generating paths for dispatches triggered
by <code>AsyncContext.dispatch()</code>. (markt)
</fix>
<fix>
<bug>60728</bug>: Make the separator Tomcat uses in the Tomcat specific
<code>war:file:...</code> URL protocol customizable via a system
property. The separator is equivalent to the use of the <code>!</code>
character in <code>jar:file:...</code> URLs. The default separator of
<code>*</code> remains unchanged. (markt)
</fix>
<update>
Update the <code>org.apache.catalina.servlet4preview</code> package that
can be used to gain early access to Servlet 4.0 features to align with
the latest proposals from the Servlet 4.0 expert group. This includes
updates to the new Servlet mapping API, new methods on the
<code>ServletContext</code> to make the available API more equivalent to
the deployment descriptor, updates to the HTTP push API and the ability
to set default request and response character encoding per web
application. Note that the Servlet 4.0 API is still a work in progress
and further changes are likely. (markt)
</update>
<fix>
<bug>60798</bug>: Correct a bug in the handling of JARs in unpacked WARs
that meant multiple attempts to read the same entry from a JAR in
succession would fail for the second and subsequent attempts. (markt)
</fix>
<fix>
<bug>60808</bug>: Ensure that the <code>Map</code> returned by
<code>ServletRequest.getParameterMap()</code> is fully immutable. Based
on a patch provided by woosan. (markt)
</fix>
<fix>
<bug>60824</bug>: Correctly cache the <code>Subject</code> in the
session - if there is a session - when running under a
<code>SecurityManager</code>. Patch provided by Jan Engehausen. (markt)
</fix>
<fix>
Ensure request and response facades are used when firing application
listeners. (markt/remm)
</fix>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<fix>
Improve handling of case when an HTTP/2 client sends more data that is
subject to flow control than the current window size allows. (markt)
</fix>
<fix>
Improve NIO2 look-ahead parsing of TLS client hello for SNI with large
client hello messages. (markt)
</fix>
<fix>
<bug>59807</bug>: Provide a better error message when there is no
<strong>SSLHostConfig</strong> defined with a <code>hostName</code> that
matches the <code>defaultSSLHostConfigName</code> for the associated
<strong>Connector</strong>. (markt)
</fix>
<fix>
Include the value of <code>SslHostConfig.truststoreAlgorithm</code> when
warning that the algorithm does not support the
<code>certificateVerificationDepth</code> configuration option. (markt)
</fix>
<fix>
Ensure that executor thread pools used with connectors pre-start the
configured minimum number of idle threads. (markt)
</fix>
<add>
<bug>60594</bug>: Allow some invalid characters that were recently
restricted to be processed in requests by using the system property
<code>tomcat.util.http.parser.HttpParser.requestTargetAllow</code>.
(csutherl)
</add>
<fix>
<bug>60627</bug>: Modify the <code>Rfc6265CookieProcessor</code> so that
in addition to cookie headers that start with an explicit RFC 2109
<code>$Version=1</code>, cookies that start with <code>$Version=0</code>
are also parsed as RFC 2109 cookies. (markt)
</fix>
<fix>
<bug>60716</bug>: Add a new JSSE specific attribute,
<code>revocationEnabled</code>, to <code>SSLHostConfig</code> to permit
JSSE provider revocation checks to be enabled when no
<code>certificateRevocationListFile</code> has been configured. The
expectation is that configuration will be performed via a JSSE provider
specific mechanisms. (markt)
</fix>
<fix>
Modify the cookie header generated by the
<code>Rfc6265CookieProcessor</code> so it always sends an
<code>Expires</code> attribute as well as a <code>Max-Age</code>
attribute to avoid problems with Microsoft browsers that do not support
the <code>Max-Age</code> attribute. (markt)
</fix>
<fix>
<bug>60761</bug>: Expose a protected getter and setter for
<code>NioEndpoint.stopLatch</code> to make the class easier to extend.
(markt)
</fix>
<fix>
Prevent blocking reads after a stream exception occurs with HTTP/2.
(remm)
</fix>
</changelog>
</subsection>
<subsection name="Jasper">
<changelog>
<fix>
Follow up to the fix for <bug>58178</bug>. When creating the
<code>ELContext</code> for a tag file, ensure that any registered
<code>ELContextListener</code>s are fired. (markt)
</fix>
<fix>
Refactor code generated for JSPs to reduce the size of the code required
for tags. (markt)
</fix>
<fix>
<bug>60769</bug>: Correct a regression in the XML encoding detection
refactoring carried out for 8.5.10 that incorrectly always used the
detected BOM encoding in preference to any encoding specified in the
prolog. (markt)
</fix>
<update>
Update to the Eclipse JDT Compiler 4.6.1. (markt)
</update>
</changelog>
</subsection>
<subsection name="Cluster">
<changelog>
<add>
Make the <code>accessTimeout</code> configurable in
<code>BackupManager</code> and <code>ClusterSingleSignOn</code>. The
<code>accessTimeout</code> is used as a timeout period for PING in
replication map. (kfujino)
</add>
<fix>
<bug>60806</bug>: To avoid <code>ClassNotFoundException</code>, make
sure that the web application class loader is passed to
<code>ReplicatedContext</code>. (kfujino)
</fix>
</changelog>
</subsection>
<subsection name="WebSocket">
<changelog>
<fix>
<bug>60617</bug>: Correctly create a <code>CONNECT</code> request when
establishing a WebSocket connection via a proxy. Patch provided by
Svetlin Zarev. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Tribes">
<changelog>
<add>
Add log message that PING message has received beyond the timeout
period. (kfujino)
</add>
<fix>
When a PING message that beyond the time-out period has been received,
make sure that valid member is added to the map membership. (kfujino)
</fix>
<fix>
Ensure that <code>NoRpcChannelReply</code> messages are not received on
<code>RpcCallback</code>. (kfujino)
</fix>
</changelog>
</subsection>
<subsection name="Web Applications">
<changelog>
<fix>
Add Specification and Javadoc references for JASPIC to the Docs
application. (csutherl)
</fix>
</changelog>
</subsection>
<subsection name="Other">
<changelog>
<fix>
Spelling corrections provided by Josh Soref. (violetagg)
</fix>
<update>
Update the packaged version of the Tomcat Native Library to 1.2.12 to
pick up the latest Windows binaries built with OpenSSL 1.0.2k. (violetagg)
</update>
<add>
<bug>60784</bug>: Update all unit tests that test the HTTP status line
to check for the required space after the status code. Patch provided by
Michael Osipov. (markt)
</add>
<update>
Update the NSIS Installer used to build the Windows installer to version
3.01. (markt)
</update>
</changelog>
</subsection>
</section>
<section name="Tomcat 8.5.11 (markt)" rtext="2017-01-16">
<subsection name="Catalina">
<changelog>
<add>
<bug>60620</bug>:
Extend the <code>JreMemoryLeakPreventionListener</code> to provide
protection against <code>ForkJoinPool.commonPool()</code> related memory
leaks. (markt)
</add>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<fix>
Ensure UpgradeProcessor instances associated with closed connections are
removed from the map of current connections to Processors. (markt)
</fix>
<fix>
Remove a workaround for a problem previously reported with WebSocket,
TLS and APR that treated some error conditions as not errors. The
original problem cannot be reproduced with the current code and the
work-around is now causing problems. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Jasper">
<changelog>
<fix>
<bug>60497</bug>: Follow up fix using a better variable name for the
tag reuse flag. (remm)
</fix>
<fix>
Revert use of try/finally for simple tags. (remm)
</fix>
</changelog>
</subsection>
<subsection name="WebSocket">
<changelog>
<fix>
Prevent potential processing loop on unexpected WebSocket connection
closure. (markt)
</fix>
</changelog>
</subsection>
<subsection name="jdbc-pool">
<changelog>
<add>
Enable reset the statistics without restarting the pool. (kfujino)
</add>
</changelog>
</subsection>
<subsection name="Other">
<changelog>
<fix>
Spelling corrections provided by Josh Soref. (violetagg)
</fix>
</changelog>
</subsection>
</section>
<section name="Tomcat 8.5.10 (markt)" rtext="not released">
<subsection name="Catalina">
<changelog>
<add>
<bug>53602</bug>: Add HTTP status code 451 (RFC 7725) to the list of
HTTP status codes recognised by the ErrorReportValve. (markt)
</add>
<fix>
<bug>60446</bug>: Handle the case where the stored user credential uses
a different key length than the length currently configured for the
<code>CredentialHandler</code>. Based on a patch by Niklas Holm. (markt)
</fix>
<update>
Update the warnings that reference required options for running on Java
9 to use the latest syntax for those options. (markt)
</update>
<fix>
<bug>60513</bug>: Fix thread safety issue with RMI cleanup code. (remm)
</fix>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<fix>
Expand the search process for a server certificate when OpenSSL is used
with a JSSE connector and an explicit alias has not been configured.
(markt)
</fix>
<fix>
<bug>60450</bug>: Improve the selection algorithm for the default trust
store type for a TLS Virtual Host. In particular, don't use
<code>PKCS12</code> as a default trust store type. Better document how
the default trust store type is selected for a TLS virtual host. (markt)
</fix>
<fix>
<bug>60451</bug>: Correctly handle HTTP/2 header values that contain
characters with unicode code points in the range 128 to 255. Reject
with a clear error message HTTP/2 header values that contain characters
with unicode code points above 255. (markt)
</fix>
<fix>
Improve the logic that selects an address to use to unlock the Acceptor
to take account of platforms what do not listen on all local addresses
when configured with an address of <code>0.0.0.0</code> or
<code>::</code>. (markt)
</fix>
<fix>
Correct a regression in the refactoring to make wider use of
<code>ByteBuffer</code> that caused an intermittent failure in the unit
tests. (markt)
</fix>
<fix>
<bug>60482</bug>: HTTP/2 shouldn't do URL decoding on the query string.
(remm)
</fix>
<fix>
Fix an HTTP/2 compression error. Once a new size has been agreed for the
dynamic HPACK table, the next header block must begin with a dynamic
table update. (markt)
</fix>
<fix>
<bug>60508</bug>: Set request start time for HTTP/2. (remm)
</fix>
</changelog>
</subsection>
<subsection name="Jasper">
<changelog>
<update>
Implement a simpler JSP file encoding detector that delegates XML prolog
encoding detection to the JRE rather than using a custom XML parser.
(markt)
</update>
<fix>
<bug>60497</bug>: Restore previous tag reuse behavior following the use
of try/finally. (remm)
</fix>
<fix>
Improve the error handling for simple tags to ensure that the tag is
released and destroyed once used. (remm)
</fix>
</changelog>
</subsection>
<subsection name="WebSocket">
<changelog>
<fix>
Correctly handle blocking WebSocket writes when the write times out just
before the write is attempted. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Web Applications">
<changelog>
<add>
In the documentation web application, be explicit that clustering
requires a secure network for all of the cluster network traffic.
(markt)
</add>
<update>
Update the ASF logos to the new versions.
</update>
<fix>
<bug>60344</bug>: Add a note to BUILDING.txt regarding using the source
bundle with the correct line endings. (markt)
</fix>
<fix>
<bug>60468</bug>: Correct the format of the sample ISO-8601 date used
to report the build date for the documentation. Patch provided by
Michael Osipov. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Other">
<changelog>
<update>
Update the ASF logos used in the Apache Tomcat installer for Windows to
use the new versions.
</update>
</changelog>
</subsection>
</section>
<section name="Tomcat 8.5.9 (markt)" rtext="2016-12-08">
<subsection name="Catalina">
<changelog>
<update>
<bug>60202</bug>: Add an available flag to realms, to indicate the
state, or the realm backend. Update lockout realm to only register
auth failures if the realm is available. (remm)
</update>
<fix>
<bug>60340</bug>: Readability improvements for CSS used in
DefaultServlet and ErrorReportValve. Patch provided by Michael
Osipov. (violetagg)
</fix>
<fix>
<bug>60351</bug>: Delay creating <code>META-INF/war-tracker</code> file
until after the WAR has been expanded to address the case where the
Tomcat process terminates during the expansion. (markt)
</fix>
<fix>
Correctly generate URLs for resources located inside JARs that are
themselves located inside a packed WAR file. (markt)
</fix>
<fix>
Correctly handle the <code>configClass</code> attribute of a Host when
embedding Tomcat. (markt)
</fix>
<fix>
<bug>60368</bug>: Restore egde case for embedded allowing the connector
to be removed. (remm)
</fix>
<fix>
<bug>60379</bug>: Dispose of the GSS credential once it is no longer
required. Patch provided by Michael Osipov. (markt)
</fix>
<fix>
<bug>60380</bug>: Ensure that a call to
<code>HttpServletRequest#logout()</code> triggers a call to
<code>TomcatPrincipal#logout()</code>. Based on a patch by Michael
Osipov. (markt)
</fix>
<fix>
<bug>60387</bug>: Correct the javadoc for
<code>o.a.catalina.AccessLog.setRequestAttributesEnabled</code>.
The default value is different for the different implementations.
(violetagg)
</fix>
<scode>
<bug>60393</bug>: Use consistent parameter naming in implementations of
<code>Realm#authenticate(GSSContext, boolean)</code>. (markt)
</scode>
<fix>
<bug>60395</bug>: Log when an <code>Authenticator</code> passes an
incomplete <code>GSSContext</code> to a Realm since it indicates a bug
in the <code>Authenticator</code>. Patch provided by Michael Osipov.
(markt)
</fix>
<fix>
<bug>60400</bug>: When expanding the buffer used for reading the
request body, ensure the read position will be restored to the
original one. (violetagg)
</fix>
<fix>
<bug>60410</bug>: Ensure that multiple calls to
<code>JarInputStreamWrapper#close()</code> do not incorrectly trigger
the closure of the underlying JAR or WAR file. (markt)
</fix>
<fix>
<bug>60411</bug>: Implement support in the <code>RewriteValve</code> for
symbolic names to specify the redirect code to use when returning a
redirect response to the user agent. Patch provided by Michael Osipov.
(markt)
</fix>
<fix>
<bug>60413</bug>: In the <code>RewriteValve</code> write empty capture
groups as the empty string rather than as <code>"null"</code>
when generating the re-written URL. Based on a patch by Michael Osipov.
(markt)
</fix>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<fix>
<bug>60372</bug>: Ensure the response headers' buffer limit is reset to
the capacity of this buffer when IOException occurs while writing the
headers to the socket. (violetagg)
</fix>
<fix>
Ensure that the availability of configured upgrade protocols that
require ALPN is correctly reported during Tomcat start. (markt)
</fix>
<fix>
<bug>60386</bug>: Implement a more sophisticated pruning algorithm for
removing closed streams from the priority tree to ensure that the tree
does not grow too large. (markt)
</fix>
<fix>
<bug>60409</bug>: When unable to complete sendfile request, ensure the
Processor will be added to the cache only once. (markt/violetagg)
</fix>
<fix>
Ensure that the endpoint is able to unlock the acceptor thread during
shutdown if the endpoint is configured to listen to any local address
of a specific type such as <code>0.0.0.0</code> or <code>::</code>.
(markt)
</fix>
<add>
Add a new configuration option, <code>ipv6v6only</code> to the APR
connectors that allows them to be configure to only accept IPv6
connections when configured with an IPv6 address rather than the
default which is to accept IPv4 connections as well if the operating
system uses a dual network stack. (markt)
</add>
<fix>
Improve the logic that unlocks the acceptor thread so a better choice is
made for the address to connect to when a connector is configured for
any local port. This reduces the likelihood of the unlock failing.
(markt)
</fix>
<fix>
<bug>60436</bug>: Avoid a potential NPE when processing async timeouts.
(markt)
</fix>
<fix>
Reduce the window in which an async request that has just started
processing on a container thread remains eligible for an async timeout.
(markt)
</fix>
</changelog>
</subsection>
<subsection name="Jasper">
<changelog>
<fix>
<bug>60431</bug>: Improve handling of varargs in UEL expressions. Based
on a patch by Ben Wolfe. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Web applications">
<changelog>
<fix>
Correct a typo in Host Configuration Reference.
Issue reported via comments.apache.org. (violetagg)
</fix>
<fix>
<bug>60412</bug>: Add information on the comment syntax for the
<code>RewriteValve</code> configuration. (markt)
</fix>
<fix>
<bug>60467</bug>: remove problematic characters from XML documentation.
Based upon a patch by Michael Osipov. (schultz)
</fix>
</changelog>
</subsection>
<subsection name="Tribes">
<changelog>
<fix>
Reduce the warning logs for a message received from a different domain
in order to avoid excessive log outputs. (kfujino)
</fix>
</changelog>
</subsection>
<subsection name="WebSocket">
<changelog>
<fix>
<bug>60437</bug>: Avoid possible handshake overflows in the websocket
client. (remm)
</fix>
</changelog>
</subsection>
<subsection name="jdbc-pool">
<changelog>
<add>
<bug>58816</bug>: Implement the statistics of jdbc-pool. The stats infos
are <code>borrowedCount</code>, <code>returnedCount</code>,
<code>createdCount</code>, <code>releasedCount</code>,
<code>reconnectedCount</code>, <code>releasedIdleCount</code> and
<code>removeAbandonedCount</code>. (kfujino)
</add>
<fix>
<bug>60194</bug>: If <code>validationQuery</code> is not specified,
connection validation is done by calling the <code>isValid()</code>
method. (kfujino)
</fix>
<fix>
<bug>60398</bug>: Fix testcase of <code>TestSlowQueryReport</code>.
(kfujino)
</fix>
</changelog>
</subsection>
<subsection name="Other">
<changelog>
<fix>
Allow customization of service.bat, such as heap memory size, service
startup mode and JVM args. Patch provided by isapir via Github.
(violetagg)
</fix>
<fix>
<bug>60366</bug>: Change <code>catalina.bat</code> to use directly
<code>LOGGING_MANAGER</code> and <code>LOGGING_CONFIG</code> variables
in order to configure logging, instead of modifying
<code>JAVA_OPTS</code>. Patch provided by Petter Isberg. (violetagg)
</fix>
<fix>
<bug>60383</bug>: JASPIC API is added as a dependency to the
<code>org.apache.tomcat:tomcat-catalina</code> maven artifact.
(violetagg)
</fix>
<fix>
Update the comments associated with the TLS Connector examples in
<code>server.xml</code>. (markt)
</fix>
<add>
New property is added <code>test.verbose</code> in order to control
whether the output of the tests is displayed on the console or not.
Patch provided by Emmanuel Bourg. (violetagg)
</add>
<scode>
<code>TestOpenSSLCipherConfigurationParser.testSpecification</code>
- if there are test failures, provide more detailed information. Patch
provided by Emmanuel Bourg. (violetagg)
</scode>
</changelog>
</subsection>
</section>
<section name="Tomcat 8.5.8 (markt)" rtext="2016-11-08">
<subsection name="Coyote">
<changelog>
<fix>
Check that threadPriority values used in AbstractProtocol are valid.
(fschumacher)
</fix>
</changelog>
</subsection>
</section>
<section name="Tomcat 8.5.7 (markt)" rtext="not released">
<subsection name="Catalina">
<changelog>
<fix>
When creating a new Connector via JMX, ensure that both HTTP/1.1 and
AJP/1.3 connectors can be created. (markt)
</fix>
<fix>
Include the Context name in the log message when an item cannot be
added to the cache. (markt)
</fix>
<fix>
Exclude JAR files in <code>/WEB-INF/lib</code> from the static resource
cache. (markt)
</fix>
<fix>
When calling <code>getResourceAsStream()</code> on a directory, ensure
that <code>null</code> is returned. (markt)
</fix>
<fix>
<bug>60161</bug>: Allow creating subcategories of the container logger,
and use it for the rewrite valve. (remm)
</fix>
<fix>
Correctly test for control characters when reading the provided shutdown
password. (markt)
</fix>
<fix>
<bug>60297</bug>: Simplify connector creation in embedded mode. (remm)
</fix>
<fix>
Refactor creation of containers in embedded mode for more consistency
and flexibility. (remm)
</fix>