-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
changelog.xml
4059 lines (4050 loc) · 157 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 9.0.0.M26 (markt)">
<subsection name="Catalina">
<changelog>
<fix>
Correct multiple regressions in the fix for <bug>49464</bug> that could
corrupt static content served by the <code>DefaultServlet</code>.(markt)
</fix>
<fix>
Correct a bug in the <code>PushBuilder</code> implementation that
meant push URLs containing <code>%nn</code> sequences were not correctly
decoded. Identified by FindBugs. (markt)
</fix>
<add>
<bug>61164</bug>: Add support for the <code>%X</code> pattern in the
<code>AccessLogValve</code> that reports the connection status at the
end of the request. Patch provided by Zemian Deng. (markt)
</add>
<fix>
<bug>61351</bug>: Correctly handle %nn decoding of URL patterns in
web.xml and similar locations that may legitimately contain characters
that are not permitted by RFC 3986. (markt)
</fix>
<add>
<bug>61366</bug>: Add a new attribute, <code>localDataSource</code>, to
the <code>JDBCStore</code> that allows the Store to be configured to use
a DataSource defined by the web application rather than the default of
using a globally defined DataSource. Patch provided by Jonathan
Horowitz. (markt)
</add>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<fix>
<bug>61086</bug>: Ensure to explicitly signal an empty request body for
HTTP 205 responses. Additional fix to r1795278. Based on a patch
provided by Alexandr Saperov. (violetagg)
</fix>
<update>
<bug>61345</bug>: Add a server listener that can be used to do system
property replacement from the property source configured in the
digester. (remm)
</update>
<add>
Add additional logging to record problems that occur while waiting for
the NIO pollers to stop during the Connector stop process. (markt)
</add>
</changelog>
</subsection>
<subsection name="Jasper">
<changelog>
<fix>
<bug>61364</bug>: Ensure that files are closed after detecting encoding
of JSPs so that files do not remain locked by the file system. (markt)
</fix>
</changelog>
</subsection>
<subsection name="WebSocket">
<changelog>
<add>
<bug>57767</bug>: Add support to the WebSocket client for following
redirects when attempting to establish a WebSocket connection. Patch
provided by J Fernandez. (markt)
</add>
</changelog>
</subsection>
</section>
<section name="Tomcat 9.0.0.M25 (markt)" rtext="2017-07-28">
<subsection name="Catalina">
<changelog>
<fix>
Performance improvements for service loader look-ups (and look-ups of
other class loader resources) when the web application is deployed in a
packed WAR file. (markt)
</fix>
<fix>
<bug>60963</bug>: Add <code>ExtractingRoot</code>, a new
<code>WebResourceRoot</code> implementation that extracts JARs to the
work directory for improved performance when deploying packed WAR files.
(markt)
</fix>
<fix>
<bug>61253</bug>: Add warn message when Digester.updateAttributes
throws an exception instead of ignoring it. (csutherl)
</fix>
<fix>
Correct a further regression in the fix for <bug>49464</bug> that could
cause an byte order mark character to appear at the start of content
included by the <code>DefaultServlet</code>. (markt)
</fix>
<fix>
<bug>61313</bug>: Make the read timeout configurable in the
<code>JNDIRealm</code> and ensure that a read timeout will result in an
attempt to fail over to the alternateURL. Based on patches by Peter
Maloney and Felix Schumacher. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Web applications">
<changelog>
<fix>
Correct the documentation for how <code>StandardRoot</code> is
configured. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Other">
<changelog>
<fix>
<bug>61316</bug>: Fix corruption of UTF-16 encoded source files in
released source distributions. (markt)
</fix>
</changelog>
</subsection>
</section>
<section name="Tomcat 9.0.0.M24 (markt)" rtext="not released">
<subsection name="Catalina">
<changelog>
<add>
<bug>52924</bug>: Add support for a Tomcat specific deployment
descriptor, <code>/WEB-INF/tomcat-web.xml</code>. This descriptor has an
identical format to <code>/WEB-INF/web.xml</code>. The Tomcat descriptor
takes precedence over any settings in <code>conf/web.xml</code> but does
not take precedence over any settings in <code>/WEB-INF/web.xml</code>.
(markt)
</add>
<fix>
<bug>61232</bug>: When log rotation is disabled only one separator will
be used when generating the log file name. For example if the prefix is
<code>catalina.</code> and the suffix is <code>.log</code> then the log
file name will be <code>catalina.log</code> instead of
<code>catalina..log</code>. Patch provided by Katya Stoycheva.
(violetagg)
</fix>
<fix>
<bug>61264</bug>: Correct a regression in the refactoring to use
<code>Charset</code> rather than <code>String</code> to store request
character encoding that prevented <code>getReader()</code> throwing an
<code>UnsupportedEncodingException</code> if the user agent specifies
an unsupported character encoding. (markt)
</fix>
<fix>
Correct a regression in the fix for <bug>49464</bug> that could cause an
incorrect <code>Content-Length</code> header to be sent by the
<code>DefaultServlet</code> if the encoding of a static is not
consistent with the encoding of the response. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<fix>
Enable TLS connectors to use Java key stores that contain multiple keys
where each key has a separate password. Based on a patch by Frank
Taffelt. (markt)
</fix>
<fix>
Improve the handling of HTTP/2 stream resets due to excessive headers
when a continuation frame is used. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Jasper">
<changelog>
<add>
<bug>53031</bug>: Add support for the <code>fork</code> option when
compiling JSPs with the Jasper Ant task and javac. (markt)
</add>
</changelog>
</subsection>
<subsection name="Other">
<changelog>
<add>
<bug>52791</bug>: Add the ability to set the defaults used by the
Windows installer from a configuration file. Patch provided by Sandra
Madden. (markt)
</add>
</changelog>
</subsection>
</section>
<section name="Tomcat 9.0.0.M23 (markt)" rtext="not released">
<subsection name="Catalina">
<changelog>
<fix>
<bug>49464</bug>: Improve the Default Servlet's handling of static files
when the file encoding is not compatible with the required response
encoding. (markt)
</fix>
<fix>
<bug>61214</bug>: Remove deleted attribute <code>servlets</code> from
the Context MBean description. Patch provided by Alexis Hassler. (markt)
</fix>
<fix>
<bug>61215</bug>: Correctly define <code>addConnectorPort</code> and
<code>invalidAuthenticationWhenDeny</code> in the
<code>mbean-descriptors.xml</code> file for the
<code>org.apache.catalina.valves</code> package so that the attributes
are accessible via JMX. (markt)
</fix>
<fix>
<bug>61216</bug>: Improve layout for <code>CompositeData</code> and
<code>TabularData</code> when viewing via the JMX proxy servlet. Patch
provided by Alexis Hassler. (markt)
</fix>
<fix>
Additional permission for deleting files is granted to JULI as it is
required by FileHandler when running under a Security Manager. The
thread that cleans the log files is marked as daemon thread.
(violetagg)
</fix>
<fix>
<bug>61229</bug>: Correct a regression in 9.0.0.M21 that broke WebDAV
handling for resources with names that included a <code>&</code>
character. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<fix>
Restore the ability to configure support for SSLv3. Enabling this
protocol will trigger a warning in the logs since it is known to be
insecure. (markt)
</fix>
<add>
Add LoadBalancerDrainingValve, a Valve designed to reduce the amount of
time required for a node to drain its authenticated users. (schultz)
</add>
<fix>
Do not log a warning when a <code>null</code> session is returned for an
OpenSSL based TLS session since this is expected when session tickets
are enabled. (markt)
</fix>
<fix>
When the access log valve logs a TLS related request attribute and the
NIO2 connector is used with OpenSSL, ensure that the TLS attributes are
available to the access log valve when the connection is closing.
(markt)
</fix>
<fix>
<bug>60461</bug>: Sync SSL session access for the APR connector. (remm)
</fix>
<fix>
<bug>61224</bug>: Make the <code>GlobalRequestProcessor</code> MBean
attributes read-only. Patch provided by Alexis Hassler. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Jasper">
<changelog>
<fix>
<bug>49176</bug>: When generating JSP runtime error messages that quote
the relevant JSP source code, switch from using the results of the JSP
page parsing process to using the JSR 045 source map data to identify
the correct part of the JSP source from the stack trace. This
significantly reduces the memory footprint of Jasper in development
mode, provides a small performance improvement for error page generation
and enables source quotes to continue to be provided after a Tomcat
restart. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Web applications">
<changelog>
<fix>
Remove references to the Loader attribute
<code>searchExternalFirst</code> from the documentation since the
attribute is no longer supported. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Tribes">
<changelog>
<add>
<bug>51513</bug>: Add support for the <code>compressionMinSize</code>
attribute to the <code>GzipInterceptor</code>, add optional statistics
collection and expose the Interceptor over JMX. Based on a patch by
Christian Stöber. (markt)
</add>
<add>
<bug>61127</bug>Allow human-readable names for channelSendOptions and
mapSendOptions. Patch provided by Igal Sapir. (schultz)
</add>
</changelog>
</subsection>
<subsection name="Other">
<changelog>
<scode>
Restore the local definition of the web service annotations since the
JRE provided versions are deprecated and Java 9 does not provide them by
default. (markt)
</scode>
<fix>
Add necessary Java 9 configuration options to the startup scripts to
prevent warnings being generated on web application stop. (markt)
</fix>
</changelog>
</subsection>
</section>
<section name="Tomcat 9.0.0.M22 (markt)" rtext="2017-06-26">
<subsection name="Catalina">
<changelog>
<fix>
<bug>48543</bug>: Add the option to specify an alternative file name for
the <code>catalina.config</code> system property. Also document that
relative, as well as absolute, URLs are permitted. (markt)
</fix>
<fix>
<bug>61072</bug>: Respect the documentation statements that allow
using the platform default secure random for session id generation.
(remm)
</fix>
<fix>
Correct the javadoc for
<code>o.a.c.connector.CoyoteAdapter#parseSessionCookiesId</code>.
Patch provided by John Andrew (XUZHOUWANG) via Github. (violetagg)
</fix>
<fix>
<bug>61101</bug>: CORS filter should set Vary header in response.
Submitted by Rick Riemer. (remm)
</fix>
<add>
<bug>61105</bug>: Add a new JULI FileHandler configuration for
specifying the maximum number of days to keep the log files. By default
the log files will be kept 90 days as configured in
<code>logging.properties</code>. (violetagg)
</add>
<update>
Update the Servlet 4.0 implementation to add support for setting
trailer fields for HTTP responses. (markt)
</update>
<fix>
<bug>61125</bug>: Ensure that <code>WarURLConnection</code> returns the
correct value for calls to <code>getLastModified()</code> as this is
required for the correct detection of JSP modifications when the JSP is
packaged in a WAR file. (markt)
</fix>
<fix>
Improve the <code>SSLValve</code> so it is able to handle client
certificate headers from Nginx. Based on a patch by Lucas Ventura Carro.
(markt)
</fix>
<fix>
<bug>61134</bug>: Do not use '[' and ']' symbols around substituted
text fragments when generating the default error pages. Patch provided
by Katya Todorova. (violetagg)
</fix>
<fix>
<bug>61154</bug>: Allow the Manager and Host Manager web applications to
start by default when running under a security manager. This was
accomplished by adding a custom permission,
<code>org.apache.catalina.security.DeployXmlPermission</code>, that
permits an application to use a <code>META-INF/context.xml</code> file
and then granting that permission to the Manager and Host Manager.
(markt)
</fix>
<fix>
<bug>61173</bug>: Polish the javadoc for
<code>o.a.catalina.startup.Tomcat</code>. Patch provided by
peterhansson_se. (violetagg)
</fix>
<add>
A new configuration property <code>crawlerIps</code> is added to the
<code>o.a.catalina.valves.CrawlerSessionManagerValve</code>. Using this
property one can specify a regular expression that will be used to
identify crawlers based on their IP address. Based on a patch provided
by Tetradeus. (violetagg)
</add>
<fix>
<bug>61180</bug>: Log a warning message rather than an information
message if it takes more than 100ms to initialised a
<code>SecureRandom</code> instance for a web application to use to
generate session identifiers. Patch provided by Piotr Chlebda. (markt)
</fix>
<fix>
<bug>61185</bug>: When an asynchronous request is dispatched via
<code>AsyncContext.dispatch()</code> ensure that
<code>getRequestURI()</code> for the dispatched request matches that of
the original request. (markt)
</fix>
<fix>
<bug>61197</bug>: Ensure that the charset name used in the
<code>Content-Type</code> header has exactly the same form as that
provided by the application. This reverts a behavioural change in
9.0.0.M21 that caused problems for some clients. (markt)
</fix>
<fix>
<bug>61201</bug>: Ensure that the <code>SCRIPT_NAME</code> environment
variable for CGI executables is populated in a consistent way regardless
of how the CGI servlet is mapped to a request. (markt)
</fix>
<fix>
Ensure to send a space between trailer field name and field value
for HTTP responses trailer fields. (huxing)
</fix>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<fix>
<bug>61086</bug>: Explicitly signal an empty request body for HTTP 205
responses. (markt)
</fix>
<fix>
<bug>61120</bug>: Do not ignore path parameters when processing HTTP/2
requests. (markt)
</fix>
<fix>
Revert a change introduced in the fix for bug <bug>60718</bug> that
changed the status code recorded in the access log when the client
dropped the connection from 200 to 500. (markt)
</fix>
<fix>
Make asynchronous error handling more robust. In particular ensure that
<code>onError()</code> is called for any registered
<code>AsyncListener</code>s after an I/O error on a non-container
thread. (markt)
</fix>
<fix>
Add additional syncs to the SSL session object provided by the OpenSSL
engine so that a concurrent destruction cannot cause a JVM crash.
(remm)
</fix>
</changelog>
</subsection>
<subsection name="Jasper">
<changelog>
<fix>
<bug>44787</bug>: Improve error message when JSP compiler configuration
options are not valid. (markt)
</fix>
<add>
<bug>45931</bug>: Extend Jasper's <code>timeSpaces</code> option to add
support for <code>single</code> which replaces template text that
consists entirely of whitespace with a single space character. Based on
a patch by Meetesh Karia. (markt)
</add>
<fix>
<bug>53011</bug>: When pre-compiling with JspC, report all compilation
errors rather than stopping after the first error. A new option
<code>-failFast</code> can be used to restore the previous behaviour of
stopping after the first error. Based on a patch provided by Marc Pompl.
(markt)
</fix>
<fix>
<bug>61137</bug>: <code>j.s.jsp.tagext.TagLibraryInfo#uri</code> and
<code>j.s.jsp.tagext.TagLibraryInfo#prefix</code> fields should not be
final. Patch provided by Katya Todorova. (violetagg)
</fix>
</changelog>
</subsection>
<subsection name="WebSocket">
<changelog>
<fix>
Correct the log message when a <code>MessageHandler</code> for
<code>PongMessage</code> does not implement
<code>MessageHandler.Whole</code>. (rjung)
</fix>
<fix>
Improve thread-safety of <code>Future</code>s used to report the result
of sending WebSocket messages. (markt)
</fix>
<fix>
<bug>61183</bug>: Correct a regression in the previous fix for
<bug>58624</bug> that could trigger a deadlock depending on the locking
strategy employed by the client code. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Web applications">
<changelog>
<fix>
Better document the meaning of the trimSpaces option for Jasper. (markt)
</fix>
<fix>
<bug>61150</bug>: Configure the Manager and Host-Manager web
applications to permit serialization and deserialization of
CRSFPreventionFilter related session objects to avoid warning messages
and/or stack traces on web application stop and/or start when running
under a security manager. (markt)
</fix>
<fix>
Correct the TLS configuration documentation to remove SSLv2 and SSLv3
from the list of supported protocols. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Other">
<changelog>
<add>
<bug>45832</bug>: Add HTTP DIGEST authentication support to the Catalina
Ant tasks used to communicate with the Manager application. (markt)
</add>
<fix>
<bug>45879</bug>: Add the <code>RELEASE-NOTES</code> file to the root of
the installation created by the Tomcat installer for Windows to make it
easier for users to identify the installed Tomcat version. (markt)
</fix>
<fix>
<bug>61055</bug>: Clarify the code comments in the rewrite valve to make
clear that there are no plans to provide proxy support for this valve
since Tomcat does not have proxy capabilities. (markt)
</fix>
<fix>
<bug>61076</bug>: Document the <code>altDDName</code> attribute for the
<code>Context</code> element. (markt)
</fix>
<fix>
Correct typo in Jar Scan Filter Configuration Reference.
Issue reported via comments.apache.org. (violetagg)
</fix>
<fix>
Correct the requirement for the minimum Java SE version in Application
Developer's Guide. Issue reported via comments.apache.org. (violetagg)
</fix>
<fix>
<bug>61145</bug>: Add missing <code>@Documented</code> annotation to
annotations in the annotations API. Patch provided by Katya Todorova.
(markt)
</fix>
<fix>
<bug>61146</bug>: Add missing <code>lookup()</code> method to
<code>@EJB</code> annotation in the annotations API. Patch provided by
Katya Todorova. (markt)
</fix>
<fix>
Correct typo in Context Container Configuration Reference.
Patch provided by Katya Todorova. (violetagg)
</fix>
</changelog>
</subsection>
</section>
<section name="Tomcat 9.0.0.M21 (markt)" rtext="2017-05-10">
<subsection name="General">
<changelog>
<add>
Allow to exclude JUnit test classes using the build property
<code>test.exclude</code> and document the property in
BUILDING.txt. (rjung)
</add>
</changelog>
</subsection>
<subsection name="Catalina">
<changelog>
<fix>
Review those places where Tomcat re-encodes a URI or URI component and
ensure that that correct encoding (path differs from query string) is
applied and that the encoding is applied consistently. (markt)
</fix>
<fix>
Avoid a <code>NullPointerException</code> when reading attributes for a
initialised HTTP connector where TLS is enabled. (markt)
</fix>
<fix>
Always quote the <code>hostName</code> of an <code>SSLHostConfig</code>
element when using it as part of the JMX object name to avoid errors that
prevent the associated TLS connector from starting if a wild card
<code>hostName</code> is configured (because <code>*</code> is a
reserved character for JMX object names). (markt)
</fix>
<update>
Update the default <code>URIEncoding</code> for a <code>Connector</code>
to <code>UTF-8</code> as required by the Servlet 4.0 specification.
(markt)
</update>
<scode>
Switch to using <code>Charset</code> rather than <code>String</code> to
store encoding settings (including for configuration and for the
<code>Content-Type header</code>) to reduce the number of places the
associated <code>Charset</code> needs to be looked up. (markt)
</scode>
<fix>
Use a more reliable mechanism for the <code>DefaultServlet</code> when
determining if the current request is for custom error page or not.
(markt)
</fix>
<fix>
Ensure that when the Default or WebDAV servlets process an error
dispatch that the error resource is processed via the
<code>doGet()</code> method irrespective of the method used for the
original request that triggered the error. (markt)
</fix>
<fix>
If a static custom error page is specified that does not exist or cannot
be read, ensure that the intended error status is returned rather than a
404 or 403. (markt)
</fix>
<fix>
When the WebDAV servlet is configured and an error dispatch is made to a
custom error page located below <code>WEB-INF</code>, ensure that the
target error page is displayed rather than a 404 response. (markt)
</fix>
<update>
Update the Servlet 4.0 implementation to add support for obtaining
trailer fields from chunked HTTP requests. (markt)
</update>
<add>
<bug>61047</bug>: Add MIME mapping for woff2 fonts in the default
web.xml. Patch provided by Justin Williamson. (violetagg)
</add>
<fix>
Correct the logic that selects the encoding to use to decode the query
string in the <code>SSIServletExternalResolver</code> so that the
<code>useBodyEncodingForURI</code> attribute of the
<code>Connector</code> is correctly taken into account. (markt)
</fix>
<fix>
Within the Expires filter, make the content type value specified with the
<code>ExpiresByType</code> parameter, case insensitive. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Coyote">
<changelog>
<fix>
When a <code>TrustManager</code> is configured that does not support
<code>certificateVerificationDepth</code> only log a warning about that
lack of support when <code>certificateVerificationDepth</code> has been
explicitly set. (markt)
</fix>
<fix>
<bug>60970</bug>: Extend the fix for large headers to push requests.
(markt)
</fix>
<fix>
Do not include a <code>Date</code> header in HTTP/2 responses with
status codes less than 200. (markt)
</fix>
<fix>
When sending an HTTP/2 push promise with the NIO2 connector, the pushed
stream ID should only be included with the initial push promise frame
and not any subsequent continuation frames. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Jasper">
<changelog>
<fix>
When no BOM is present and an encoding is detected, do not skip the
bytes used to detect the encoding since they are not part of a BOM.
(markt)
</fix>
<update>
<bug>61057</bug>: Update to Eclipse JDT Compiler 4.6.3. (violetagg)
</update>
<fix>
<bug>61065</bug>: Ensure that once the class is resolved by
<code>javax.el.ImportHandler#resolveClass</code> it will be cached with
the proper name. (violetagg)
</fix>
</changelog>
</subsection>
<subsection name="WebSocket">
<changelog>
<add>
Introduce new API <code>o.a.tomcat.websocket.WsSession#suspend</code>/
<code>o.a.tomcat.websocket.WsSession#resume</code> that can be used to
suspend/resume reading of the incoming messages. (violetagg)
</add>
<fix>
<bug>61003</bug>: Ensure the flags for reading/writing in
<code>o.a.t.websocket.AsyncChannelWrapperSecure</code> are correctly
reset even if some exceptions occurred during processing. (markt/violetagg)
</fix>
</changelog>
</subsection>
<subsection name="Web Applications">
<changelog>
<add>
Add documents for <code>maxIdleTime</code> attribute to Channel Receiver
docs. (kfujino)
</add>
</changelog>
</subsection>
<subsection name="Tribes">
<changelog>
<add>
Add features to get the statistics of the thread pool of the
<code>Receiver</code> component and
<code>MessageDispatchInterceptor</code>. These statistics information
can be acquired via JMX. (kfujino)
</add>
<add>
Add <code>maxIdleTime</code> attribute to <code>NioReceiverMBean</code>
in order to expose to JMX. (kfujino)
</add>
<add>
Add JMX support for <code>Channel Interceptors</code>. The Interceptors
that implement JMX support are <code>TcpFailureDetector</code>,
<code>ThroughputInterceptor</code>, <code>TcpPingInterceptor</code>,
<code>StaticMembershipInterceptor</code>,
<code>MessageDispatchInterceptor</code> and
<code>DomainFilterInterceptor</code>. (kfujino)
</add>
</changelog>
</subsection>
<subsection name="Other">
<changelog>
<add>
Modify the Ant build script used to publish to a Maven repository so
that it no longer requires artifacts to be GPG signed. This is make it
possible for the CI system to upload snapshot builds to the ASF Maven
repository. (markt)
</add>
</changelog>
</subsection>
</section>
<section name="Tomcat 9.0.0.M20 (markt)" rtext="2017-04-18">
<subsection name="Catalina">
<changelog>
<update>
Update the Servlet 4.0 API implementation to reflect the change in
method name from <code>getPushBuilder()</code> to
<code>newPushBuilder()</code>. (markt)
</update>
<fix>
Correct various edge cases in the new HTTP Host header validation
parser. Patch provided by Katya Todorova. (martk)
</fix>
<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>47214</bug>: Refactor code so that explicitly referenced inner
classes are given explicit names rather than being anonymous. (markt)
</fix>
<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>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>47214</bug>: Refactor code so that explicitly referenced inner
classes are given explicit names rather than being anonymous. (markt)
</fix>
<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="Tribes">
<changelog>
<add>
Add JMX support for Tribes components. (kfujino)
</add>
</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>
<bug>60932</bug>: Correctly escape single quotes when used in i18n
messages. Based on a patch by Michael Osipov. (markt)
</fix>
<scode>
Review i18n property files, remove unnecessary escaping and consistently
use <code>[...]</code> to delimit inserted values. (markt)
</scode>
<fix>
Update the custom Ant task that integrates with the Symantec code
signing service to use the now mandatory 2-factor authentication.
(markt)
</fix>
<scode>
Refactoring in preparation for Java 9. Refactor to avoid using some
methods that will be deprecated in Java 9 onwards. (markt)
</scode>
</changelog>
</subsection>
</section>
<section name="Tomcat 9.0.0.M19 (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>
Correct a bug in the implementation of the Servlet 4.0 feature that
allows specifying a default request and/or response character encoding
per web application. <code>null</code> values passed via the
programmatic interface no longer trigger a
<code>NullPointerException</code>. (markt)
</fix>
<fix>
Correct a potential exception during shutdown when one or more
Containers are configured with a value of 1 for startStopThreads.
(markt)
</fix>
<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
9.0.0.M18 for the Servlet 4.0 API changes. (markt)
</fix>
<update>
Align <code>PushBuilder</code> API with changes from the Servlet expert
group. (markt)
</update>
<update>
Align web.xml parsing rules with changes from the Servlet expert group
for <code><request-character-encoding></code> and
<code><response-character-encoding></code>. (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>
<fix>
Add async based IO groundwork for HTTP/2. (remm)
</fix>
<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>60851</bug>: Add <code>application/xml</code> and
<code>application/json</code> to the default list of compressible MIME
types. Patch by Michael Osipov. (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>
<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