RELEASE_NOTES.txt 94 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314
  1. Release 4.5.5
  2. -------------------
  3. HttpClient 4.5.5 (GA) is a maintenance release that fixes a regression introduced
  4. by the previous release causing a NPE in SystemDefaultCredentialsProvider.
  5. Please note that as of 4.4 HttpClient requires Java 1.6 or newer.
  6. Changelog:
  7. -------------------
  8. * [HTTPCLIENT-1690] Avoid merging Content-Encoding headers coming with 304 status to cache entry.
  9. Contributed by Sudheera Palihakkara <catchsudheera at gmail.com>
  10. * [HTTPCLIENT-1888] Regression in SystemDefaultCredentialsProvider#getCredentials causing NPE.
  11. Contributed by Oleg Kalnichevski <olegk at apache.org>
  12. * [HTTPCLIENT-1886] Update HttpClient 4.5.x from HttpCore 4.4.7 to 4.4.9
  13. Contributed by Gary Gregory <ggregory at apache.org>
  14. * [HTTPCLIENT-1889] org.apache.http.client.utils.URLEncodedUtils.parse()
  15. should return a new ArrayList when there are no query parameters.
  16. Contributed by Gary Gregory <ggregory at apache.org>
  17. Release 4.5.4
  18. -------------------
  19. HttpClient 4.5.4 (GA) is a maintenance release that fixes a number of defects found since 4.5.3.
  20. Please note that as of 4.4 HttpClient requires Java 1.6 or newer.
  21. Changelog:
  22. -------------------
  23. * [HTTPCLIENT-1883] SystemDefaultCredentialsProvider to use https.proxy* system properties
  24. for origins with port 443.
  25. Contributed by Oleg Kalnichevski <olegk at apache.org>
  26. * [HTTPCLIENT-1881] Allow truncated NTLM packets to work with this client.
  27. Contributed by Karl Wright <DaddyWri at gmail.com>
  28. * [HTTPCLIENT-1855] Disabled caching of DIGEST auth scheme instances due to unreliability of nonce counter
  29. when the auth cache is shared by multiple sessions.
  30. Contributed by Oleg Kalnichevski <olegk at apache.org>
  31. * BasicCookieStore uses a ReentrantReadWriteLock to avoid synchronization on #getCookies/#toString
  32. while maintaining thread safety.
  33. Contributed by Carter Kozak <c4kofony at gmail.com>
  34. * [HTTPCLIENT-1865] DefaultServiceUnavailableRetryStrategy does not respect HttpEntity#isRepeatable.
  35. Contributed by Tomas Celaya <tjcelaya at joyent dot com>
  36. * [HTTPCLIENT-1859] Encode Content-Disposition name and filename elements appropriately.
  37. Contributed by Karl Wright <DaddyWri at gmail.com>
  38. * Avoid fetching the cached entity twice on cache hit.
  39. Contributed by Leandro Nunes <a-lnunes at hotels.com>
  40. * [HTTPCLIENT-1835] #evictExpiredConnections no longer causes the #evictIdleConnections behaviour
  41. to be implicitly enabled.
  42. Contributed by Oleg Kalnichevski <olegk at apache.org>
  43. * [HTTPCLIENT-1831= URIBuilder should not prepend a leading slash to relative URIs.
  44. Contributed by Oleg Kalnichevski <olegk at apache.org>
  45. * [HTTPCLIENT-1833] Fix Windows Negotiate-NTLM handling of proxies.
  46. Contributed by Roman Stoffel <roman.stoffel at gamler.info>
  47. * [HTTPCLIENT-1817] Add a "Trust All" TrustStrategy implementation.
  48. Contributed by Gary Gregory <ggregory at apache.org>
  49. * [HTTPCLIENT-1816] Update Apache Commons Codec 1.9 to 1.10.
  50. Contributed by Gary Gregory <ggregory at apache.org>
  51. * [HTTPCLIENT-1836] DefaultHostnameVerifier#getSubjectAltNames(X509Certificate) throws java.lang.ClassCastException.
  52. Contributed by Gary Gregory <ggregory at apache.org>, Ilian Iliev <ilian_iliev at yahoo.com>
  53. * [HTTPCLIENT-1845]: Extract InputStreamFactory classes out of GzipDecompressingEntity and
  54. DeflateDecompressingEntity for reuse and to create less garbage.
  55. Contributed by Gary Gregory <ggregory at apache.org>
  56. * [HTTPCLIENT-1847] Update Ehcache from 2.6.9 to 2.6.11.
  57. Contributed by Gary Gregory <ggregory at apache.org>
  58. * [HTTPCLIENT-1848] Update spymemcached from 2.11.4 to 2.12.3.
  59. Contributed by Gary Gregory <ggregory at apache.org>
  60. * [HTTPCLIENT-1849] Update JNA from 4.1.0 to 4.4.0.
  61. Contributed by Gary Gregory <ggregory at apache.org>
  62. * [HTTPCLIENT-1850] Update SLF4J from 1.7.6 to 1.7.25.
  63. Contributed by Gary Gregory <ggregory at apache.org>
  64. Release 4.5.3
  65. -------------------
  66. HttpClient 4.5.3 (GA) is a maintenance release that fixes a number of defects found since 4.5.2.
  67. Please note that as of 4.4 HttpClient requires Java 1.6 or newer.
  68. Changelog:
  69. -------------------
  70. * [HTTPCLIENT-1803] Improved handling of malformed paths by URIBuilder.
  71. Contributed by Oleg Kalnichevski <olegk at apache.org>
  72. * [HTTPCLIENT-1802] Do not attempt to match SSL host to subject CN if subject alternative name of any type are given.
  73. Contributed by Oleg Kalnichevski <olegk at apache.org>
  74. * [HTTPCLIENT-1788] RFC 6265 policy must not reject cookies with paths that are no prefix of the uri path.
  75. Contributed by Oleg Kalnichevski <olegk at apache.org>
  76. * [HTTPCLIENT-1792] SSLConnectionSocketFactory to throw SSLPeerUnverifiedException with a better error message
  77. when hostname verification fails.
  78. Contributed by Oleg Kalnichevski <olegk at apache.org>
  79. * [HTTPCLIENT-1779] [OSGi] support NTLM proxy authentication.
  80. Contributed by Julian Sedding <jsedding@apache.org>
  81. * [HTTPCLIENT-1773] [OSGi] HttpProxyConfigurationActivator does not unregister HttpClientBuilderFactory.
  82. Contributed by Julian Sedding <jsedding@apache.org>
  83. * [HTTPCLIENT-1771] improve OSGi webconsole display for org.apache.http.proxyconfigurator.
  84. Contributed by Julian Sedding <jsedding at apache.org>
  85. * [HTTPCLIENT-1770] OSGi metatype for org.apache.http.proxyconfigurator missing factoryPid.
  86. Contributed by Julian Sedding <jsedding at apache.org>
  87. * [HTTPCLIENT-1767] Null pointer dereference in EofSensorInputStream and ResponseEntityProxy.
  88. Contributed by Peter Ansell <p_ansell@yahoo.com>
  89. * Support changing system default ProxySelector.
  90. Contributed by Robin Stevens <stevensro at gmail.com>
  91. * All services registered in the OSGi service registry provide the whole bundle header dictionary as vendor
  92. property value.
  93. Contributed by Christoph Fiehe <christoph.fiehe at materna.de>
  94. * [HTTPCLIENT-1750] OSGi support for CachingHttpClientBuilder.
  95. Contributed by Justin Edelson <justin at justinedelson.com>
  96. * [HTTPCLIENT-1749] OSGi client builder to use weak references to track HttpClient instances.
  97. Contributed by Justin Edelson <justin at justinedelson.com>
  98. * [HTTPCLIENT-1747] apply RequestConfig defaults when using HttpParams values in backward compatibility mode.
  99. Contributed by Oleg Kalnichevski <olegk at apache.org>
  100. * Override LaxRedirectStrategy's INSTANCE field.
  101. Contributed by Eric Wu <ericwuyi at gmail.com>
  102. * [HTTPCLIENT-1736] do not request cred delegation by default when using Kerberos auth.
  103. Contributed by Oleg Kalnichevski <olegk at apache.org>
  104. * [HTTPCLIENT-1744] normalize hostname and certificate CN when matching to CN.
  105. Contributed by Oleg Kalnichevski <olegk at apache.org>
  106. * [HTTPCLIENT-1732] SystemDefaultCredentialsProvider to take http.proxyHost and http.proxyPort system
  107. properties into account.
  108. Contributed by Oleg Kalnichevski <olegk at apache.org>
  109. * Revert "HTTPCLIENT-1712: SPNego schemes to take service scheme into account when generating auth token".
  110. Contributed by Oleg Kalnichevski <olegk at apache.org>
  111. * [HTTPCLIENT-1727] AbstractHttpClient#createClientConnectionManager does not account for context class loader.
  112. Contributed by Charles Allen <charles.allen at metamarkets.com>
  113. * [HTTPCLIENT-1726:] Copy the SNI fix from SSLConnectionSocketFactory to the deprecated SSLSocketFactory class.
  114. Contributed by David Black <dblack at atlassian.com>
  115. Release 4.5.2
  116. -------------------
  117. HttpClient 4.5.2 (GA) is a maintenance release that fixes a number of minor defects found since 4.5.1.
  118. Please note that as of 4.4 HttpClient requires Java 1.6 or newer.
  119. Changelog:
  120. -------------------
  121. * [HTTPCLIENT-1710, HTTPCLIENT-1718, HTTPCLEINT-1719] OSGi container compatibility improvements.
  122. Contributed by 212427891 <munene.kiruja at ge.com>
  123. * [HTTPCLIENT-1717] Make fluent API Content#Content(byte[], ContentType) public.
  124. Contributed by Cash Costello <cash.costello at gmail.com>
  125. * [HTTPCLIENT-1715] NTLMEngineImpl#Type1Message not thread safe but declared as a constant.
  126. Contributed by Olivier Lafontaine <olafontaine at gmail.com>, Gary Gregory <ggregory at apache.org>
  127. * [HTTPCLIENT-1714] Add HttpClientBuilder#setDnsResolver(DnsResolver).
  128. Contributed by Alexis Thaveau <alexis.thaveau at gmail.com>
  129. * [HTTPCLIENT-1712] SPNego schemes to take service scheme into account when generating auth token.
  130. Contributed by Georg Romstorfer <georg.romstorfer at gmail.com>
  131. * [HTTPCLIENT-1700] Netscape draft, browser compatibility, RFC 2109, RFC 2965 and default cookie
  132. specs to ignore cookies with empty name for consistency with RFC 6265 specs.
  133. Contributed by Oleg Kalnichevski <olegk at apache.org>
  134. * [HTTPCLIENT-1704] IgnoreSpec#match to always return false.
  135. Contributed by Oleg Kalnichevski <olegk at apache.org>
  136. * [HTTPCLIENT-1550] Fixed 'deflate' zlib header check.
  137. Contributed by Oleg Kalnichevski <olegk at apache.org>
  138. * [HTTPCLIENT-1698] Fixed matching of IPv6 addresses by DefaultHostnameVerifier
  139. Contributed by Oleg Kalnichevski <olegk at apache.org>
  140. * [HTTPCLIENT-1695] RFC 6265 compliant cookie spec to ignore cookies with empty name / missing
  141. value.
  142. Contributed by Oleg Kalnichevski <olegk at apache.org>
  143. * [HTTPCLIENT-1216] Removed ThreadLocal subclass from DateUtils.
  144. Contributed by Jochen Kemnade <jochen.kemnade at eddyson.de>
  145. * [HTTPCLIENT-1685] PublicSuffixDomainFilter to ignore local hosts and local domains.
  146. Contributed by Oleg Kalnichevski <olegk at apache.org>
  147. Release 4.5.1
  148. -------------------
  149. HttpClient 4.5.1 (GA) is a maintenance release that fixes a number of minor defects found since 4.5.
  150. Please note that as of 4.4 HttpClient requires Java 1.6 or newer.
  151. Changelog:
  152. -------------------
  153. * [HTTPCLIENT-1680] redirect of a POST request causes ClientProtocolException.
  154. Contributed by Oleg Kalnichevski <olegk at apache.org>
  155. * [HTTPCLIENT-1673] org.apache.http.entity.mime.content.* missing from OSGi exports.
  156. Contributed by Benson Margulies <benson at basistech.com>
  157. * [HTTPCLIENT-1668] Fluent request incorrectly handles connect timeout setting.
  158. Contributed by Oleg Kalnichevski <olegk at apache.org>
  159. * [HTTPCLIENT-1667] RequestBuilder does not take charset into account when creating
  160. UrlEncodedFormEntity.
  161. Contributed by Sergey Smith <smithsv at bk.ru>
  162. * [HTTPCLIENT-1655] HttpClient sends RST instead of FIN ACK sequence when using non-persistant
  163. connections.
  164. Contributed by Oleg Kalnichevski <olegk at apache.org>
  165. Release 4.5
  166. -------------------
  167. HttpClient 4.5 (GA) is a minor feature release that includes several incremental enhancements
  168. to the exisitng functionality such as support for private domains in the Mozilla Public Suffix List.
  169. Changelog:
  170. -------------------
  171. * Reduced default validate after inactivity setting from 5 sec to 2 sec
  172. Contributed by Oleg Kalnichevski <olegk at apache.org>
  173. * [HTTPCLIENT-1649] Fixed serialization of auth schemes
  174. Contributed by Oleg Kalnichevski <olegk at apache.org>
  175. * [HTTPCLIENT-1645]: Fluent requests to inherit config parameters of the executor.
  176. Contributed by Oleg Kalnichevski <olegk at apache.org>
  177. * [HTTPCLIENT-1640]: RFC6265 lax cookie policy fails to parse 'max-age' attribute.
  178. Contributed by Oleg Kalnichevski <olegk at apache.org>
  179. * [HTTPCLIENT-1633]: RFC6265CookieSpecProvider compatibility level setting has no effect.
  180. Contributed by Oleg Kalnichevski <olegk at apache.org>
  181. * [HTTPCLIENT-1613]: Support for private domains in Mozilla Public Suffix List.
  182. Contributed by Oleg Kalnichevski <olegk at apache.org>
  183. * [HTTPCLIENT-1651]: Add ability to disable content compression on a request basis
  184. Contributed by Michael Osipov <michaelo at apache.org>
  185. * [HTTPCLIENT-1654]: Deprecate/remove RequestConfig#decompressionEnabled in favor of #contentCompressionEnabled
  186. Contributed by Michael Osipov <michaelo at apache.org>
  187. Release 4.4.1
  188. -------------------
  189. HttpClient 4.4.1 (GA) is a maintenance release that fixes a number of defects in new functionality
  190. introduced in version 4.4.
  191. Users of HttpClient 4.4 are encouraged to upgrade.
  192. Please note that as of 4.4 HttpClient requires Java 1.6 or newer.
  193. Changelog:
  194. -------------------
  195. * Marked RFC 2109, RFC 2965, Netscape draft cookie specs as obsolete
  196. Contributed by Oleg Kalnichevski <olegk at apache.org>
  197. * [HTTPCLIENT-1633] RFC6265CookieSpecProvider compatibility level setting has no effect.
  198. Contributed by Oleg Kalnichevski <olegk at apache.org>
  199. * [HTTPCLIENT-1628]: Auth cache can fail when domain name contains uppercase characters.
  200. Contributed by Dennis Ju <dejuknow at gmail.com>
  201. * [HTTPCLIENT-1609] Stale connection check in PoolingHttpClientConnectionManager has no effect.
  202. Internal connection pool does not correctly implement connection validation.
  203. Contributed by Charles Lip <rene1 at singnet.com.sg>
  204. Release 4.4 Final
  205. -------------------
  206. This is the first stable (GA) release of HttpClient 4.4. Notable features and enhancements included
  207. in 4.4 series are:
  208. * Support for the latest HTTP state management specification (RFC 6265). Please note that the old
  209. cookie policy is still used by default for compatibility reasons. RFC 6265 compliant cookie
  210. policies need to be explicitly configured by the user. Please also note that as of next feature
  211. release support for Netscape draft, RFC 2109 and RFC 2965 cookie policies will be deprecated
  212. and disabled by default. It is recommended to use RFC 6265 compliant policies for new applications
  213. unless compatibility with RFC 2109 and RFC 2965 is required and to migrate existing applications
  214. to the default cookie policy.
  215. * Enhanced, redesigned and rewritten default SSL hostname verifier with improved RFC 2818
  216. compliance
  217. * Default SSL hostname verifier and default cookie policy now validate certificate identity
  218. and cookie domain of origin against the public suffix list maintained by Mozilla.org
  219. <https://publicsuffix.org/list>
  220. * More efficient stale connection checking: indiscriminate connection checking which results
  221. in approximately 20 to 50 ms overhead per request has been deprecated in favor of conditional
  222. connection state validation (persistent connections are to be re-validated only if a specified
  223. period inactivity has elapsed)
  224. * Authentication cache thread-safety: authentication cache used by HttpClient is now thread-safe
  225. and can be shared by multiple threads in order to re-use authentication state for subsequent
  226. requests
  227. * Native Windows Negotiate and NTLM via SSPI through JNA: when running on Windows OS HttpClient
  228. configured to use native NTLM or SPNEGO authentication schemes can make use of platform specific
  229. functionality via JNA and current user credentials. This functionality is still considered
  230. experimental, known to have compatibility issues and subject to change without prior notice.
  231. Use at your discretion.
  232. This release also includes all fixes from the stable 4.3.x release branch.
  233. Please note that as of 4.4 HttpClient requires Java 1.6 or newer.
  234. Changelog:
  235. -------------------
  236. * Support for the latest HTTP state management specification (RFC 6265).
  237. Contributed by Oleg Kalnichevski <olegk at apache.org>
  238. * [HTTPCLIENT-1515] Caching of responses to HEAD requests
  239. Contributed by Tyrone Cutajar <tj.cutajar at gmail.com> and
  240. Francois-Xavier Bonnet <fx at apache.org>
  241. * [HTTPCLIENT-1560] Native Windows auth improvements
  242. Contributed by Michael Osipov <michaelo at apache.org>
  243. * Update Apache Commons Logging version from 1.1.3 to 1.2.
  244. Contributed by Gary Gregory <ggregory at apache.org>
  245. * Update Apache Commons Codec version from 1.6 to 1.9.
  246. Contributed by Gary Gregory <ggregory at apache.org>
  247. * Update Ehcache version from 2.2.0 to 2.6.9.
  248. Contributed by Gary Gregory <ggregory at apache.org>
  249. * Update Ehcache version from 2.2.0 to 2.6.9.
  250. Contributed by Gary Gregory <ggregory at apache.org>
  251. * Update Spymemcached version from 2.6 to 2.11.4.
  252. Contributed by Gary Gregory <ggregory at apache.org>
  253. * Update SLF4J version from 1.5.11 to 1.7.7.
  254. Contributed by Gary Gregory <ggregory at apache.org>
  255. Release 4.4 BETA1
  256. -------------------
  257. This is the first BETA release of HttpClient 4.4. Notable features and enhancements included
  258. in 4.4 series are:
  259. * Enhanced redesigned and rewritten default SSL hostname verifier with improved RFC 2818
  260. compliance
  261. * Default SSL hostname verifier and default cookie policy now validate certificate identity
  262. and cookie domain of origin against the public suffix list maintained by Mozilla.org
  263. <https://publicsuffix.org/list>
  264. * Native windows Negotiate/NTLM via JNA: when running on Windows OS HttpClient configured to use
  265. native NTLM or SPNEGO authentication schemes can make use of platform specific functionality
  266. via JNA and current user system credentials
  267. * More efficient stale connection checking: indiscriminate connection checking which results
  268. in approximately 20 to 50 ms overhead per request has been deprecated in favor of conditional
  269. connection state validation (persistent connections are to be re-validated only if a specified
  270. period inactivity has elapsed)
  271. * Authentication cache thread-safety: authentication caches used by HttpClient is now thread-safe
  272. and can be shared by multiple threads in order to re-use authentication state for subsequent
  273. requests
  274. This release also includes all fixes from the stable 4.3.x release branch.
  275. Please note that as of 4.4 HttpClient requires Java 1.6 or newer.
  276. Changelog:
  277. -------------------
  278. * [HTTPCLIENT-1547] HttpClient OSGi bundle doesn't import the package "javax.naming".
  279. Contributed by Willem Jiang <ningjiang at apache.org>
  280. * [HTTPCLIENT-1541] Use correct (HTTP/hostname) service principal name for Windows native
  281. Negotiate/NTLM auth schemes.
  282. Contributed by Ka-Lok Fung <ka-lok.fung at sap.com>
  283. * Improved compliance with RFC 2818: default hostname verifier to ignore the common name of the
  284. certificate subject if alternative subject names (dNSName or iPAddress) are present.
  285. Contributed by Oleg Kalnichevski <olegk at apache.org>
  286. * [HTTPCLIENT-1540] Support delegated credentials (ISC_REQ_DELEGATE) by Native windows
  287. native Negotiate/NTLM auth schemes.
  288. Contributed by Ka-Lok Fung <ka-lok.fung at sap.com>
  289. Release 4.4 ALPHA1
  290. -------------------
  291. This is the first ALPHA release of HttpClient 4.4. Notable features and enhancements included
  292. in the 4.4 branch are:
  293. * More efficient stale connection checking: indiscriminate connection checking which results
  294. in approximately 20 to 50 ms overhead per request has been deprecated in favor of conditional
  295. connection state validation (persistent connections are to be re-validated only if a specified
  296. period inactivity has elapsed)
  297. * Native windows Negotiate/NTLM via JNA: when running on Windows OS HttpClient configured to use
  298. native NTLM or SPNEGO authentication schemes can make use of platform specific functionality
  299. via JNA and current user system credentials
  300. * Authentication cache thread-safety: authentication caches used by HttpClient is now thread-safe
  301. and can be shared by multiple threads in order to re-use authentication state for subsequent
  302. requests
  303. This release also includes all fixes from the stable 4.3.x release branch.
  304. Please note that as of 4.4 HttpClient requires Java 1.6 or newer.
  305. Please note that new features included in this release are still considered experimental and
  306. their API may change in the future 4.4 alpha and beta releases.
  307. Changelog:
  308. -------------------
  309. * [HTTPCLIENT-1493] Indiscriminate connection checking has been deprecated in favor of conditional
  310. connection state validation. Persistent connections are to be re-validated only after a defined
  311. period inactivity prior to being leased to the consumer.
  312. Contributed by Oleg Kalnichevski <olegk at apache.org>
  313. * [HTTPCLIENT-1519] Use the original HttpHost instance passed as a parameter to
  314. HttpClient#execute when generating 'Host' request header.
  315. Contributed by Oleg Kalnichevski <olegk at apache.org>
  316. * [HTTPCLIENT-1491] Enable provision of Service Principal Name in Windows native
  317. auth scheme.
  318. Contributed by Malcolm Smith <malcolmfsmith at gmail.com>
  319. * [HTTPCLIENT-1403] Pluggable content decoders.
  320. Contributed by Oleg Kalnichevski <olegk at apache.org>
  321. * [HTTPCLIENT-1466] FileBodyPart#generateContentType() ignores custom ContentType values.
  322. Contributed by Oleg Kalnichevski <olegk at apache.org>
  323. * [HTTPCLIENT-1461] fixed performance degradation in gzip encoded content processing
  324. introduced by HTTPCLIENT-1432.
  325. Contributed by Oleg Kalnichevski <olegk at apache.org>
  326. * [HTTPCLIENT-1457] Incorrect handling of Windows (NT) credentials by
  327. SystemDefaultCredentialsProvider.
  328. Contributed by Oleg Kalnichevski <olegk at apache.org>
  329. * [HTTPCLIENT-1456] Request retrial after status 503 causes ClientProtocolException.
  330. Contributed by Oleg Kalnichevski <olegk at apache.org>
  331. * [HTTPCLIENT-1454] Make connection operator APIs public.
  332. Contributed by Tamas Cservenak <tamas at cservenak.net>
  333. * Update JUnit to version 4.11 from 4.9
  334. Contributed by Gary Gregory <ggregory at apache.org>
  335. Release 4.3.4
  336. -------------------
  337. HttpClient 4.3.4 (GA) is a maintenance release that improves performance in high concurrency
  338. scenarios. This version replaces dynamic proxies with custom proxy classes and eliminates thread
  339. contention in java.reflect.Proxy.newInstance() when leasing connections from the connection pool
  340. and processing response messages.
  341. Changelog:
  342. -------------------
  343. * Replaced dynamic proxies with custom proxy classes to reduce thread contention.
  344. Contributed by Oleg Kalnichevski <olegk at apache.org>
  345. * [HTTPCLIENT-1484] GzipCompressingEntity should not close the underlying output stream
  346. if the entity has not been fully written out due to an exception.
  347. Contributed by Oleg Kalnichevski <olegk at apache.org>
  348. * [HTTPCLIENT-1474] Fixed broken entity enclosing requests in HC Fluent.
  349. Contributed by Oleg Kalnichevski <olegk at apache.org>
  350. * [HTTPCLIENT-1470] CachingExec(ClientExecChain, HttpCache, CacheConfig, AsynchronousValidator)
  351. throws NPE if config is null
  352. Release 4.3.3
  353. -------------------
  354. HttpClient 4.3.3 (GA) is a bug fix release that fixes a regression introduced by the previous
  355. release causing a significant performance degradation in compressed content processing.
  356. Users of HttpClient 4.3 are encouraged to upgrade.
  357. Changelog:
  358. -------------------
  359. * [HTTPCLIENT-1466] FileBodyPart#generateContentType() ignores custom ContentType values.
  360. Contributed by Oleg Kalnichevski <olegk at apache.org>
  361. * [HTTPCLIENT-1453] Thread safety regression in PoolingHttpClientConnectionManager
  362. #closeExpiredConnections that can lead to ConcurrentModificationException.
  363. Contributed by Oleg Kalnichevski <olegk at apache.org>
  364. * [HTTPCLIENT-1461] fixed performance degradation in compressed content processing
  365. introduced by HTTPCLIENT-1432.
  366. Contributed by Oleg Kalnichevski <olegk at apache.org>
  367. * [HTTPCLIENT-1457] Incorrect handling of Windows (NT) credentials by
  368. SystemDefaultCredentialsProvider.
  369. Contributed by Oleg Kalnichevski <olegk at apache.org>
  370. * [HTTPCLIENT-1456] Request retrial after status 503 causes ClientProtocolException.
  371. Contributed by Oleg Kalnichevski <olegk at apache.org>
  372. Release 4.3.2
  373. -------------------
  374. HttpClient 4.3.2 (GA) is a maintenance release that delivers a number of improvements
  375. as well as bug fixes for issues reported since 4.3.1 release. SNI support for
  376. Oracle JRE 1.7+ is being among the most notable improvements.
  377. Users of HttpClient 4.3 are encouraged to upgrade.
  378. Changelog:
  379. -------------------
  380. * [HTTPCLIENT-1447] Clients created with HttpClients.createMinimal do not work with absolute URIs
  381. Contributed by Joseph Walton <joe at kafsemo dot org>
  382. * [HTTPCLIENT-1446] NTLM proxy + BASIC target auth fails with 'Unexpected state:
  383. MSG_TYPE3_GENERATED'.
  384. Contributed by Oleg Kalnichevski <olegk at apache.org>
  385. * [HTTPCLIENT-1443] HttpCache uses the physical host instead of the virtual host as a cache key.
  386. Contributed by Francois-Xavier Bonnet <fx at apache.org>
  387. * [HTTPCLIENT-1442] Authentication header set by the user gets removed in case
  388. of proxy authentication (affects plan HTTP requests only).
  389. Contributed by Oleg Kalnichevski <olegk at apache.org>
  390. * [HTTPCLIENT-1441] Caching AsynchronousValidationRequest leaks connections.
  391. Contributed by Dominic Tootell <dominic.tootell at gmail.com>
  392. * [HTTPCLIENT-1440] 'file' scheme in redirect location URI causes NPE.
  393. Contributed by James Leigh <james at 3roundstones dot com>
  394. * [HTTPCLIENT-1437] Made Executor#execute thread safe.
  395. Contributed by Oleg Kalnichevski <olegk at apache.org>
  396. * [HTTPCLIENT-1119] SNI support (Oracle Java 1.7+ only).
  397. Contributed by Bruno Harbulot <bruno at distributedmatter.net>
  398. * [HTTPCLIENT-1435] Fluent Executor ignores custom request properties.
  399. Contributed by Oleg Kalnichevski <olegk at apache.org>
  400. * [HTTPCLIENT-1432] Lazy decompressing of HttpEntity#getContent() to avoid EOFException
  401. in case of an empty response with 'Content-Encoding: gzip' header.
  402. Contributed by Yihua Huang <code4crafter at gmail.com>
  403. * [HTTPCLIENT-1431] (Regression) deprecated connection manager cannot be used with
  404. a custom LayeredSchemeSocketFactory.
  405. Contributed by Oleg Kalnichevski <olegk at apache.org>
  406. * [HTTPCLIENT-1425] Fixed socket closed exception thrown by caching HttpClient when the origin
  407. server sends a long chunked response.
  408. Contributed by James Leigh <james at 3roundstones dot com>
  409. * [HTTPCLIENT-1417] Fixed NPE in BrowserCompatSpec#formatCookies caused by version 1
  410. cookies with null cookie value.
  411. Contributed by Oleg Kalnichevski <olegk at apache.org>
  412. * [HTTPCLIENT-1416] Fixed NPE in CachingHttpClientBuilder#build().
  413. Contributed by Oleg Kalnichevski <olegk at apache.org>
  414. Release 4.3.1
  415. -------------------
  416. HttpClient 4.3.1 (GA) is a bug fix release that addresses a number of issues reported since
  417. release 4.3.
  418. Users of HttpClient 4.3 are strongly encouraged to upgrade.
  419. Changelog
  420. -------------------
  421. * [HTTPCLIENT-1410] Browser compatible hostname verifier no longer rejects
  422. *.co.<countrycode>, *.gov.<countrycode>, *.info.<countrycode>, etc as invalid.
  423. Contributed by Oleg Kalnichevski <olegk at apache.org>
  424. * Ensure X509HostnameVerifier is never null.
  425. Contributed by Oleg Kalnichevski <olegk at apache.org>
  426. * [HTTPCLIENT-1405] CONNECT HTTP/1.1 requests lack mandatory 'Host' header.
  427. Contributed by Oleg Kalnichevski <olegk at apache.org>
  428. * [HTTPCLIENT-1402] Cache default User-Agent value.
  429. Contributed by yuexiaojun <junedo at qq.com>
  430. * [HTTPCLIENT-1398] Fixed invalid OSGi metadata caused by corrupted Maven bundle plugin metadata.
  431. Contributed by Oleg Kalnichevski <olegk at apache.org>
  432. * [HTTPCLIENT-1399] Fixed NPE in RequestBuilder.
  433. Contributed by Oleg Kalnichevski <olegk at apache.org>
  434. Release 4.3 Final
  435. -------------------
  436. This is the first stable (GA) release of HttpClient 4.3. The most notable enhancements included
  437. in this release are:
  438. * Support for Java 7 try-with-resources for resource management (connection release.)
  439. * Added fluent Builder classes for HttpEntity, HttpRequest, HttpClient and SSLContext instances.
  440. * Deprecation of preference and configuration API based on HttpParams interface in favor of
  441. constructor injection and plain configuration objects.
  442. * Reliance on object immutability instead of access synchronization for thread safety.
  443. Several old classes whose instances can be shared by multiple request exchanges have
  444. been replaced by immutable equivalents.
  445. * DefaultHttpClient, DecompressingHttpClient, CachingHttpClient and similar classes are
  446. deprecated in favor of builder classes that produce immutable HttpClient instances.
  447. * HttpClient builders now dynamically construct a request execution pipeline tailored
  448. specifically to the user configuration by physically excluding unnecessary protocol components.
  449. * There is now an option to construct a minimal HttpClient implementation that can only execute
  450. basic HTTP message exchanges without redirects, authentication, state management or proxy support.
  451. This feature might be of particular use in web crawler development.
  452. * There is now option to avoid strict URI syntax for request URIs by executing HTTP requests
  453. with an explicitly specified target host. HttpClient will no longer attempt to parse the request
  454. URI if it does not need to extract the target host from it.
  455. This release also includes all fixes from the stable 4.2.x release branch.
  456. Changelog
  457. -------------------
  458. * [HTTPCLIENT-1371] Weak ETag Validation is Useful On PUT With If-Match
  459. Contributed by James Leigh <james at 3roundstones dot com>
  460. * [HTTPCLIENT-1394] Support for Native windows Negotiate/NTLM via JNA
  461. Contributed by Ryan McKinley <ryan at apache.org>
  462. * [HTTPCLIENT-1384] Expose CacheInvalidator interface.
  463. Contributed by Nicolas Richeton <nicolas.richeton at free.fr>
  464. * [HTTPCLIENT-1385] Fixed path normalization in CacheKeyGenerator
  465. Contributed by James Leigh <james at 3roundstones dot com>
  466. * [HTTPCLIENT-1370] Response to non-GET requests should never be cached with the default
  467. ResponseCachingPolicy
  468. Contributed by James Leigh <james at 3roundstones dot com>
  469. * [HTTPCLIENT-1373] OPTIONS and TRACE should not invalidate cache
  470. Contributed by James Leigh <james at 3roundstones dot com>
  471. * [HTTPCLIENT-1383] HttpClient enters an infinite loop during NTLM authentication if the opposite
  472. endpoint keeps responding with a type 2 NTLM response after type 3 MTLM message has already been
  473. sent by the client.
  474. Contributed by Oleg Kalnichevski <olegk at apache.org>
  475. * [HTTPCLIENT-1372] Refactor HttpMultipart, and add RFC6532 mode, so that headers in post
  476. are no longer constrained to ASCII values.
  477. Contributed by Karl Wright <kwright at apache.org>
  478. * [HTTPCLIENT-1377] User principal for non-NTLM authentication is incorrectly generated when using
  479. user credentials are specified as NTCredentials
  480. Contributed by Gary Gregory <ggregory at apache.org>
  481. Release 4.3 BETA2
  482. -------------------
  483. This is the second BETA release of HttpClient 4.3. The most notable features and improvements
  484. in the 4.3 branch are: Support for Java 7 try-with-resources for resource management (connection
  485. release); fluent Builder classes for HttpEntity, HttpRequest and HttpClient instances, deprecation
  486. of preference and configuration API based on HttpParams interface in favor of constructor injection
  487. and plain configuration objects, reliance on object immutability instead of access synchronization
  488. for thread safety.
  489. This release also includes all fixes from the stable 4.2.x release branch.
  490. Changelog
  491. -------------------
  492. * [HTTPCLIENT-1366] org.apache.http.client.utils.URLEncodedUtils should parse the semicolon as a query parameter separator.
  493. Contributed by Gary Gregory <ggregory at apache.org>
  494. * [HTTPCLIENT-1365] NPE when ManagedHttpClientConnectionFactory.create(ConnectionConfig) is called with null.
  495. Contributed by Gary Gregory <ggregory at apache.org>
  496. * [HTTPCLIENT-1362] Better error messages for connect timed out and connection refused
  497. exceptions.
  498. Contributed by Oleg Kalnichevski <olegk at apache.org>
  499. * [HTTPCLIENT-1360] separate out DeflateInputStream as an independent class,
  500. so it can be used by others.
  501. Contributed by Karl Wright <kwright at apache.org>
  502. * [HTTPCLIENT-1359] repeated requests using the same context fail if they redirect.
  503. Contributed by James Leigh <james at 3roundstones.com>
  504. * [HTTPCLIENT-1354] do not quote algorithm parameter in DIGEST auth response.
  505. Contributed by Oleg Kalnichevski <olegk at apache.org>
  506. * [HTTPCLIENT-1351] Added utility method to resolve final location from original request,
  507. target host and a list of redirects.
  508. Contributed by James Leigh <james at 3roundstones.com>
  509. * [HTTPCLIENT-1344] Userinfo credentials in URI should not default to preemptive BASIC
  510. authentication.
  511. Contributed by Oleg Kalnichevski <olegk at apache.org>
  512. * [HTTPCLIENT-1345] Useinfo credentials ignored in redirect location header.
  513. Contributed by Oleg Kalnichevski <olegk at apache.org>
  514. * [HTTPCLIENT-1294] HttpClient to rewrite host name of the redirect location URI in order
  515. to avoid circular redirect exception due to host name case mismatch.
  516. Contributed by Oleg Kalnichevski <olegk at apache.org>
  517. * [HTTPCLIENT-1264] Add support for multiple levels of browser compatibility
  518. to BrowserCompatSpec and BrowserCompatSpecFactory. Include constructor
  519. argument for IE medium-security compatibility.
  520. Contributed by Karl Wright (kwright at apache.org)
  521. * [HTTPCLIENT-1349] SSLSocketFactory incorrectly identifies key passed with keystore as
  522. the keystore password.
  523. Contributed by David Graff <djgraff209 at gmail.com>
  524. * [HTTPCLIENT-1346] Ensure propagation of SSL handshake exceptions.
  525. Contributed by Pasi Eronen <pe at iki.fi>
  526. * [HTTPCLIENT-1343] SSLSocketFactory optional parameters for supported SSL protocols and cipher
  527. suites.
  528. Contributed by Oleg Kalnichevski <olegk at apache.org>
  529. * [HTTPCLIENT-1238] Contribute Bundle Activator And Central Proxy Configuration.
  530. Contributed by Simone Tripodi <simonetripodi at apache.org>
  531. * [HTTPCLIENT-1299] (regression) cache incorrectly disposes of the underlying cache resource
  532. when storing variant entry.
  533. Contributed by James Leigh <james at 3roundstones.com>
  534. * [HTTPCLIENT-1342] Redirects with underscore character in the location hostname cause
  535. "java.lang.IllegalArgumentException: Host name may not be null".
  536. Contributed by Oleg Kalnichevski <olegk at apache.org>
  537. Release 4.3 BETA1
  538. -------------------
  539. This is the first BETA release of HttpClient 4.3. The 4.3 branch enhances HttpClient in several
  540. key areas and includes several notable features and improvements: Support for Java 7
  541. try-with-resources for resource management (connection release); fluent Builder classes for
  542. HttpEntity, HttpRequest and HttpClient instances, deprecation of preference and configuration API
  543. based on HttpParams interface in favor of constructor injection and plain configuration objects,
  544. reliance on object immutability instead of access synchronization for thread safety.
  545. This release also includes all fixes from the stable 4.2.x release branch.
  546. Changelog
  547. -------------------
  548. * [HTTPCLIENT-1317] InetAddressUtils should handle IPv6 Addresses with Embedded IPv4 Addresses
  549. Contributed Sebastian Bazley <sebb at apache.org>.
  550. * [HTTPCLIENT-1320] Leverage javax.net.ssl.SSLSocketFactory#getDefault() to initialize SSL context
  551. based on system defaults instead of using an internal custom routine.
  552. Contributed by Abe Backus <abraham at backus.com> and Oleg Kalnichevski <olegk at apache.org>
  553. * [HTTPCLIENT-1316] Certificate verification rejects IPv6 addresses which are not String-equal.
  554. Contributed Sebastian Bazley <sebb at apache.org>.
  555. * [HTTPCLIENT-1307] Future based asynchronous request execution.
  556. Contributed by Jilles van Gurp <jilles at jillesvangurp.com>
  557. * [HTTPCLIENT-1313] Fixed IllegalStateException in deprecated ThreadSafeClientConnManager.
  558. Contributed by Oleg Kalnichevski <olegk at apache.org>
  559. * [HTTPCLIENT-1298] Add AsynchronousValidator in HttpClientBuilder's list of closeable objects.
  560. Contributed by Martin Meinhold <mmeinhold at atlassian.com>
  561. Release 4.3 ALPHA1
  562. -------------------
  563. This is the first ALPHA release of HttpClient 4.3. The 4.3 branch enhances HttpClient in several
  564. key areas and includes several notable features and improvements: Support for Java 7
  565. try-with-resources for resource management (connection release); fluent Builder classes for
  566. HttpEntity, HttpRequest and HttpClient instances, deprecation of preference and configuration API
  567. based on HttpParams interface in favor of constructor injection and plain configuration objects,
  568. reliance on object immutability instead of access synchronization for thread safety.
  569. We are kindly asking all upstream projects to review API changes and help us improve
  570. the APIs by providing feedback and sharing ideas on dev@hc.apache.org.
  571. This release also includes all fixes from the stable 4.2.x release branch.
  572. Please note that new features included in this release are still considered experimental and
  573. their API may change in the future 4.3 alpha and beta releases.
  574. Changelog
  575. -------------------
  576. * [HTTPCLIENT-1250] Allow query string to be ignored when determining cacheability for
  577. HTTP 1.0 responses.
  578. Contributed by Don Brown <mrdon at twdata.org>
  579. * [HTTPCLIENT-1261] Make SystemDefaultHttpClient honor http.agent system property.
  580. Contributed by Oleg Kalnichevski <olegk at apache.org>
  581. * [HTTPCLIENT-900] Don't enforce URI syntax for messages with an explicit target host.
  582. Contributed by Oleg Kalnichevski <olegk at apache.org>
  583. * [HTTPCLIENT-1190] HttpClient cache does not support "Vary: Cookie"
  584. Contributed by Oleg Kalnichevski <olegk at apache.org>
  585. * [HTTPCLIENT-1259] Calling #abort() on requests executed with DecompressingHttpClient has no
  586. effect.
  587. Contributed by Oleg Kalnichevski <olegk at apache.org>
  588. * [HTTPCLIENT-1253] URIBuilder setParameter() method could exceed the HTTP header size.
  589. Contributed by Oleg Kalnichevski <olegk at apache.org>
  590. * [HTTPCLIENT-1216] Added method to force clean thread-local used by DateUtils.
  591. Contributed by Oleg Kalnichevski <olegk at apache.org>
  592. Release 4.2.3
  593. -------------------
  594. HttpClient 4.2.3 (GA) is a bug fix release that addresses a number of issues reported since
  595. release 4.2.2. This release also includes a thoroughly reworked NTLM authentication engine
  596. which should result in a better compatibility with the newest Microsoft products.
  597. Users of HttpClient 4.x are advised to upgrade.
  598. Changelog
  599. -------------------
  600. * [HTTPCLIENT-1296] NPE gets thrown if you combine a default host with a virtual host
  601. that has a -1 value for the port.
  602. Contributed by Karl Wright <daddywri at gmail.com>
  603. * [HTTPCLIENT-1290] 304 cached response never reused with If-modified-since conditional
  604. requests.
  605. Contributed by Francois-Xavier Bonnet <francois-xavier.bonnet at centraliens.net>
  606. * [HTTPCLIENT-1291] Absolute request URIs without an explicitly specified path are rewritten
  607. to have "/" path).
  608. Contributed by Oleg Kalnichevski <olegk at apache.org>
  609. * [HTTPCLIENT-1286] Request URI rewriting is inconsistent - URI fragments are not removed
  610. from absolute request URIs.
  611. Contributed by Oleg Kalnichevski <olegk at apache.org>
  612. * [HTTPCLIENT-1284] HttpClient incorrectly generates Host header when physical connection
  613. route differs from the host name specified in the request URI.
  614. Contributed by Oleg Kalnichevski <olegk at apache.org>
  615. * [HTTPCLIENT-1293] Kerberos and SPNego auth schemes use incorrect authorization header name
  616. when authenticating with a proxy.
  617. Contributed by Oleg Kalnichevski <olegk at apache.org>
  618. * [HTTPCLIENT-1283] NTLM needs to use Locale-independent form of
  619. toUpperCase().
  620. Contributed by Karl Wright <DaddyWri at gmail.com>
  621. * [HTTPCLIENT-1279] Target host responding with status 407 (proxy authentication required)
  622. causes an NPE.
  623. Contributed by Oleg Kalnichevski <olegk at apache.org>
  624. * [HTTPCLIENT-1281] GzipDecompressingEntity does not release InputStream when an IOException
  625. occurs while reading the Gzip header
  626. Contributed by Francois-Xavier Bonnet <francois-xavier.bonnet at centraliens.net>
  627. * [HTTPCLIENT-1277] Caching client sends a 304 to an unconditional request.
  628. Contributed by Francois-Xavier Bonnet <francois-xavier.bonnet at centraliens.net>
  629. * [HTTPCLIENT-1278] Update NTLM documentation.
  630. Contributed by Karl Wright <DaddyWri at gmail.com>
  631. * SystemDefaultHttpClient misinterprets 'http.keepAlive' default value and disables
  632. connection persistence if the system property is not set. This causes connection
  633. based authentication schemes such as NTLM to fail.
  634. * [HTTPCLIENT-1276] cache update on a 304 response causes NPE.
  635. Contributed by Francois-Xavier Bonnet <francois-xavier.bonnet at centraliens.net>
  636. * [HTTPCLIENT-1273] DecompressingHttpClient does not automatically consume response
  637. content in case of an i/o, HTTP or runtime exception thrown by the decompressing
  638. protocol interceptor leading to a potential connection leak.
  639. Contributed by Oleg Kalnichevski <olegk at apache.org>
  640. * [HTTPCLIENT-1268] NTLM engine refactor fix, to correct a buffer overrun, and get NTLMv2
  641. flags right.
  642. Contributed by Karl Wright <DaddyWri at gmail.com>
  643. * [HTTPCLIENT-1266] NTLM engine refactoring and compatibility improvements.
  644. Contributed by Karl Wright <DaddyWri at gmail.com>
  645. * [HTTPCLIENT-1263] BrowserCompatSpec: attribute values containing spaces or special characters
  646. should be enclosed with quotes marks for version 1 cookies.
  647. Contributed by Francois-Xavier Bonnet <francois-xavier.bonnet at centraliens.net>
  648. * [HTTPCLIENT-1263] CachingHttpClient fails to release connections back to the connection
  649. manager for some type of HTTP response messages when used together with DecompressingHttpClient.
  650. Contributed by Francois-Xavier Bonnet <francois-xavier.bonnet at centraliens.net>
  651. * [HTTPCLIENT-1258] Fixed NullPointerException in NTLMEngineImpl caused by null NT domain
  652. attribute.
  653. Contributed by Oleg Kalnichevski <olegk at apache.org>
  654. * [HTTPCLIENT-1254] Redirect with underscore in hostname causes ProtocolException.
  655. Contributed by Oleg Kalnichevski <olegk at apache.org>
  656. * [HTTPCLIENT-1255] AbstractVerifier incorrectly parses certificate CN containing wildcard.
  657. Contributed by Oleg Kalnichevski <olegk at apache.org>
  658. Release 4.2.2
  659. -------------------
  660. HttpClient 4.2.2 (GA) is a bug fix release that addresses a number of issues reported since
  661. release 4.2.1.
  662. Users of HttpClient 4.2 are advised to upgrade.
  663. Changelog
  664. -------------------
  665. * [HTTPCLIENT-1248] Default and lax redirect strategies should not convert requests redirected
  666. with 307 status to GET method.
  667. Contributed by Oleg Kalnichevski <olegk at apache.org>
  668. * [HTTPCLIENT-1215] BasicAuthCache does not take default ports into consideration when
  669. looking up cached authentication details by HttpHost key.
  670. Contributed by Oleg Kalnichevski <olegk at apache.org>
  671. * [HTTPCLIENT-1241] (regression) Preemptive BASIC authentication failure should be considered
  672. final and no further attempts to re-authenticate using the same credentials should be made.
  673. Contributed by Oleg Kalnichevski <olegk at apache.org>
  674. * [HTTPCLIENT-1229] Fixed NPE in BasicClientConnectionManager that can be triggered by releasing
  675. connection after the connection manager has already been shut down.
  676. Contributed by Oleg Kalnichevski <olegk at apache.org>
  677. * [HTTPCLIENT-1227] Date parsing in DateUtils made more efficient.
  678. Contributed by Patrick Linskey <pcl at apache.org>
  679. * [HTTPCLIENT-1224] (regression) NTLM auth not retried after a redirect over a non-persistent
  680. connection.
  681. Contributed by Oleg Kalnichevski <olegk at apache.org>
  682. * [HTTPCLIENT-1223] Cache could be more aggressive on cache invalidations
  683. from Content-Location. Contributed by Jon Moore <jonm at apache.org>.
  684. Contributed by Jon Moore <jonm at apache.org>
  685. * [HTTPCLIENT-1217] AutoRetryHttpClient does not release connection used by the previous response
  686. when request is retried
  687. Contributed by Oleg Kalnichevski <olegk at apache.org>
  688. Release 4.2.1
  689. -------------------
  690. HttpClient 4.2.1 (GA) is a bug fix release that addresses a number of issues reported since
  691. release 4.2.
  692. Users of HttpClient 4.2 are advised to upgrade.
  693. Changelog
  694. -------------------
  695. * [HTTPCLIENT-1209] Redirect URIs are now normalized.
  696. Contributed by Oleg Kalnichevski <olegk at apache.org>
  697. * [HTTPCLIENT-1202] ResponseCachingPolicy should honor explicit cache-control
  698. directives for other status codes
  699. Contributed by Jon Moore <jonm at apache.org>
  700. * [HTTPCLIENT-1199] DecompressingHttpClient strips content from entity enclosing requests
  701. Contributed by Oleg Kalnichevski <olegk at apache.org>
  702. * [HTTPCLIENT-1198] HttpHost is not set in HttpContext in CachingHttpClient.
  703. Contributed by Jon Moore <jonm at apache.org>
  704. * [HTTPCLIENT-1200] DecompressingHttpClient fails to generate correct HttpHost context attribute.
  705. Contributed by Guillaume Castagnino <casta+jira at xwing.info>
  706. * [HTTPCLIENT-1192] URIBuilder encodes query parameters twice.
  707. Contributed by Oleg Kalnichevski <olegk at apache.org> and Sebastian Bazley <sebb at apache.org>.
  708. * [HTTPCLIENT-1196] Fixed NPE in UrlEncodedFormEntity constructor thrown if charset is null.
  709. Contributed by Oleg Kalnichevski <olegk at apache.org>
  710. * [HTTPCLIENT-1193] Fixed regression in the route tracking logic of the default connection manager
  711. causing cross-site redirect failures.
  712. Contributed by Oleg Kalnichevski <olegk at apache.org>
  713. Release 4.2
  714. -------------------
  715. This is the first stable (GA) release of HttpClient 4.2. The most notable enhancements included
  716. in this release are:
  717. * New facade API for HttpClient based on the concept of a fluent interface. The fluent API exposes
  718. only the most fundamental functions of HttpClient and is intended for relatively simple use cases
  719. that do not require the full flexibility of HttpClient. However, the fluent API almost fully
  720. relieves the users from having to deal with connection management and resource deallocation.
  721. * Redesigned and rewritten connection management code.
  722. * Enhanced HTTP authentication API that enables HttpClient to handle more complex authentication
  723. scenarios. HttpClient 4.2 is now capable of making use of multiple authentication challenges
  724. and retry authentication with a fall-back scheme in case the primary one fails. This can be
  725. important for compatibility with Microsoft products that are often configured to use
  726. SPNEGO/Kerberos as the preferred authentication scheme.
  727. Changelog
  728. -------------------
  729. * [HTTPCLIENT-1187] If a revalidation response is deemed too old CachingHttpClient fails to
  730. consume its content resulting in a connection leak.
  731. Contributed by Oleg Kalnichevski <olegk at apache.org>
  732. * [HTTPCLIENT-1186] State of newly created connections in the connection pool is not always
  733. correctly updated potentially allowing those connections to be leased to users with a different
  734. security context.
  735. Contributed by Ralf Poehlmann <rpn at methodpark.de>
  736. * [HTTPCLIENT-1179] Upgraded Commons Codec dependency to version 1.6
  737. Contributed by Oleg Kalnichevski <olegk at apache.org>
  738. * [HTTPCLIENT-1177] always remove fragments from request URIs
  739. Contributed by Oleg Kalnichevski <olegk at apache.org>
  740. Incompatible changes
  741. --------------------
  742. [Compared to release version 4.1.3]
  743. The following fields have been deprecated for some time now and have been deleted:
  744. org.apache.http.client.params.ClientPNames#CONNECTION_MANAGER_FACTORY
  745. org.apache.http.impl.cookie.BrowserCompatSpec#DATE_PATTERNS
  746. The following methods have been deprecated for some time now and have been deleted:
  747. org.apache.http.client.params.ClientParamBean#setConnectionManagerFactory(org.apache.http.conn.ClientConnectionManagerFactory)
  748. org.apache.http.client.protocol.ClientContextConfigurer#setAuthSchemePref(java.util.List)
  749. org.apache.http.entity.mime.content.FileBody#writeTo(java.io.OutputStream, int)
  750. org.apache.http.entity.mime.content.InputStreamBody#writeTo(java.io.OutputStream, int)
  751. org.apache.http.entity.mime.content.StringBody#writeTo(java.io.OutputStream, int)
  752. The following classes have been deprecated for some while now and have been deleted:
  753. org.apache.http.impl.conn.tsccm.RefQueueHandler
  754. org.apache.http.impl.conn.tsccm.AbstractConnPool no longer implements interface org.apache.http.impl.conn.tsccm.RefQueueHandler
  755. org.apache.http.impl.conn.tsccm.ConnPoolByRoute no longer implements interface org.apache.http.impl.conn.tsccm.RefQueueHandler
  756. org.apache.http.impl.conn.tsccm.RefQueueWorker
  757. Release 4.2 BETA1
  758. -------------------
  759. This is the first BETA release of HttpClient 4.2. This release completes development of several
  760. notable enhancements in HttpClient:
  761. * New facade API for HttpClient based on the concept of a fluent interface. The fluent API exposes
  762. only the most fundamental functions of HttpClient and is intended for relatively simple use cases
  763. that do not require the full flexibility of HttpClient. However, the fluent API almost fully
  764. relieves the users from having to deal with connection management and resource deallocation.
  765. * Redesigned and rewritten connection management code. As of release 4.2 HttpClient will be using
  766. pooling connection manager per default.
  767. * Enhanced HTTP authentication API that enables HttpClient to handle more complex authentication
  768. scenarios. HttpClient 4.2 is now capable of making use of multiple authentication challenges
  769. and retry authentication with a fall-back scheme in case the primary one fails. This can be
  770. important for compatibility with Microsoft products that are often configured to use
  771. SPNEGO/Kerberos as the preferred authentication scheme.
  772. Changelog
  773. -------------------
  774. * [HTTPCLIENT-1164] Compressed entities are not being cached properly.
  775. Contributed by Jon Moore <jonm at apache dot org>.
  776. * [HTTPCLIENT-1154] MemcachedHttpCacheStorage should allow client to
  777. specify custom prefix string for keys.
  778. Contributed by Jon Moore <jonm at apache dot org>.
  779. * [HTTPCLIENT-1153] MemcachedHttpCacheStorage uses URL as cache key;
  780. shouldn't due to fixed maximum-length memcached keys.
  781. Contributed by Jon Moore <jonm at apache dot org>.
  782. * [HTTPCLIENT-1157] MemcachedHttpCacheStroage should throw IOExceptions
  783. instead of RuntimeExceptions.
  784. Contributed by James Miller <jamesmiller01 at gmail dot com>.
  785. * [HTTPCLIENT-1152] MemcachedHttpCacheStorage should verify class of
  786. returned object before casting.
  787. Contributed by Rajika Kumarasiri <rajika at wso2 dot com>.
  788. * [HTTPCLIENT-1155] CachingHttpClient fails to ensure that the response content gets fully consumed
  789. when using a ResponseHandler, which can potentially lead to connection leaks.
  790. Contributed by James Miller <jamesmiller01 at gmail dot com>
  791. * [HTTPCLIENT-1147] When HttpClient-Cache cannot open cache file, should act like miss.
  792. Contributed by Joe Campbell <joseph.r.campbell at gmail.com>
  793. * [HTTPCLIENT-1137] Values for the Via header are cached and reused by httpclient-cache.
  794. Contributed by Alin Vasile <alinachegalati at yahoo dot com>
  795. * [HTTPCLIENT-1142] Infinite loop on NTLM authentication failure.
  796. Contributed by Oleg Kalnichevski <olegk at apache.org>
  797. * [HTTPCLIENT-1143] CachingHttpClient leaks connections with stale-if-error.
  798. Contributed by James Miller <jamesmiller01 at gmail dot com>
  799. Release 4.2 ALPHA1
  800. -------------------
  801. This is the first ALPHA release of HttpClient 4.2. The 4.2 branch enhances HttpClient in several
  802. key areas and includes several notable features and improvements:
  803. * New facade API for HttpClient based on the concept of a fluent interface. The fluent API exposes
  804. only the most fundamental functions of HttpClient and is intended for relatively simple use cases
  805. that do not require the full flexibility of HttpClient. However, the fluent API almost fully
  806. relieves the users from having to deal with connection management and resource deallocation.
  807. * Redesigned and rewritten connection management code. As of release 4.2 HttpClient will be using
  808. pooling connection manager per default.
  809. * Enhanced HTTP authentication API that enables HttpClient to handle more complex authentication
  810. scenarios. HttpClient 4.2 is now capable of making use of multiple authentication challenges
  811. and retry authentication with a fall-back scheme in case the primary one fails. This can be
  812. important for compatibility with Microsoft products that are often configured to use
  813. SPNEGO/Kerberos as the preferred authentication scheme.
  814. Please note that new features included in this release are still considered experimental and
  815. their API may change in the future ALPHA releases.
  816. Changelog
  817. -------------------
  818. * [HTTPCLIENT-1128] SystemDefaultHttpClient (HttpClient implementation initialized using system
  819. properties).
  820. Contributed by Oleg Kalnichevski <olegk at apache.org>
  821. * [HTTPCLIENT-1135] RandomAccessFile mode 'w' used by HttpClientCache is not valid.
  822. Contributed by Oleg Kalnichevski <olegk at apache.org>
  823. * [HTTPCLIENT-1131] HttpClient to authenticate preemptively using BASIC scheme if a userinfo
  824. attribute is specified in the request URI.
  825. Contributed by Oleg Kalnichevski <olegk at apache.org>
  826. * [HTTPCLIENT-1134] make BasicResponseHandler consume response content in case of an unsuccessful
  827. result (status code >= 300).
  828. Contributed by Oleg Kalnichevski <olegk at apache.org>
  829. * [HTTPCLIENT-1132] ProxyClient implementation.
  830. Contributed by Oleg Kalnichevski <olegk at apache.org>
  831. * [HTTPCLIENT-1127] fixed dead-lock between SingleClientConnManager and AbstractPooledConnAdapter.
  832. Contributed by Oleg Kalnichevski <olegk at apache.org>
  833. * [HTTPCLIENT-1107] Auth framework redesign.
  834. Contributed by Oleg Kalnichevski <olegk at apache.org>
  835. * [HTTPCLIENT-1116] ResponseCachingPolicy uses integers for sizes
  836. Contributed by Greg Bowyer <gbowyer at fastmail.co.uk >
  837. * [HTTPCLIENT-1123] Support for pluggable DNS resolvers.
  838. Contributed by Alin Vasile <alinachegalati at yahoo dot com>
  839. * [HTTPCLIENT-1120] DefaultHttpRequestRetryHandler#retryRequest should not retry aborted requests.
  840. Contributed by Alin Vasile <alinachegalati at yahoo dot com>
  841. * Support for auth-int qop (quality of protection) option in Digest auth scheme.
  842. Contributed by Oleg Kalnichevski <olegk at apache.org>
  843. * [HTTPCLIENT-1076] Fluent facade API (Google summer of code 2011 project).
  844. Contributed by Xu Lilu <cookieme at gmail.com>
  845. * UriBuilder implementation.
  846. Contributed by Xu Lilu <cookieme at gmail.com>
  847. * Redesign of connection management classes based on new pooling components from HttpCore.
  848. Contributed by Oleg Kalnichevski <olegk at apache.org>
  849. * [HTTPCLIENT-1111] Added #prepareSocket method to SSLSocketFactory.
  850. Contributed by Pasi Eronen <pe at iki.fi>
  851. * Added #reset() and #releaseConnection() methods to HttpRequestBase.
  852. Contributed by Oleg Kalnichevski <olegk at apache.org>
  853. * [HTTPCLIENT-1105] AutoRetryHttpClient: built-in way to do auto-retry for certain status codes.
  854. Contributed by Dan Checkoway <dcheckoway at gmail.com>
  855. * [HTTPCLIENT-1094] Digest auth scheme refactoring.
  856. Contributed by Oleg Kalnichevski <olegk at apache.org>
  857. * Lax implementation of RedirectStrategy.
  858. Contributed by Bartosz Firyn <songo.bercik at interia.pl>
  859. * [HTTPCLIENT-1044] HttpRequestRetryHandler implementation compliant with the definition of
  860. idempotent methods given in the RFC 2616.
  861. Contributed by Oleg Kalnichevski <olegk at apache.org>
  862. Release 4.1.2
  863. -------------------
  864. The HttpClient 4.1.2 is a bug fix release that addresses a number of non-critical issues reported
  865. since release 4.1.1.
  866. * [HTTPCLIENT-1100] Missing Content-Length header makes cached entry invalid
  867. Contributed by Bart Robeyns <bart dot robeyns at gmail dot com>
  868. * [HTTPCLIENT-1098] Avoid expensive reverse DNS lookup on connect timeout exception.
  869. Contributed by Thomas Boettcher <tboett at gmail.com>
  870. * [HTTPCLIENT-1097] BrowserCompatHostnameVerifier and StrictHostnameVerifier should handle
  871. wildcards in SSL certificates better.
  872. Contributed by Sebastian Bazley <sebb at apache.org>
  873. * [HTTPCLIENT-1092] If ClientPNames.VIRTUAL_HOST does not provide the port, derive it from the
  874. current request.
  875. Contributed by Sebastian Bazley <sebb at apache.org>
  876. * [HTTPCLIENT-1087] NTLM proxy authentication fails on retry if the underlying connection is closed
  877. as a result of a target authentication failure.
  878. Contributed by Oleg Kalnichevski <olegk at apache.org>
  879. * [HTTPCLIENT-1079] Fixed Kerberos cross-realm support
  880. Contributed by Michael Osipov <1983-01-06 at gmx.net>
  881. * [HTTPCLIENT-1078] Decompressing entities (DeflateDecompressingEntity, GzipDecompressingEntity)
  882. do not close content stream in #writeTo() method.
  883. Contributed by Oleg Kalnichevski <olegk at apache.org>
  884. * [HTTPCLIENT-1075] Decompressing entities (DeflateDecompressingEntity, GzipDecompressingEntity)
  885. do not correctly handle content streaming.
  886. Contributed by James Abley <james.abley at gmail.com>
  887. * [HTTPCLIENT-1051] Avoid reverse DNS lookups when opening SSL connections by IP address.
  888. Contributed by Oleg Kalnichevski <olegk at apache.org>
  889. Release 4.1.1
  890. -------------------
  891. HttpClient v4.1.1 is a bug fix release that addresses a number of issues reported since
  892. release 4.1, including one critical security issue (HTTPCLIENT-1061). All users of HttpClient 4.0.x
  893. and 4.1 are strongly encouraged to upgrade.
  894. * [HTTPCLIENT-1069] HttpHostConnectException not correctly retried for direct and non-tunnelled
  895. proxy connections.
  896. Contributed by Oleg Kalnichevski <olegk at apache.org>
  897. * [HTTPCLIENT-1066] Changed the way URIUtils#rewriteURI handles multiple consecutive slashes in the
  898. URI path component: multiple leading slashes will be replaced by one slash in order to avoid
  899. confusion with the authority component. The remaining content of the path will not be modified.
  900. (also see HTTPCLIENT-929).
  901. Contributed by Oleg Kalnichevski <olegk at apache.org>
  902. * [HTTPCLIENT-1061] Fixed critical bug causing Proxy-Authorization header to be sent to the target
  903. host when tunneling requests through a proxy server that requires authentication.
  904. Contributed by Oleg Kalnichevski <olegk at apache.org>
  905. * [HTTPCLIENT-1056] Fixed bug causing the RequestAuthCache protocol interceptor to generate
  906. an invalid AuthScope instance when looking up user credentials for preemptive authentication.
  907. Contributed by Oleg Kalnichevski <olegk at apache.org>
  908. * [HTTPCLIENT-1053] Fixed the way DigestScheme generates nonce-count values.
  909. Contributed by Oleg Kalnichevski <olegk at apache.org>
  910. Release 4.1
  911. -------------------
  912. The HttpClient 4.1 release builds upon the stable foundation laid by HttpClient 4.0 and adds several
  913. functional improvements and popular features.
  914. * Response caching conditionally compliant with HTTP/1.1 specification (full compliance with
  915. MUST requirements, partial compliance with SHOULD requirements)
  916. * Full support for NTLMv1, NTLMv2, and NTLM2 Session authentication. The NTLM protocol code
  917. was kindly contributed by the Lucene Connector Framework project.
  918. * Support for SPNEGO/Kerberos authentication.
  919. * Persistence of authentication data between request executions within the same execution context.
  920. * Support for preemptive authentication for BASIC and DIGEST schemes.
  921. * Support for transparent content encoding. Please note transparent content encoding is not
  922. enabled per default in order to avoid conflicts with already existing custom content encoding
  923. solutions.
  924. * Mechanism to bypass the standard certificate trust verification (useful when dealing with
  925. self-signed certificates).
  926. * Simplified configuration for connection managers.
  927. * Transparent support for host multihoming.
  928. IMPORTANT: please note that the HttpClient 3.x branch is now officially END OF LIFE and is no longer
  929. maintained and supported by the Apache HttpComponents project.
  930. Changelog
  931. -------------------
  932. * The public API for the caching module had a minor change between 4.1-beta and 4.1-GA to the
  933. HttpCacheEntry class - the deprecated public Set<String> getVariantURIs() method and constructor
  934. public HttpCacheEntry(Date requestDate, Date responseDate,
  935. StatusLine statusLine, Header[] responseHeaders,
  936. Resource resource, Set<String> variants)
  937. were both removed. This will not affect you unless you are implementing new storage backends
  938. that use the deprecated code and/or are implementing custom serializers for cache entries.
  939. * Changed Browser-Compatibility and Best-Match cookie policies to emulate the behaviour of FireFox
  940. more closely when parsing Netscape style cookies. Comma will no longer be treated as a header
  941. element separator if Set-Cookie does not contain a Version attribute mandated by the
  942. RFC2109 / RFC 2965 cookie specifications.
  943. Contributed by Oleg Kalnichevski <olegk at apache.org>
  944. * [HTTPCLIENT-1036] StringBody has incorrect default for characterset. (Default changed
  945. to US-ASCII)
  946. Contributed by Sebastian Bazley <sebb at apache.org>
  947. * [HTTPCLIENT-975] Support stale-if-error and stale-while-revalidate extension directive (RFC5861).
  948. Contributed by Mohammed Azeem Uddin <mohammedazeem_uddin at comcast.com>,
  949. Michajlo Matijkiw <michajlo_matijkiw at comcast.com>, and
  950. Matthew Hawthorne <matthew_hawthorne at comcast.com>.
  951. * [HTTPCLIENT-1033] HttpRoute.equals(Object o) is quite inefficient, as it does not take full
  952. advantage of shortcut logic.
  953. Contributed by Sebastian Bazley <sebb at apache.org>
  954. * [HTTPCLIENT-1030] Implement "ignoreCookies" CookieSpec
  955. Contributed by Sebastian Bazley <sebb at apache.org>
  956. Release 4.1 BETA1
  957. -------------------
  958. HttpClient 4.1 BETA1 finalizes the 4.1 API and brings a number of major improvements to the HTTP
  959. caching module. This release also adds full support for NTLMv1, NTLMv2, and NTLM2 Session
  960. authentication. The NTLM protocol code was kindly contributed by the Lucene Connector Framework
  961. project.
  962. Changelog
  963. -------------------
  964. * [HTTPCLIENT-1015] Support only-if-cached directive.
  965. Contributed by Michajlo Matijkiw <michajlo_matijkiw at comcast.com>
  966. * [HTTPCLIENT-990] Allow heuristic freshness caching.
  967. Contributed by Michajlo Matijkiw <michajlo_matijkiw at comcast.com>
  968. * [HTTPCLIENT-919] Support for NTLMv1, NTLMv2, and NTLM2 Session authentication.
  969. Contributed by Karl Wright <karl.wright at nokia.com>
  970. * [HTTPCLIENT-1008] Send all variants' ETags on "variant miss".
  971. Contributed by Michajlo Matijkiw <michajlo_matijkiw at comcast.com> and
  972. Mohammed Azeem Uddin <mohammedazeem_uddin at comcast.com>
  973. * [HTTPCLIENT-1011] Handling of IOExceptions thrown by cache components.
  974. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  975. * [HTTPCLIENT-1003] Handle conditional requests in cache.
  976. Contributed by Michajlo Matijkiw <michajlo_matijkiw at comcast.com> and
  977. Mohammed Azeem Uddin <mohammedazeem_uddin at comcast.com>
  978. * [HTTPCLIENT-1002] Stale connection check fails if wire logging is on.
  979. Contributed by Oleg Kalnichevski <olegk at apache.org>
  980. * [HTTPCLIENT-1000] Maximum connection lifetimes settings for ThreadSafeClientConnManager.
  981. Contributed by Michajlo Matijkiw <michajlo_matijkiw at comcast.com>
  982. * [HTTPCLIENT-960] HttpMultipart doesn't generate Content-Type header for binary parts in
  983. BROWSER_COMPATIBLE mode.
  984. Contributed by Oleg Kalnichevski <olegk at apache.org>
  985. * [HTTPCLIENT-998] Cache should use both Last-Modified and ETag for validations when available.
  986. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  987. * [HTTPCLIENT-997] Cache module should handle out-of-order validations properly and unconditionally
  988. refresh.
  989. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  990. * [HTTPCLIENT-994] Cache does not allow client to override origin-specified freshness using
  991. max-stale.
  992. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  993. * [HTTPCLIENT-995] Cache returns cached responses even if validators not consistent with all
  994. conditional headers.
  995. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  996. * [HTTPCLIENT-977] Memcached implementation for HttpCache.
  997. Contributed by Mohammed Azeem Uddin <mohammedazeem_uddin at comcast.com>
  998. * [HTTPCLIENT-992] cache should not generate stale responses to requests explicitly requesting
  999. first-hand or fresh ones.
  1000. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  1001. * [HTTPCLIENT-991] cache module produces improperly formatted Warning header when revalidation
  1002. fails.
  1003. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  1004. * [HTTPCLIENT-989] DefaultHttpRequestRetryHandler no longer retries non-idempotent http methods
  1005. if NoHttpResponseException is thrown.
  1006. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1007. * [HTTPCLIENT-988] Cache module should strip 'Content-Encoding: identity' from responses
  1008. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  1009. * [HTTPCLIENT-987] cache module does not recognize equivalent URIs.
  1010. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  1011. * [HTTPCLIENT-986] cache module does not completely handle upstream Warning headers correctly
  1012. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  1013. * [HTTPCLIENT-985] cache module should populate Via header to capture upstream and downstream protocols
  1014. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  1015. * [HTTPCLIENT-984] Additional conditional compliance tests for the caching module for
  1016. Content-Encoding, Content-Location, Date, Expires, Server, Transfer-Encoding, and Vary headers.
  1017. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  1018. * [HTTPCLIENT-978] HTTP cache update exception handling
  1019. Contributed by Michajlo Matijkiw <michajlo_matijkiw at comcast.com>
  1020. * [HTTPCLIENT-981] CachingHttpClient returns a 411 respones when executing a POST (HttpPost)
  1021. request.
  1022. Contributed by Joe Campbell <joseph.r.campbell at gmail.com>
  1023. * [HTTPCLIENT-980] CachingHttpClient returns a 503 response when the backend HttpClient produces
  1024. an IOException.
  1025. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  1026. * [HTTPCLIENT-978] Ehcache based HTTP cache implementation
  1027. Contributed by Michajlo Matijkiw <michajlo_matijkiw at comcast.com>
  1028. * [HTTPCLIENT-967] support for non-shared (private) caches
  1029. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  1030. * [HTTPCLIENT-969] BasicCookieStore#getCookies() to return a copy of Cookie list
  1031. Contributed by David Smiley <dsmiley at mitre.org>
  1032. * [HTTPCLIENT-965] Fixed problem with cache not honoring must-revalidate or
  1033. proxy-revalidate Cache-Control directives.
  1034. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  1035. * [HTTPCLIENT-964] 'no-cache' directives with field names are no longer transmitted
  1036. downstream.
  1037. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  1038. * [HTTPCLIENT-963] Fixed handling of 'Cache-Control: no-store' on requests.
  1039. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  1040. * [HTTPCLIENT-962] Fixed handling of Authorization headers in shared cache mode.
  1041. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  1042. * [HTTPCLIENT-961] Not all applicable URIs are invalidated on PUT/POST/DELETEs
  1043. that pass through client cache.
  1044. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  1045. * [HTTPCLIENT-958] Client cache no longer allows incomplete responses to be
  1046. passed on to the client.
  1047. Contributed by Jonathan Moore <jonathan_moore at comcast.com>
  1048. * [HTTPCLIENT-951] Non-repeatable entity enclosing requests are not correctly
  1049. retried when 'expect-continue' handshake is active.
  1050. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1051. * [HTTPCLIENT-948] In rare circumstances the idle connection handling code
  1052. can leave closed connections in a inconsistent state.
  1053. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1054. * [HTTPCLIENT-953] IllegalStateException thrown by RouteSpecificPool.
  1055. Contributed by Guillaume <gueugaie at gmail.com>
  1056. * [HTTPCLIENT-952] Trust store parameter is ignored by SSLSocketFactory
  1057. (affects version 4.1-alpha2 only)
  1058. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1059. * [HTTPCLIENT-937] CacheEntry made immutable; now uses immutable HttpEntity
  1060. to store cached content.
  1061. Contributed by David Mays <david_mays at comcast.com> and
  1062. Oleg Kalnichevski <olegk at apache.org>
  1063. Release 4.1 ALPHA2
  1064. -------------------
  1065. HttpClient 4.1 ALPHA2 fixes a number of non-severe bugs discovered since
  1066. the last release and introduces support for two frequently requested features:
  1067. * HTTP/1.1 response caching
  1068. * transparent support for host multihoming
  1069. * a mechanism to bypass the standard certificate trust verification
  1070. (useful when dealing with self-signed certificates)
  1071. Compatibility notes
  1072. -------------------
  1073. (1) Please note the HTTP caching module is still considered experimental and
  1074. its API may change significantly in the future releases.
  1075. (2) This release eliminates Mime4J as a dependency for the HttpMime module.
  1076. HttpMime is no longer binary compatible with the previous releases.
  1077. Full API and binary compatibility between minor versions of HttpMime will be
  1078. maintained as of 4.1 GA release.
  1079. Changelog
  1080. -------------------
  1081. * [HTTPCLIENT-936] Fixed bug causing NPE or an infinite loop in
  1082. the authentication code in case of a SPNEGO authentication failure.
  1083. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1084. * [HTTPCLIENT-427] HTTP caching support
  1085. Contributed by Joe Campbell, David Cleaver, David Mays, Jon Moore, Brad Spenla
  1086. * Dropped dependency on Mime4j for HttpMime.
  1087. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1088. * Extended SSLSocketFactory with a mechanism to bypass the standard certificate
  1089. trust verification (primarily to simplify dealing with self-signed
  1090. certificates)
  1091. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1092. * [HTTPCLIENT-898] Improved support for host multihoming
  1093. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1094. * [HTTPCLIENT-916] UsernamePasswordCredentials, NTUserPrincipal,
  1095. BasicClientCookie, BasicClientCookie2 and BasicCookieStore made Serializable.
  1096. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1097. * [HTTPCLIENT-914] Upgraded Commons Codec dependency to version 1.4
  1098. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1099. * [HTTPCLIENT-903] Use ConcurrentHashMap instead of [Linked]HashMap for
  1100. thread-safety. Improve performance of AuthSchemeRegistry, CookieSpecRegistry
  1101. and SchemeRegistry classes.
  1102. Contributed by Sebastian Bazley <sebb at apache.org>
  1103. * [HTTPCLIENT-902] HttpRequestRetryHandler not called on I/O exceptions
  1104. thrown when opening a new connection.
  1105. Contributed by Olivier Lamy <olamy at apache.org> and
  1106. Oleg Kalnichevski <olegk at apache.org>
  1107. Release 4.1 ALPHA1
  1108. -------------------
  1109. HttpClient 4.1 ALPHA1 builds on the stable 4.0 release and adds several
  1110. functionality improvements and new features.
  1111. * Simplified configuration of connection managers.
  1112. * Persistence of authentication data between request executions within
  1113. the same execution context.
  1114. * Support for SPNEGO/Kerberos authentication scheme
  1115. * Support for transparent content encoding. Please note transparent content
  1116. encoding is not enabled per default in order to avoid conflicts with
  1117. already existing custom content encoding solutions.
  1118. * 5 to 10% performance increase due to elimination of unnecessary Log object
  1119. lookups by short-lived components.
  1120. Please note all methods and classes added in this release and marked as
  1121. 4.1 are API unstable and can change in the future 4.1 ALPHA releases.
  1122. Changelog
  1123. -------------------
  1124. * [HTTPCLIENT-889] 'expect: continue' handshake disabled per default.
  1125. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1126. * [HTTPCLIENT-862] Extended client's redirect handling interface to allow
  1127. control of the content of the redirect.
  1128. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1129. * [HTTPCLIENT-872] HttpClient can now persist authentication data between request
  1130. executions as long as they share the same execution context. It has also become
  1131. much easier to make HttpClient authenticate preemptively by pre-populating
  1132. authentication data cache.
  1133. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1134. * [HTTPCLIENT-883] SO_TIMEOUT is not reset on persistent (re-used) connections.
  1135. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1136. * [HTTPCLIENT-832] Distinguish cookie format errors from violations of
  1137. restrictions imposed by a cookie specification. In the latter case
  1138. CookieRestrictionViolationException will be thrown.
  1139. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1140. * [HTTPCLIENT-523] Support for SPNEGO authentication scheme.
  1141. Contributed by Matthew Stevenson <mavricknzwork at yahoo.com>
  1142. * Simplified configuration of connection managers. Total connection maximum
  1143. and maximum connection per route limits can be set using methods of
  1144. the class instead of HTTP parameters.
  1145. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1146. * Added parameters to define the order of preference for supported auth
  1147. schemes for target host and proxy authentication.
  1148. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1149. * [HTTPCLIENT-875] DefaultClientConnectionOperator#openConnection doesn't
  1150. update the connection state if the connection socket changed after
  1151. the call to SocketFactory#connectSocket().
  1152. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1153. * [HTTPCLIENT-834] Transparent content encoding support.
  1154. Contributed by James Abley <james.abley at gmail.com>
  1155. Release 4.0.1
  1156. -------------------
  1157. This is a bug fix release that addresses a number of issues discovered since
  1158. the previous stable release. None of the fixed bugs is considered critical.
  1159. Most notably this release eliminates eliminates dependency on JCIP annotations.
  1160. This release is also expected to improve performance by 5 to 10% due to
  1161. elimination of unnecessary Log object lookups by short-lived components.
  1162. Changelog
  1163. -------------------
  1164. * [HTTPCLIENT-895] Eliminated Log lookups in short lived objects impairing
  1165. performance.
  1166. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1167. * [HTTPCLIENT-885] URLEncodedUtils now correctly parses form-url-encoded
  1168. entities that specify a charset.
  1169. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1170. * [HTTPCLIENT-884] UrlEncodedFormEntity now sets charset on the Content-Type
  1171. header.
  1172. Contributed by Jared Jacobs <jmjacobs at cs.stanford.edu>
  1173. * [HTTPCLIENT-883] SO_TIMEOUT is not reset on persistent (re-used) connections.
  1174. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1175. * [HTTPCLIENT-882] Auth state is now correctly updated if a successful NTLM
  1176. authentication results in a redirect. This is a minor bug as HttpClient
  1177. manages to recover from the problem automatically.
  1178. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1179. * [HTTPCLIENT-881] Fixed race condition in AbstractClientConnAdapter that makes
  1180. it possible for an aborted connection to be returned to the pool.
  1181. Contributed by Tim Boemker <tboemker at elynx.com> and
  1182. Oleg Kalnichevski <olegk at apache.org>
  1183. * [HTTPCLIENT-866] Removed dependency on jcip-annotations.jar.
  1184. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1185. and Sebastian Bazley <sebb at apache.org>
  1186. Release 4.0
  1187. -------------------
  1188. HttpClient 4.0 represents a complete, ground-up redesign and almost a complete
  1189. rewrite of the HttpClient 3.x codeline. This release finally addresses several
  1190. design flaws that existed since the 1.0 release and could not be fixed without
  1191. a major code overhaul and breaking API compatibility.
  1192. Architectural changes
  1193. ---------------------
  1194. * Redesign of the HttpClient internals addressing all known major
  1195. architectural shortcomings of the 3.x codeline.
  1196. * Cleaner, more flexible and expressive API.
  1197. * More modular structure.
  1198. * Better performance and smaller memory footprint due to a more efficient HTTP
  1199. transport based on HttpCore.
  1200. * Implementation of cross-cutting HTTP protocol aspects through protocol
  1201. interceptors.
  1202. * Improved connection management, better handling of persistent connections,
  1203. support for stateful connections
  1204. * Pluggable redirect and authentication handlers.
  1205. * Improved support for sending requests via a proxy or a chain of proxies
  1206. * More flexible SSL context customization
  1207. * Reduced intermediate garbage in the process of generating HTTP requests
  1208. and parsing HTTP responses
  1209. Important notes
  1210. -------------------
  1211. * Future releases of HttpMime module may be binary incompatible with this
  1212. release due to possible API changes in Apache Mime4J. Apache Mime4J is
  1213. still being actively developed and its API is considered unstable.
  1214. * HttpClient 4.0 is not fully binary compatible with 4.0 BETA1 release.
  1215. Some protected variables in connection management class have been
  1216. made final in order to help ensure their thread safety:
  1217. org.apache.http.conn.BasicEofSensorWatcher#attemptReuse
  1218. org.apache.http.conn.BasicEofSensorWatcher#managedConn
  1219. org.apache.http.impl.conn.DefaultClientConnectionOperator#schemeRegistry
  1220. org.apache.http.impl.conn.DefaultHttpRoutePlanner#schemeRegistry
  1221. org.apache.http.impl.conn.ProxySelectorRoutePlanner#schemeRegistry
  1222. org.apache.http.impl.conn.SingleClientConnManager#alwaysShutDown
  1223. org.apache.http.impl.conn.SingleClientConnManager#connOperator
  1224. org.apache.http.impl.conn.SingleClientConnManager#schemeRegistry
  1225. org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager#connOperator
  1226. org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager#schemeRegistry
  1227. Bug fixes since 4.0 BETA2 release
  1228. -------------------
  1229. * [HTTPCLIENT-861] URIUtils#resolve is now compatible with all examples given
  1230. in RFC 3986.
  1231. Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
  1232. * [HTTPCLIENT-860] HttpClient no longer converts redirects of PUT/POST to GET
  1233. for status codes 301, 302, 307, as required by the HTTP spec.
  1234. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1235. * [HTTPCLIENT-859] CookieIdentityComparator now takes path attribute into
  1236. consideration when comparing cookies.
  1237. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1238. * HttpClient will no longer send expired cookies back to the origin server.
  1239. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1240. * [HTTPCLIENT-856] Proxy NTLM authentication no longer fails on a redirect to
  1241. a different host.
  1242. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1243. * [HTTPCLIENT-841] Removed automatic connection release using garbage collection
  1244. due to a memory leak.
  1245. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1246. * [HTTPCLIENT-853] Fixed bug causing invalid cookie origin port to be selected
  1247. when the target is accessed on the default port and the connection is
  1248. established via a proxy.
  1249. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1250. * [HTTPCLIENT-852] Fixed bug causing automatically retried redirects fail with
  1251. CircularRedirectException.
  1252. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1253. * Fixed problem with the default HTTP response parser failing to handle garbage
  1254. preceding a valid HTTP response.
  1255. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1256. * NonRepeatableRequestExceptions now include the cause that the original
  1257. request failed.
  1258. Contributed by Sam Berlin <sberlin at apache.org>
  1259. * [HTTPCLIENT-837] Fixed problem with the wire log skipping zero byte values
  1260. if read one byte at a time.
  1261. Contributed by Kirill Safonov <ksafonov at swiftteams.com>
  1262. * [HTTPCLIENT-823] 'http.conn-manager.max-total' parameter can be adjusted
  1263. dynamically. However, the size of existing connection pools per route,
  1264. once allocated, will not be adjusted.
  1265. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1266. * [HTTPCLIENT-822] Default socket factories to rethrow SocketTimeoutException
  1267. as ConnectTimeoutException in case of connect failure due to a time out.
  1268. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1269. * [HTTPCLIENT-813] Fixed default port resolution. Invalid ports no longer
  1270. get replaced with the default port value.
  1271. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1272. Release 4.0 beta 2
  1273. -------------------
  1274. BETA2 is a maintenance release, which addresses a number of issues
  1275. discovered since the previous release.
  1276. The only significant new feature is an addition of an OSGi compliant
  1277. bundle combining HttpClient and HttpMime jars.
  1278. All upstream projects are strongly encouraged to upgrade.
  1279. * Fixed NPE in DefaultRequestDirector thrown when retrying a failed
  1280. request over a proxied connection.
  1281. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1282. * [HTTPCLIENT-803] Fixed bug in SSL host verifier implementations
  1283. causing the SSL certificate to be rejected as invalid if the connection
  1284. is established using an IP address.
  1285. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1286. * [HTTPCLIENT-806] DefaultHttpMethodRetryHandler will no longer retry
  1287. on ConnectExceptions.
  1288. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1289. * DigestScheme can use an arbitrary digest algorithm requested by the
  1290. target server (such as SHA) as long as this algorithm is supported by
  1291. the Java runtime.
  1292. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1293. * Fixed parsing and validation of RFC2109 compliant Set-Cookie headers
  1294. by the Best-Match cookie spec.
  1295. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1296. * Fixed bug that can cause a managed connection to be returned from the
  1297. pool in an inconsistent state.
  1298. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1299. 4.0 Beta 1
  1300. -------------------
  1301. BETA1 release brings yet another round of API enhancements and
  1302. improvements in the area of connection management. Among the most notable
  1303. ones is the capability to handle stateful connections such as persistent
  1304. NTLM connections and private key authenticated SSL connections.
  1305. This is the first API stable release of HttpClient 4.0. All further
  1306. releases in the 4.0 code line will maintain API compatibility with this
  1307. release.
  1308. There has been a number of important bug fixes since ALPHA4. All upstream
  1309. projects are encouraged to upgrade to the latest release.
  1310. Please note HttpClient currently provides only limited support for NTLM
  1311. authentication. For details please see NTLM_SUPPORT.txt.
  1312. -------------------
  1313. Changelog:
  1314. -------------------
  1315. * [HTTPCLIENT-790] Protocol interceptors are now correctly invoked when
  1316. executing CONNECT methods.
  1317. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1318. * [HTTPCLIENT-668] Do not use static loggers.
  1319. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1320. * [HTTPCLIENT-781] Respect Keep-Alive header's timeout value.
  1321. Contributed by Sam Berlin <sberlin at apache.org>
  1322. * [HTTPCLIENT-779] Top-level classes (HttpClient, and HttpGet, HttpPut
  1323. and similar HttpMethods) throw fewer checked exceptions.
  1324. Contributed by Sam Berlin <sberlin at apache.org>
  1325. * HttpClient will throw an exception if an attempt is made to retry
  1326. a request with a non-repeatable request entity.
  1327. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1328. * Fixed request re-generation logic when retrying a failed request.
  1329. Auto-generated headers will no accumulate.
  1330. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1331. * [HTTPCLIENT-424] Preemptive authentication no longer limited to BASIC
  1332. scheme only. HttpClient can be customized to authenticate preemptively
  1333. with DIGEST scheme.
  1334. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1335. * [HTTPCLIENT-670] Pluggable hostname resolver.
  1336. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1337. * [HTTPCLIENT-719] Clone support for HTTP request and cookie objects.
  1338. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1339. * [HTTPCLIENT-776] Fixed concurrency issues with AbstractPoolEntry.
  1340. Contributed by Sam Berlin <sberlin at gmail.com>
  1341. * Resolved a long standing problem with HttpClient not taking into account
  1342. the user context when pooling / re-using connections. HttpClient now
  1343. correctly handles stateful / user specific connections such as persistent
  1344. NTLM connections and SSL connections with client side authentication.
  1345. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1346. * [HTTPCLIENT-773] Improved handling of the 'expires' attribute by the
  1347. 'Best Match' cookie spec.
  1348. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1349. * Partial NTLM support (requires an external NTLM engine). For details see
  1350. NTLM_SUPPORT.txt
  1351. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1352. * Redesigned local execution context management.
  1353. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1354. --------------------------------------
  1355. Release 4.0 Alpha 4
  1356. -------------------
  1357. ALPHA4 marks the completion of the overhaul of the connection management
  1358. code in HttpClient. All known shortcomings of the old HttpClient 3.x
  1359. connection management API have been addressed.
  1360. NTLM authentication remains the only missing major feature in the new
  1361. codeline that prevents us from moving awards the API freeze.
  1362. There has been a number of important bug fixes since ALPHA3. All upstream
  1363. projects are encouraged to upgrade to the latest release.
  1364. -------------------
  1365. HttpClient 3.x features that have NOT yet been ported:
  1366. -------------------
  1367. * NTLM authentication scheme
  1368. -------------------
  1369. Changelog:
  1370. -------------------
  1371. * [HTTPCLIENT-765] String.toLowerCase() / toUpperCase() should specify
  1372. Locale.ENGLISH
  1373. Contributed by Sebastian Bazley <sebb at apache.org>
  1374. * [HTTPCLIENT-769] Do not pool connection marked non-reusable.
  1375. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1376. * [HTTPCLIENT-763] Fixed problem with AbstractClientConnAdapter#abortConnection()
  1377. not releasing the connection if called from the main execution thread while
  1378. there is no blocking I/O operation.
  1379. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1380. * [HTTPCLIENT-652] Added optional state attribute to managed client connections.
  1381. This enables connection managers to correctly handle stateful connections.
  1382. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1383. * [HTTPCLIENT-673] Revised max connections per route configuration
  1384. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1385. * [HTTPCLIENT-753] Class Scheme and related classes moved to a separate package
  1386. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1387. * [HTTPCLIENT-757] Improved request wrapping in the DefaultClientRequestDirector.
  1388. This also fixed the problem with the default proxy set at the client level
  1389. having no effect.
  1390. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1391. * [HTTPCLIENT-734] Request abort will unblock the thread waiting for a connection
  1392. Contributed by Sam Berlin <sberlin at gmail.com>
  1393. * [HTTPCLIENT-759] Ensure release of connections back to the connection manager
  1394. on exceptions.
  1395. Contributed by Sam Berlin <sberlin at gmail.com>
  1396. * [HTTPCLIENT-758] Fixed the use of generics in AbstractHttpClient
  1397. #removeRequestInterceptorByClass and #removeResponseInterceptorByClass
  1398. Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
  1399. * [HTTPCLIENT-749] HttpParams beans
  1400. Contributed by Stojce Dimski <sdmiski at yahoo.it>
  1401. * [HTTPCLIENT-755] Workaround for known bugs in java.net.URI.resolve()
  1402. Bug ID: 4708535
  1403. Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
  1404. --------------------------------------
  1405. Release 4.0 Alpha 3
  1406. -------------------
  1407. ALPHA3 release brings another round of API refinements and improvements in
  1408. functionality. As of this release HttpClient requires Java 5 compatible
  1409. runtime environment and takes full advantage of generics and new concurrency
  1410. primitives.
  1411. This release also introduces new default cookie policy that selects a cookie
  1412. specification depending on the format of cookies sent by the target host.
  1413. It is no longer necessary to know beforehand what kind of HTTP cookie support
  1414. the target host provides. HttpClient is now able to pick up either a lenient
  1415. or a strict cookie policy depending on the compliance level of the target host.
  1416. Another notable improvement is a completely reworked support for multipart
  1417. entities based on Apache mime4j library.
  1418. -------------------
  1419. HttpClient 3.x features that have NOT yet been ported:
  1420. -------------------
  1421. * NTLM authentication scheme
  1422. -------------------
  1423. Changelog:
  1424. -------------------
  1425. * [HTTPCLIENT-742] common interface for HttpRoute and RouteTracker
  1426. Contributed by Roland Weber <rolandw at apache.org>
  1427. * [HTTPCLIENT-741] Fixed concurrency issues in AbstractClientConnAdapter.
  1428. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1429. * [HTTPCLIENT-726] testcase for spurious wakeups in ThreadSafeClientConnManager
  1430. Contributed by Roland Weber <rolandw at apache.org>
  1431. * [HTTPCLIENT-643] Automatic connect fail-over for multi-home remote servers.
  1432. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1433. * [HTTPCLIENT-735] unsetting of DEFAULT_PROXY and FORCED_ROUTE in hierarchies
  1434. Contributed by Roland Weber <rolandw at apache.org>
  1435. * [HTTPCLIENT-723] route planner based on java.net.ProxySelector
  1436. Contributed by Roland Weber <rolandw at apache.org>
  1437. * [HTTPCLIENT-740] don't start connection GC thread in pool constructor
  1438. Contributed by Roland Weber <rolandw at apache.org>
  1439. * [HTTPCLIENT-736] route planners use SchemeRegistry instead of ConnManager
  1440. Contributed by Roland Weber <rolandw at apache.org>
  1441. * [HTTPCLIENT-730] Fixed rewriting of URIs containing escaped characters
  1442. Contributed by Sam Berlin <sberlin at gmail.com> and
  1443. Oleg Kalnichevski <olegk at apache.org>
  1444. * [HTTPCLIENT-667] Added 'Meta' cookie policy that selects a cookie
  1445. specification depending on the format of the cookie(s).
  1446. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1447. * [HTTPCLIENT-729] Move HttpRoute and related classes to routing package.
  1448. Contributed by Roland Weber <rolandw at apache.org>
  1449. * [HTTPCLIENT-725] Use TimeUnit arguments for timeouts in connection manager.
  1450. Contributed by Roland Weber <rolandw at apache.org>
  1451. * [HTTPCLIENT-677] Connection manager no longer uses Thread.interrupt().
  1452. Contributed by Roland Weber <rolandw at apache.org>
  1453. * [HTTPCLIENT-716] Allow application-defined routes.
  1454. Contributed by Roland Weber <rolandw at apache.org>
  1455. * [HTTPCLIENT-712] Improve HttpRoute API
  1456. Contributed by Roland Weber <rolandw at apache.org>
  1457. * [HTTPCLIENT-711] Bad route computed for redirected requests
  1458. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1459. * [HTTPCLIENT-715] Remove RoutedRequest from API
  1460. Contributed by Roland Weber <rolandw at apache.org>
  1461. * [HTTPCLIENT-705] Fixed incorrect handling of URIs with null path component.
  1462. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1463. * [HTTPCLIENT-688] HttpOptions#getAllowedMethods can now handle multiple
  1464. Allow headers.
  1465. Contributed by Andrea Selva <selva.andre at gmail.com>
  1466. --------------------------------------
  1467. Release 4.0 Alpha 2
  1468. -------------------
  1469. ALPHA2 release is another milestone in the redesign of HttpClient. It includes
  1470. a number of improvements since ALPHA1, among which are improved connection
  1471. pooling, support for proxy chains, redesigned HTTP state and authentication
  1472. credentials management API, improved RFC 2965 cookie specification.
  1473. -------------------
  1474. HttpClient 3.x features that have NOT yet been ported
  1475. -------------------
  1476. * NTLM authentication scheme
  1477. * Support for multipart MIME coded entities
  1478. -------------------
  1479. Changelog
  1480. -------------------
  1481. * [HTTPCLIENT-698] Resolve non-absolute redirect URIs relative to
  1482. the request URI
  1483. Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
  1484. * [HTTPCLIENT-697] Throw a more intelligible exception when connection
  1485. to a remote host cannot be established.
  1486. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1487. * [HTTPCLIENT-689] Caching of SimpleDateFormat in DateUtils
  1488. Contributed by Daniel Müller <strider at digitalstrider.com>
  1489. * [HTTPCLIENT-689] stackable parameters in AbstractHttpClient
  1490. Contributed by Roland Weber <rolandw at apache.org>
  1491. * [HTTPCLIENT-477] Use distinct instances of the authentication handler
  1492. interface for authentication with target and proxy hosts
  1493. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1494. * [HTTPCLIENT-690] ManagedClientConnection provides access to SSLSession
  1495. Contributed by Roland Weber <rolandw at apache.org>
  1496. * [HTTPCLIENT-692] ClientConnectionManager throws InterruptedException
  1497. Contributed by Roland Weber <rolandw at apache.org>
  1498. * [HTTPCORE-116] moved parameter names to interfaces
  1499. Contributed by Roland Weber <rolandw at apache.org>
  1500. * [HTTPCLIENT-649] support for proxy chains in HttpConn
  1501. Contributed by Roland Weber <rolandw at apache.org>
  1502. * [HTTPCLIENT-636] refactor ThreadSafeClientConnManager in separate package
  1503. Contributed by Roland Weber <rolandw at apache.org>
  1504. * [HTTPCLIENT-669] new HttpRoutePlanner interface and implementation
  1505. Contributed by Andrea Selva <selva.andre at gmail.com>
  1506. * [HTTPCLIENT-653] detached connection wrapper no longer prevents
  1507. garbage collection of ThreadSafeClientConnManager
  1508. Contributed by Roland Weber <rolandw at apache.org>
  1509. * [HTTPCLIENT-674] use org.apache.http.util.VersionInfo instead of a local one
  1510. Contributed by Roland Weber <rolandw at apache.org>
  1511. * [HTTPCLIENT-666] Replaced HttpState with CredentialsProvier and CookieStore interfaces
  1512. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1513. * [HTTPCORE-100] revised HttpContext hierarchy
  1514. Contributed by Roland Weber <rolandw at apache.org>
  1515. * [HTTPCLIENT-618] eliminate class HostConfiguration
  1516. Contributed by Roland Weber <rolandw at apache.org>
  1517. * [HTTPCLIENT-672] re-sync with API changes in core alpha6-SNAPSHOT
  1518. Contributed by Roland Weber <rolandw at apache.org>
  1519. --------------------------------------
  1520. Release 4.0 Alpha 1
  1521. -------------------
  1522. HttpClient 4.0 represents a complete, ground-up redesign and almost a complete
  1523. rewrite of the HttpClient 3.x codeline. This release finally addresses several
  1524. design flaws that existed since the 1.0 release and could not be fixed without
  1525. a major code overhaul and breaking API compatibility.
  1526. The HttpClient 4.0 API is still very experimental and is bound to change
  1527. during the course of the ALPHA development phase. Several important features
  1528. have not yet been ported to the new API.
  1529. Architectural changes
  1530. ---------------------
  1531. * Redesign of the HttpClient internals addressing all known
  1532. major architectural shortcomings of the 3.x codeline
  1533. * Cleaner, more flexible and expressive API
  1534. * Better performance and smaller memory footprint due to a more
  1535. efficient HTTP transport based on HttpCore. HttpClient 4.0 is
  1536. expected to be 10% to 25% faster than HttpClient 3.x codeline
  1537. * More modular structure
  1538. * Pluggable redirect and authentication handlers
  1539. * Support for protocol incerceptors
  1540. * Improved connection management
  1541. * Improved support for sending requests via a proxy or a chain of
  1542. proxies
  1543. * Improved handling redirects of entity enclosing requests
  1544. * More flexible SSL context customization
  1545. * Reduced intermediate garbage in the process of
  1546. generating HTTP requests and parsing HTTP responses
  1547. -------------------
  1548. HttpClient 3.x features that have NOT yet been ported
  1549. -------------------
  1550. * NTLM authentication scheme
  1551. * RFC2965 cookie policy (Cookie2)
  1552. * Support for multipart MIME coded entities
  1553. -------------------
  1554. Changelog
  1555. -------------------
  1556. The following is a list of contributions tracked in JIRA.
  1557. Note that this is not a complete list of contributions or changes.
  1558. Since the API was redesigned completely, tracking everything outside
  1559. of the source code repository would have been too burdensome.
  1560. * [HTTPCLIENT-655] User-Agent string no longer violates RFC
  1561. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1562. * [HTTPCLIENT-541] Virtual host API redesign
  1563. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1564. * [HTTPCLIENT-614] Allow for different strategies when checking
  1565. CN of x509 certificates
  1566. Contributed by Julius Davies <juliusdavies at gmail.com>
  1567. * [HTTPCLIENT-136] Fixed inadequate proxy support
  1568. Long standing architectural problem. Issue opened on 19/Dec/2002.
  1569. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1570. * [HTTPCLIENT-63] Support for pluggable redirect and authentication handlers
  1571. Long standing architectural problem. Issue opened on 15/Jul/2002.
  1572. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1573. * [HTTPCLIENT-245] Fixed redirect handling. HttpClient can now automatically
  1574. handle redirects of entity enclosing requests.
  1575. Long standing architectural problem. Issue opened on 14/Jul/2003.
  1576. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1577. * [HTTPCLIENT-613] HTTPS connections now verify CN of x509 certificates
  1578. Contributed by Julius Davies <juliusdavies at gmail.com>
  1579. * [HTTPCLIENT-497] Wire/header logger names consistent with class loggers
  1580. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1581. * [HTTPCLIENT-484] AuthSSLProtocolSocketFactory in the main distribution
  1582. Contributed by Oleg Kalnichevski <olegk at apache.org>
  1583. * [HTTPCLIENT-589] Do not consume the remaining response content if
  1584. the connection is to be closed
  1585. Contributed by Roland Weber <rolandw at apache.org>
  1586. * [HTTPCLIENT-475] Support for unconnected sockets. HTTP requests can now be
  1587. aborted while network socket is still being connected.
  1588. Contributed by Roland Weber <rolandw at apache.org>