-
Notifications
You must be signed in to change notification settings - Fork 975
/
Copy pathRELEASE_NOTES.txt
2613 lines (1782 loc) · 105 KB
/
RELEASE_NOTES.txt
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
Release 4.5.14
-------------------
This is a maintenance release that fixes several minor bugs reported discovered since
the 4.5.13 release.
Changelog:
-------------------
* HTTPCLIENT-2206: Corrected resource de-allocation by fluent response objects.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCLIENT-2174: URIBuilder to return a new empty list instead of unmodifiable
Collections#emptyList.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* Don't retry requests in case of NoRouteToHostException.
Contributed by Jaikiran Pai <jaikiran.pai at gmail.com>
* HTTPCLIENT-2144: RequestBuilder fails to correctly copy charset of requests with
form url-encoded body.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* PR #269: 4.5.x use array fill and more.
- Use Arrays.fill().
- Remove redundant modifiers.
- Use Collections.addAll() and Collection.addAll() APIs instead of loops.
- Remove redundant returns.
- No need to explicitly declare an array when calling a vararg method.
- Remote extra semicolons (;).
- Use a 'L' instead of 'l' to make long literals more readable.
Contributed by Gary Gregory <ggregory at apache.org>
* PublicSuffixListParser.parseByType(Reader) allocates but does not use a 256 char
StringBuilder.
Contributed by Gary Gregory <ggregory at apache.org>
Release 4.5.13
-------------------
This is a maintenance release that fixes incorrect handling of malformed authority component
in request URIs.
Changelog:
-------------------
* Incorrect handling of malformed authority component by URIUtils#extractHost.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* Avoid updating Content-Length header in a 304 response.
Contributed by Dirk Henselin <dirk.henselin at vwgis.de>
* Bug fix: BasicExpiresHandler is annotated as immutable but is not (#239)
Contributed by Gary Gregory <ggregory at apache.org>
* HTTPCLIENT-2076: Fixed NPE in LaxExpiresHandler (#222).
Contributed by heejeongkim <aprilhjk at gmail.com>
Release 4.5.12
-------------------
This is a maintenance release that fixes a regression introduced by the previous release
that caused rejection of certificates with non-standard domains.
Changelog:
-------------------
* HTTPCLIENT-2053: Add SC_PERMANENT_REDIRECT (308) to DefaultRedirectStrategy
Contributed by Michael Osipov <michaelo at apache.org>
* HTTPCLIENT-2052: Fixed redirection of entity enclosing requests with non-repeatable entities
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCLIENT-2047: Fixed regression in DefaultHostnameVerifier causing rejection of certificates
with non-standard domains.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* Bug fix: Fixed handling of private domains by PublicSuffixMatcher
Contributed by Oleg Kalnichevski <olegk at apache.org>
Release 4.5.11
-------------------
This is a maintenance release that fixes a number defects discovered since 4.5.10
and upgrades HttpCore dependency to version 4.4.13.
Changelog:
-------------------
* Improved domain name normalization by DefaultHostnameVerifier.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCLIENT-2033: Connection managers to immediately shut down all leased connection upon shutdown.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCLIENT-2020: DefaultBackoffStrategy to support TOO_MANY_REQUESTS (429).
Contributed by Michael Osipov <michaelo at apache.org>
* HTTPCLIENT-2030: Fixed PublicSuffixMatcher#getDomainRoot behavior with invalid hostnames.
Contributed by Niels Basjes <niels at basjes.nl>
* HTTPCLIENT-2029: URIBuilder to support parsing of non-UTF8 URIs.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCLIENT-2026: Fixed URIBuilder#isOpaque() logic.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* Updated text in pool stats description
Contributed by chao chang <chang-chao at users.noreply.github.com>
* HTTPCLIENT-2023: Allow nested arrays and all primitive types in DefaultHttpCacheEntrySerializer.
Contributed by Olof Larsson <olof at sylt.nu>
* Fixed fallback PublicSuffixMatcher instance.
Contributed by Ryan Schmitt <rschmitt at apache.org>
* Added family property #145.
Contributed by behrangsa
Release 4.5.10
-------------------
This is a maintenance release that fixes a number defects discovered since 4.5.9
and upgrades HttpCore dependency to version 4.4.12.
Changelog:
-------------------
* Refactor DefaultRedirectStrategy for subclassing.
Contributed by Gary Gregory <ggregory at apache.org>
* Improved handling of request cancellation.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* Fixed concurrent use of threading unsafe HttpUriRequest messages.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCLIENT-1997: Return the last domain segment instead of normalized domain name
from PublicSuffixMatcher#getDomainRoot in case there is no match.
Contributed by jeromedemangel <jeromedemangel at gmail.com>
* Preserve original encoding of the URI path component if the URI is valid.
Contributed by Oleg Kalnichevski <olegk at apache.org>
Release 4.5.9
-------------------
This is a maintenance release that fixes a number defects discovered since 4.5.8.
Changelog:
-------------------
* HTTPCLIENT-1991: incorrect handling of non-standard DNS entries by PublicSuffixMatcher
Contributed by Oleg Kalnichevski <olegk at apache.org>
* Fix bug in URIBuilder#isPathEmpty method to verify if encodedPath is an empty string
Contributed by Varun Nandi <varunkn at amazon.com>
* HTTPCLIENT-1984: Add normalize URI to RequestConfig copy constructor
Contributed by Matt Nelson <matt.nelson at cerner.com>
* HTTPCLIENT-1976: Unsafe deserialization in DefaultHttpCacheEntrySerializer
Contributed by Artem Smotrakov <artem.smotrakov ar gmail.com>
Release 4.5.8
-------------------
This is a maintenance release that makes request URI normalization configurable on per request basis
and also ports several improvements in URI handling from HttpCore master.
Changelog:
-------------------
* HTTPCLIENT-1969: Filter out weak cipher suites.
Contributed by Artem Smotrakov <artem.smotrakov at sap.com>
* HTTPCLIENT-1968: Preserve escaped PATHSAFE characters when normalizing URI path segments.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCLIENT-1968: URIBuilder to split path component into path segments when digesting a URI
(ported from HttpCore master).
Contributed by Oleg Kalnichevski <olegk at apache.org>
* Improved cache key generation (ported from HttpCore master).
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCLIENT-1968: added utility methods to parse and format URI path segments (ported
from HttpCore master).
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCLIENT-1968: Make normalization of URI paths optional.
Contributed by Tamas Cservenak <tamas at cservenak.net>
* Some well known proxies respond with Content-Length=0, when returning 304. For robustness, always use the
cached entity's content length, as modern browsers do.
Contributed by Author: Jayson Raymond <jraymond at accelerantmobile.com>
Release 4.5.7
-------------------
This is a maintenance release that corrects Automatic-Module-Name definitions added in the previous
release and fixes a number of minor defects discovered since 4.5.6.
Please note that as of 4.4, HttpClient requires Java 1.6 or newer.
Changelog:
-------------------
* Upgraded HttpCore to version 4.4.11
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCLIENT-1960: URIBuilder incorrect handling of multiple leading slashes in path component
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCLIENT-1958: PoolingHttpClientConnectionManager to throw ExecutionException in case of a lease operation
cancellation instead of InterruptedException.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCLIENT-1952: Allow default User Agent to be disabled.
Contributed by Michael Osipov <michaelo at apache.org>
* HTTPCLIENT-1956: CONNECT overwrites the main request object in the HTTP context when requests are executed
via a proxy tunnel.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCLIENT-1940: deprecated SSLSocketFactory made to rethrow SocketTimeoutException as
ConnectTimeoutException for consistency with non-deprecated code.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* Fixed regression in BasicCookieStore serialization.
Contributed by Author: Mark Mielke <mmielke at ciena.com>
* HTTPCLIENT-1929: Corrected Automatic-Module-Name entries for HttpClient Fluent, HttpClient Windows
and HttpClient Cache.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCLIENT-1927: URLEncodedUtils#parse breaks at double quotes when parsing unquoted values.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* HTTPCLIENT-1939: Update Apache Commons Codec from 1.10 to 1.11
Contributed by Gary Gregory <ggregory at apache.org>
Release 4.5.6
-------------------
This is a maintenance release that adds Automatic-Module-Name to the manifest for compatibility
with Java 9 Platform Module System and fixes a number of issues discovered since 4.5.5
Please note that as of 4.4, HttpClient requires Java 1.6 or newer.
Changelog:
-------------------
* [HTTPCLIENT-1882=: reset authentication state on I/O or runtime error for connection based
authentication schemes (such as NTLM)
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1924]: HttpClient to shut down the connection manager if a fatal error occurs
in the course of a request execution.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* Add Automatic-Module-Name in manifest so Java9 modular applications can depend on this library
Contributed by Varun Nandi <varunkn at amazon.com>
* [HTTPCLIENT-1923]: fixed incorrect connection close on shutdown + fixed corresponding test
Contributed by Aleksei Arsenev <aarseniev at yandex-team.ru>
* [HTTPCLIENT-1906]: certificates containing alternative subject names other than DNS and IP
(such as RFC822) get rejected as invalid
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1904]: check cookie domain for null
Contributed by Hans-Peter Keck <hans-peter.keck at haufe-lexware.com>
* [HTTPCLIENT-1900]: proxy protocol processor does not post-process CONNECT response messages
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1911]: Failing tests on Fedora 28 due to weak encryption algorithms in test
keystore.
Contributed by Gary Gregory <ggregory at apache.org> and Michael Simacek <msimacek at redhat dot com>
Release 4.5.5
-------------------
HttpClient 4.5.5 (GA) is a maintenance release that fixes a regression introduced
by the previous release causing a NPE in SystemDefaultCredentialsProvider.
Please note that as of 4.4, HttpClient requires Java 1.6 or newer.
Changelog:
-------------------
* [HTTPCLIENT-1690] Avoid merging Content-Encoding headers coming with 304 status to cache entry.
Contributed by Sudheera Palihakkara <catchsudheera at gmail.com>
* [HTTPCLIENT-1888] Regression in SystemDefaultCredentialsProvider#getCredentials causing NPE.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1886] Update HttpClient 4.5.x from HttpCore 4.4.7 to 4.4.9
Contributed by Gary Gregory <ggregory at apache.org>
* [HTTPCLIENT-1889] org.apache.http.client.utils.URLEncodedUtils.parse()
should return a new ArrayList when there are no query parameters.
Contributed by Gary Gregory <ggregory at apache.org>
Release 4.5.4
-------------------
HttpClient 4.5.4 (GA) is a maintenance release that fixes a number of defects found since 4.5.3.
Please note that as of 4.4, HttpClient requires Java 1.6 or newer.
Changelog:
-------------------
* [HTTPCLIENT-1883] SystemDefaultCredentialsProvider to use https.proxy* system properties
for origins with port 443.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1881] Allow truncated NTLM packets to work with this client.
Contributed by Karl Wright <DaddyWri at gmail.com>
* [HTTPCLIENT-1855] Disabled caching of DIGEST auth scheme instances due to unreliability of nonce counter
when the auth cache is shared by multiple sessions.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* BasicCookieStore uses a ReentrantReadWriteLock to avoid synchronization on #getCookies/#toString
while maintaining thread safety.
Contributed by Carter Kozak <c4kofony at gmail.com>
* [HTTPCLIENT-1865] DefaultServiceUnavailableRetryStrategy does not respect HttpEntity#isRepeatable.
Contributed by Tomas Celaya <tjcelaya at joyent dot com>
* [HTTPCLIENT-1859] Encode Content-Disposition name and filename elements appropriately.
Contributed by Karl Wright <DaddyWri at gmail.com>
* Avoid fetching the cached entity twice on cache hit.
Contributed by Leandro Nunes <a-lnunes at hotels.com>
* [HTTPCLIENT-1835] #evictExpiredConnections no longer causes the #evictIdleConnections behaviour
to be implicitly enabled.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1831= URIBuilder should not prepend a leading slash to relative URIs.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1833] Fix Windows Negotiate-NTLM handling of proxies.
Contributed by Roman Stoffel <roman.stoffel at gamler.info>
* [HTTPCLIENT-1817] Add a "Trust All" TrustStrategy implementation.
Contributed by Gary Gregory <ggregory at apache.org>
* [HTTPCLIENT-1816] Update Apache Commons Codec 1.9 to 1.10.
Contributed by Gary Gregory <ggregory at apache.org>
* [HTTPCLIENT-1836] DefaultHostnameVerifier#getSubjectAltNames(X509Certificate) throws java.lang.ClassCastException.
Contributed by Gary Gregory <ggregory at apache.org>, Ilian Iliev <ilian_iliev at yahoo.com>
* [HTTPCLIENT-1845]: Extract InputStreamFactory classes out of GzipDecompressingEntity and
DeflateDecompressingEntity for reuse and to create less garbage.
Contributed by Gary Gregory <ggregory at apache.org>
* [HTTPCLIENT-1847] Update Ehcache from 2.6.9 to 2.6.11.
Contributed by Gary Gregory <ggregory at apache.org>
* [HTTPCLIENT-1848] Update spymemcached from 2.11.4 to 2.12.3.
Contributed by Gary Gregory <ggregory at apache.org>
* [HTTPCLIENT-1849] Update JNA from 4.1.0 to 4.4.0.
Contributed by Gary Gregory <ggregory at apache.org>
* [HTTPCLIENT-1850] Update SLF4J from 1.7.6 to 1.7.25.
Contributed by Gary Gregory <ggregory at apache.org>
Release 4.5.3
-------------------
HttpClient 4.5.3 (GA) is a maintenance release that fixes a number of defects found since 4.5.2.
Please note that as of 4.4, HttpClient requires Java 1.6 or newer.
Changelog:
-------------------
* [HTTPCLIENT-1803] Improved handling of malformed paths by URIBuilder.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1802] Do not attempt to match SSL host to subject CN if subject alternative name of any type are given.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1788] RFC 6265 policy must not reject cookies with paths that are no prefix of the uri path.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1792] SSLConnectionSocketFactory to throw SSLPeerUnverifiedException with a better error message
when hostname verification fails.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1779] [OSGi] support NTLM proxy authentication.
Contributed by Julian Sedding <jsedding@apache.org>
* [HTTPCLIENT-1773] [OSGi] HttpProxyConfigurationActivator does not unregister HttpClientBuilderFactory.
Contributed by Julian Sedding <jsedding@apache.org>
* [HTTPCLIENT-1771] improve OSGi webconsole display for org.apache.http.proxyconfigurator.
Contributed by Julian Sedding <jsedding at apache.org>
* [HTTPCLIENT-1770] OSGi metatype for org.apache.http.proxyconfigurator missing factoryPid.
Contributed by Julian Sedding <jsedding at apache.org>
* [HTTPCLIENT-1767] Null pointer dereference in EofSensorInputStream and ResponseEntityProxy.
Contributed by Peter Ansell <p_ansell@yahoo.com>
* Support changing system default ProxySelector.
Contributed by Robin Stevens <stevensro at gmail.com>
* All services registered in the OSGi service registry provide the whole bundle header dictionary as vendor
property value.
Contributed by Christoph Fiehe <christoph.fiehe at materna.de>
* [HTTPCLIENT-1750] OSGi support for CachingHttpClientBuilder.
Contributed by Justin Edelson <justin at justinedelson.com>
* [HTTPCLIENT-1749] OSGi client builder to use weak references to track HttpClient instances.
Contributed by Justin Edelson <justin at justinedelson.com>
* [HTTPCLIENT-1747] apply RequestConfig defaults when using HttpParams values in backward compatibility mode.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* Override LaxRedirectStrategy's INSTANCE field.
Contributed by Eric Wu <ericwuyi at gmail.com>
* [HTTPCLIENT-1736] do not request cred delegation by default when using Kerberos auth.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1744] normalize hostname and certificate CN when matching to CN.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1732] SystemDefaultCredentialsProvider to take http.proxyHost and http.proxyPort system
properties into account.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* Revert "HTTPCLIENT-1712: SPNego schemes to take service scheme into account when generating auth token".
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1727] AbstractHttpClient#createClientConnectionManager does not account for context class loader.
Contributed by Charles Allen <charles.allen at metamarkets.com>
* [HTTPCLIENT-1726:] Copy the SNI fix from SSLConnectionSocketFactory to the deprecated SSLSocketFactory class.
Contributed by David Black <dblack at atlassian.com>
Release 4.5.2
-------------------
HttpClient 4.5.2 (GA) is a maintenance release that fixes a number of minor defects found since 4.5.1.
Please note that as of 4.4, HttpClient requires Java 1.6 or newer.
Changelog:
-------------------
* [HTTPCLIENT-1710, HTTPCLIENT-1718, HTTPCLEINT-1719] OSGi container compatibility improvements.
Contributed by 212427891 <munene.kiruja at ge.com>
* [HTTPCLIENT-1717] Make fluent API Content#Content(byte[], ContentType) public.
Contributed by Cash Costello <cash.costello at gmail.com>
* [HTTPCLIENT-1715] NTLMEngineImpl#Type1Message not thread safe but declared as a constant.
Contributed by Olivier Lafontaine <olafontaine at gmail.com>, Gary Gregory <ggregory at apache.org>
* [HTTPCLIENT-1714] Add HttpClientBuilder#setDnsResolver(DnsResolver).
Contributed by Alexis Thaveau <alexis.thaveau at gmail.com>
* [HTTPCLIENT-1712] SPNego schemes to take service scheme into account when generating auth token.
Contributed by Georg Romstorfer <georg.romstorfer at gmail.com>
* [HTTPCLIENT-1700] Netscape draft, browser compatibility, RFC 2109, RFC 2965 and default cookie
specs to ignore cookies with empty name for consistency with RFC 6265 specs.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1704] IgnoreSpec#match to always return false.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1550] Fixed 'deflate' zlib header check.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1698] Fixed matching of IPv6 addresses by DefaultHostnameVerifier
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1695] RFC 6265 compliant cookie spec to ignore cookies with empty name / missing
value.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1216] Removed ThreadLocal subclass from DateUtils.
Contributed by Jochen Kemnade <jochen.kemnade at eddyson.de>
* [HTTPCLIENT-1685] PublicSuffixDomainFilter to ignore local hosts and local domains.
Contributed by Oleg Kalnichevski <olegk at apache.org>
Release 4.5.1
-------------------
HttpClient 4.5.1 (GA) is a maintenance release that fixes a number of minor defects found since 4.5.
Please note that as of 4.4, HttpClient requires Java 1.6 or newer.
Changelog:
-------------------
* [HTTPCLIENT-1680] redirect of a POST request causes ClientProtocolException.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1673] org.apache.http.entity.mime.content.* missing from OSGi exports.
Contributed by Benson Margulies <benson at basistech.com>
* [HTTPCLIENT-1668] Fluent request incorrectly handles connect timeout setting.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1667] RequestBuilder does not take charset into account when creating
UrlEncodedFormEntity.
Contributed by Sergey Smith <smithsv at bk.ru>
* [HTTPCLIENT-1655] HttpClient sends RST instead of FIN ACK sequence when using non-persistant
connections.
Contributed by Oleg Kalnichevski <olegk at apache.org>
Release 4.5
-------------------
HttpClient 4.5 (GA) is a minor feature release that includes several incremental enhancements
to the exisitng functionality such as support for private domains in the Mozilla Public Suffix List.
Changelog:
-------------------
* Reduced default validate after inactivity setting from 5 sec to 2 sec
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1649] Fixed serialization of auth schemes
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1645]: Fluent requests to inherit config parameters of the executor.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1640]: RFC6265 lax cookie policy fails to parse 'max-age' attribute.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1633]: RFC6265CookieSpecProvider compatibility level setting has no effect.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1613]: Support for private domains in Mozilla Public Suffix List.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1651]: Add ability to disable content compression on a request basis
Contributed by Michael Osipov <michaelo at apache.org>
* [HTTPCLIENT-1654]: Deprecate/remove RequestConfig#decompressionEnabled in favor of #contentCompressionEnabled
Contributed by Michael Osipov <michaelo at apache.org>
Release 4.4.1
-------------------
HttpClient 4.4.1 (GA) is a maintenance release that fixes a number of defects in new functionality
introduced in version 4.4.
Users of HttpClient 4.4 are encouraged to upgrade.
Please note that as of 4.4, HttpClient requires Java 1.6 or newer.
Changelog:
-------------------
* Marked RFC 2109, RFC 2965, Netscape draft cookie specs as obsolete
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1633] RFC6265CookieSpecProvider compatibility level setting has no effect.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1628]: Auth cache can fail when domain name contains uppercase characters.
Contributed by Dennis Ju <dejuknow at gmail.com>
* [HTTPCLIENT-1609] Stale connection check in PoolingHttpClientConnectionManager has no effect.
Internal connection pool does not correctly implement connection validation.
Contributed by Charles Lip <rene1 at singnet.com.sg>
Release 4.4 Final
-------------------
This is the first stable (GA) release of HttpClient 4.4. Notable features and enhancements included
in 4.4 series are:
* Support for the latest HTTP state management specification (RFC 6265). Please note that the old
cookie policy is still used by default for compatibility reasons. RFC 6265 compliant cookie
policies need to be explicitly configured by the user. Please also note that as of next feature
release support for Netscape draft, RFC 2109 and RFC 2965 cookie policies will be deprecated
and disabled by default. It is recommended to use RFC 6265 compliant policies for new applications
unless compatibility with RFC 2109 and RFC 2965 is required and to migrate existing applications
to the default cookie policy.
* Enhanced, redesigned and rewritten default SSL hostname verifier with improved RFC 2818
compliance
* Default SSL hostname verifier and default cookie policy now validate certificate identity
and cookie domain of origin against the public suffix list maintained by Mozilla.org
<https://publicsuffix.org/list>
* More efficient stale connection checking: indiscriminate connection checking which results
in approximately 20 to 50 ms overhead per request has been deprecated in favor of conditional
connection state validation (persistent connections are to be re-validated only if a specified
period inactivity has elapsed)
* Authentication cache thread-safety: authentication cache used by HttpClient is now thread-safe
and can be shared by multiple threads in order to re-use authentication state for subsequent
requests
* Native Windows Negotiate and NTLM via SSPI through JNA: when running on Windows OS HttpClient
configured to use native NTLM or SPNEGO authentication schemes can make use of platform specific
functionality via JNA and current user credentials. This functionality is still considered
experimental, known to have compatibility issues and subject to change without prior notice.
Use at your discretion.
This release also includes all fixes from the stable 4.3.x release branch.
Please note that as of 4.4, HttpClient requires Java 1.6 or newer.
Changelog:
-------------------
* Support for the latest HTTP state management specification (RFC 6265).
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1515] Caching of responses to HEAD requests
Contributed by Tyrone Cutajar <tj.cutajar at gmail.com> and
Francois-Xavier Bonnet <fx at apache.org>
* [HTTPCLIENT-1560] Native Windows auth improvements
Contributed by Michael Osipov <michaelo at apache.org>
* Update Apache Commons Logging version from 1.1.3 to 1.2.
Contributed by Gary Gregory <ggregory at apache.org>
* Update Apache Commons Codec version from 1.6 to 1.9.
Contributed by Gary Gregory <ggregory at apache.org>
* Update Ehcache version from 2.2.0 to 2.6.9.
Contributed by Gary Gregory <ggregory at apache.org>
* Update Ehcache version from 2.2.0 to 2.6.9.
Contributed by Gary Gregory <ggregory at apache.org>
* Update Spymemcached version from 2.6 to 2.11.4.
Contributed by Gary Gregory <ggregory at apache.org>
* Update SLF4J version from 1.5.11 to 1.7.7.
Contributed by Gary Gregory <ggregory at apache.org>
Release 4.4 BETA1
-------------------
This is the first BETA release of HttpClient 4.4. Notable features and enhancements included
in 4.4 series are:
* Enhanced redesigned and rewritten default SSL hostname verifier with improved RFC 2818
compliance
* Default SSL hostname verifier and default cookie policy now validate certificate identity
and cookie domain of origin against the public suffix list maintained by Mozilla.org
<https://publicsuffix.org/list>
* Native windows Negotiate/NTLM via JNA: when running on Windows OS HttpClient configured to use
native NTLM or SPNEGO authentication schemes can make use of platform specific functionality
via JNA and current user system credentials
* More efficient stale connection checking: indiscriminate connection checking which results
in approximately 20 to 50 ms overhead per request has been deprecated in favor of conditional
connection state validation (persistent connections are to be re-validated only if a specified
period inactivity has elapsed)
* Authentication cache thread-safety: authentication caches used by HttpClient is now thread-safe
and can be shared by multiple threads in order to re-use authentication state for subsequent
requests
This release also includes all fixes from the stable 4.3.x release branch.
Please note that as of 4.4, HttpClient requires Java 1.6 or newer.
Changelog:
-------------------
* [HTTPCLIENT-1547] HttpClient OSGi bundle doesn't import the package "javax.naming".
Contributed by Willem Jiang <ningjiang at apache.org>
* [HTTPCLIENT-1541] Use correct (HTTP/hostname) service principal name for Windows native
Negotiate/NTLM auth schemes.
Contributed by Ka-Lok Fung <ka-lok.fung at sap.com>
* Improved compliance with RFC 2818: default hostname verifier to ignore the common name of the
certificate subject if alternative subject names (dNSName or iPAddress) are present.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1540] Support delegated credentials (ISC_REQ_DELEGATE) by Native windows
native Negotiate/NTLM auth schemes.
Contributed by Ka-Lok Fung <ka-lok.fung at sap.com>
Release 4.4 ALPHA1
-------------------
This is the first ALPHA release of HttpClient 4.4. Notable features and enhancements included
in the 4.4 branch are:
* More efficient stale connection checking: indiscriminate connection checking which results
in approximately 20 to 50 ms overhead per request has been deprecated in favor of conditional
connection state validation (persistent connections are to be re-validated only if a specified
period inactivity has elapsed)
* Native windows Negotiate/NTLM via JNA: when running on Windows OS HttpClient configured to use
native NTLM or SPNEGO authentication schemes can make use of platform specific functionality
via JNA and current user system credentials
* Authentication cache thread-safety: authentication caches used by HttpClient is now thread-safe
and can be shared by multiple threads in order to re-use authentication state for subsequent
requests
This release also includes all fixes from the stable 4.3.x release branch.
Please note that as of 4.4, HttpClient requires Java 1.6 or newer.
Please note that new features included in this release are still considered experimental and
their API may change in the future 4.4 alpha and beta releases.
Changelog:
-------------------
* [HTTPCLIENT-1493] Indiscriminate connection checking has been deprecated in favor of conditional
connection state validation. Persistent connections are to be re-validated only after a defined
period inactivity prior to being leased to the consumer.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1519] Use the original HttpHost instance passed as a parameter to
HttpClient#execute when generating 'Host' request header.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1491] Enable provision of Service Principal Name in Windows native
auth scheme.
Contributed by Malcolm Smith <malcolmfsmith at gmail.com>
* [HTTPCLIENT-1403] Pluggable content decoders.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1466] FileBodyPart#generateContentType() ignores custom ContentType values.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1461] fixed performance degradation in gzip encoded content processing
introduced by HTTPCLIENT-1432.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1457] Incorrect handling of Windows (NT) credentials by
SystemDefaultCredentialsProvider.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1456] Request retrial after status 503 causes ClientProtocolException.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1454] Make connection operator APIs public.
Contributed by Tamas Cservenak <tamas at cservenak.net>
* Update JUnit to version 4.11 from 4.9
Contributed by Gary Gregory <ggregory at apache.org>
Release 4.3.4
-------------------
HttpClient 4.3.4 (GA) is a maintenance release that improves performance in high concurrency
scenarios. This version replaces dynamic proxies with custom proxy classes and eliminates thread
contention in java.reflect.Proxy.newInstance() when leasing connections from the connection pool
and processing response messages.
Changelog:
-------------------
* Replaced dynamic proxies with custom proxy classes to reduce thread contention.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1484] GzipCompressingEntity should not close the underlying output stream
if the entity has not been fully written out due to an exception.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1474] Fixed broken entity enclosing requests in HC Fluent.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1470] CachingExec(ClientExecChain, HttpCache, CacheConfig, AsynchronousValidator)
throws NPE if config is null
Release 4.3.3
-------------------
HttpClient 4.3.3 (GA) is a bug fix release that fixes a regression introduced by the previous
release causing a significant performance degradation in compressed content processing.
Users of HttpClient 4.3 are encouraged to upgrade.
Changelog:
-------------------
* [HTTPCLIENT-1466] FileBodyPart#generateContentType() ignores custom ContentType values.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1453] Thread safety regression in PoolingHttpClientConnectionManager
#closeExpiredConnections that can lead to ConcurrentModificationException.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1461] fixed performance degradation in compressed content processing
introduced by HTTPCLIENT-1432.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1457] Incorrect handling of Windows (NT) credentials by
SystemDefaultCredentialsProvider.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1456] Request retrial after status 503 causes ClientProtocolException.
Contributed by Oleg Kalnichevski <olegk at apache.org>
Release 4.3.2
-------------------
HttpClient 4.3.2 (GA) is a maintenance release that delivers a number of improvements
as well as bug fixes for issues reported since 4.3.1 release. SNI support for
Oracle JRE 1.7+ is being among the most notable improvements.
Users of HttpClient 4.3 are encouraged to upgrade.
Changelog:
-------------------
* [HTTPCLIENT-1447] Clients created with HttpClients.createMinimal do not work with absolute URIs
Contributed by Joseph Walton <joe at kafsemo dot org>
* [HTTPCLIENT-1446] NTLM proxy + BASIC target auth fails with 'Unexpected state:
MSG_TYPE3_GENERATED'.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1443] HttpCache uses the physical host instead of the virtual host as a cache key.
Contributed by Francois-Xavier Bonnet <fx at apache.org>
* [HTTPCLIENT-1442] Authentication header set by the user gets removed in case
of proxy authentication (affects plan HTTP requests only).
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1441] Caching AsynchronousValidationRequest leaks connections.
Contributed by Dominic Tootell <dominic.tootell at gmail.com>
* [HTTPCLIENT-1440] 'file' scheme in redirect location URI causes NPE.
Contributed by James Leigh <james at 3roundstones dot com>
* [HTTPCLIENT-1437] Made Executor#execute thread safe.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1119] SNI support (Oracle Java 1.7+ only).
Contributed by Bruno Harbulot <bruno at distributedmatter.net>
* [HTTPCLIENT-1435] Fluent Executor ignores custom request properties.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1432] Lazy decompressing of HttpEntity#getContent() to avoid EOFException
in case of an empty response with 'Content-Encoding: gzip' header.
Contributed by Yihua Huang <code4crafter at gmail.com>
* [HTTPCLIENT-1431] (Regression) deprecated connection manager cannot be used with
a custom LayeredSchemeSocketFactory.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1425] Fixed socket closed exception thrown by caching HttpClient when the origin
server sends a long chunked response.
Contributed by James Leigh <james at 3roundstones dot com>
* [HTTPCLIENT-1417] Fixed NPE in BrowserCompatSpec#formatCookies caused by version 1
cookies with null cookie value.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1416] Fixed NPE in CachingHttpClientBuilder#build().
Contributed by Oleg Kalnichevski <olegk at apache.org>
Release 4.3.1
-------------------
HttpClient 4.3.1 (GA) is a bug fix release that addresses a number of issues reported since
release 4.3.
Users of HttpClient 4.3 are strongly encouraged to upgrade.
Changelog
-------------------
* [HTTPCLIENT-1410] Browser compatible hostname verifier no longer rejects
*.co.<countrycode>, *.gov.<countrycode>, *.info.<countrycode>, etc as invalid.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* Ensure X509HostnameVerifier is never null.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1405] CONNECT HTTP/1.1 requests lack mandatory 'Host' header.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1402] Cache default User-Agent value.
Contributed by yuexiaojun <junedo at qq.com>
* [HTTPCLIENT-1398] Fixed invalid OSGi metadata caused by corrupted Maven bundle plugin metadata.
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-1399] Fixed NPE in RequestBuilder.
Contributed by Oleg Kalnichevski <olegk at apache.org>
Release 4.3 Final
-------------------
This is the first stable (GA) release of HttpClient 4.3. The most notable enhancements included
in this release are:
* Support for Java 7 try-with-resources for resource management (connection release.)
* Added fluent Builder classes for HttpEntity, HttpRequest, HttpClient and SSLContext instances.
* Deprecation of preference and configuration API based on HttpParams interface in favor of
constructor injection and plain configuration objects.
* Reliance on object immutability instead of access synchronization for thread safety.
Several old classes whose instances can be shared by multiple request exchanges have
been replaced by immutable equivalents.
* DefaultHttpClient, DecompressingHttpClient, CachingHttpClient and similar classes are
deprecated in favor of builder classes that produce immutable HttpClient instances.
* HttpClient builders now dynamically construct a request execution pipeline tailored
specifically to the user configuration by physically excluding unnecessary protocol components.
* There is now an option to construct a minimal HttpClient implementation that can only execute
basic HTTP message exchanges without redirects, authentication, state management or proxy support.
This feature might be of particular use in web crawler development.
* There is now option to avoid strict URI syntax for request URIs by executing HTTP requests
with an explicitly specified target host. HttpClient will no longer attempt to parse the request
URI if it does not need to extract the target host from it.
This release also includes all fixes from the stable 4.2.x release branch.
Changelog
-------------------
* [HTTPCLIENT-1371] Weak ETag Validation is Useful On PUT With If-Match
Contributed by James Leigh <james at 3roundstones dot com>