Commit Graph

301 Commits

Author SHA1 Message Date
Oleg Kalnichevski 898b33ac21 HTTPCLIENT-1216: Added method to force clean thread-local used by DateUtils
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1364276 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 12:20:27 +00:00
Oleg Kalnichevski 8550f02238 Fixed grammatical error in release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1355406 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 14:31:21 +00:00
Oleg Kalnichevski 2706c4b463 Added Quick Start sources; fixed release notes header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1355393 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 13:59:57 +00:00
Oleg Kalnichevski d0384ac811 Updated release notes and download page for HttpClient 4.2.1 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1354507 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 13:59:14 +00:00
Oleg Kalnichevski da16fdc973 HTTPCLIENT-1209: Redirect URIs are now normalized
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1352845 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 11:05:10 +00:00
Jonathan Moore 2748f2748a HTTPCLIENT-1202: ResponseCachingPolicy had a bug that was making it too
draconian in refusing to cache certain responses.


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1347627 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 14:14:42 +00:00
Oleg Kalnichevski 36c40dab03 HTTPCLIENT-1199: DecompressingHttpClient strips content from entity enclosing requests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1345658 13f79535-47bb-0310-9956-ffa450edef68
2012-06-03 11:45:41 +00:00
Jonathan Moore 4086d02fbc HTTPCLIENT-1198: Updated release notes for bugfix.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1345298 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 18:11:43 +00:00
Oleg Kalnichevski a64a3e252e HTTPCLIENT-1200: DecompressingHttpClient fails to generate correct HttpHost context attribute
Contributed by Guillaume Castagnino <casta+jira at xwing.info>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1344743 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 14:28:38 +00:00
Oleg Kalnichevski 5300548a56 HTTPCLIENT-1192: URIBuilder encodes query parameters twice
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1343355 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 18:29:50 +00:00
Oleg Kalnichevski 0da3e7251e HTTPCLIENT-1193: Fixed regression in the route tracking logic of the default connection manager causing cross-site redirect failures.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1342677 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 15:13:43 +00:00
Oleg Kalnichevski 92ce24b478 Removed non-ascii characters from the release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1339142 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 12:42:40 +00:00
Oleg Kalnichevski 3207392281 Updated release notes for HttpClient 4.2
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1337908 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 15:05:12 +00:00
Oleg Kalnichevski 7a207ae475 Removed code deprecated in release 4.0
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1337893 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 14:11:39 +00:00
Oleg Kalnichevski 1b063abfa9 HTTPCLIENT-1187: If a revalidation response is deemed too old CachingHttpClient fails to consume its content resulting in a connection leak
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1335726 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 19:54:27 +00:00
Oleg Kalnichevski 63d06f06cd HTTPCLIENT-1186: State of newly created connections in the connection pool is not always correctly updated potentially allowing those connections to be leased to users with a different security context
Contributed by Ralf Pöhlmann <rpn at methodpark.de>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1329811 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 15:55:07 +00:00
Oleg Kalnichevski 0fb328d01c HTTPCLIENT-1179: Upgraded Commons Codec dependency to version 1.6
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1311383 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 19:27:03 +00:00
Oleg Kalnichevski be6347aef0 HTTPCLIENT-1177: always remove fragments from request URIs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1311382 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 19:18:35 +00:00
Jonathan Moore 54c7e992fb HTTPCLIENT-1164: Implemented a new CompressionDecorator aimed at replacing
the ContentEncodingHttpClient. This reuses the same request/response
interceptors with some minor additions to make the resulting response
semantically consistent (i.e. if a response is uncompressed, we mark the
entity as having an unknown length and remove the Content-Length header
before passing the response upstream). This allows the CompressionDecorator
and CachingHttpClient to be wired around a DefaultHttpClient in either order
and still get cache hits, depending on whether you want to cache compressed
or uncompressed bodies.

Minor change to ResponseContentEncoding to set a context variable that the
uncompression was applied. Only other change was to deprecate the
ContentEncodingHttpClient.


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1301090 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 17:02:07 +00:00
Oleg Kalnichevski 5e95538a08 Updated HttpClient 4.2-beta1 release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1240775 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 18:16:15 +00:00
Jonathan Moore cac1432472 HTTPCLIENT-1154: MemcachedHttpCacheStorage should allow client
to specify custom prefix string for keys. This is implemented by
providing a decorator KeyHashingScheme that adds the prefix.


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1232588 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 21:35:08 +00:00
Jonathan Moore 58036bc594 HTTPCLIENT-1157: MemcachedHttpCacheStorage should throw IOExceptions instead of RuntimeExceptions.
Contributed by James Miller <jamesmiller01 at gmail dot com>.


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1230174 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 18:12:50 +00:00
Jonathan Moore ae11627878 HTTPCLIENT-1152: Added credit to Rajika Kumarasiri <rajika at wso2 dot com>
to RELEASE_NOTES.txt for 4.2 alpha2.


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1229176 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 14:38:17 +00:00
Oleg Kalnichevski 8f767628cf HTTPCLIENT-1155: CachingHttpClient fails to ensure that the response content gets fully consumed when using a ResponseHandler, which can potentially lead to connection leaks
Contributed by James Miller <jamesmiller01 at gmail dot com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1222845 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 20:59:54 +00:00
Oleg Kalnichevski a6db7c5185 HTTPCLIENT-1147: When HttpClient-Cache cannot open cache file, should act like miss
Contributed by Joe Campbell <joseph.r.campbell at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1209503 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 14:15:11 +00:00
Jonathan Moore fceb87e3bc HTTPCLIENT-1143: Added ASL header to ConsumableInputStream test class.
Credited James Miller in Release Notes.


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1198941 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 21:13:45 +00:00
Jonathan Moore c13bbbdd17 HTTPCLIENT-1137: Added credit for Alin Vasile for his patch to the RELEASE_NOTES.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1197718 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 19:11:31 +00:00
Oleg Kalnichevski ae8e671030 HTTPCLIENT-1142: Infinite loop on NTLM authentication failure
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1197194 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 15:58:05 +00:00
Oleg Kalnichevski 2c54131e0f Release notes for HttpClient 4.2-alpha1 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1195163 13f79535-47bb-0310-9956-ffa450edef68
2011-10-30 14:09:02 +00:00
Oleg Kalnichevski 162f3d6d99 HTTPCLIENT-1131: HttpClient to authenticate preemptively using BASIC scheme if a userinfo attribute is specified in the request URI
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1180120 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 17:49:42 +00:00
Oleg Kalnichevski 72a41afd5e HTTPCLIENT-1116: ResponseCachingPolicy uses integers for sizes
Contributed by Greg Bowyer <gbowyer at fastmail.co.uk >


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1172302 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 16:32:53 +00:00
Oleg Kalnichevski ce13e3606f HTTPCLIENT-1123: Support for pluggable DNS resolvers.
Contributed by Alin Vasile <alinachegalati at yahoo dot com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1165635 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 12:20:26 +00:00
Sebastian Bazley 5d554ccf26 HTTPCLIENT-1120 - DefaultHttpRequestRetryHandler#retryRequest should not retry aborted requests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1164052 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 12:45:02 +00:00
Jonathan Moore 2d017dcc0e HTTPCLIENT-1100: Missing Content-Length header makes cached entry invalid.
Applying patch provided by Bart Robeyns <bart dot robeyns at gmail dot com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1133907 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:01:42 +00:00
Oleg Kalnichevski 92d66f3355 HTTPCLIENT-1098: Avoid expensive reverse DNS lookup on connect timeout excpetion
Contributed by Thomas Boettcher <tboett at gmail.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1132902 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 08:25:24 +00:00
Sebastian Bazley a41eccec14 HTTPCLIENT-1097 BrowserCompatHostnameVerifier and StrictHostnameVerifier should handle wildcards in SSL certificates better.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1130531 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 13:08:15 +00:00
Sebastian Bazley 0e2b207489 HTTPCLIENT-1092 If ClientPNames.VIRTUAL_HOST does not provide the port, derive it from the current request.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1125566 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 20:51:24 +00:00
Oleg Kalnichevski e2fa3ae38f HTTPCLIENT-1087: NTLM proxy authentication fails on retry if the underlying connection is closed as a result of a target authentication failure
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1104207 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 12:54:14 +00:00
Oleg Kalnichevski bc70b1839a HTTPCLIENT-1079: Fixed Kerberos cross-realm support
Contributed by Michael Osipov <1983-01-06 at gmx.net> 


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1091904 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 20:27:27 +00:00
Oleg Kalnichevski 281d9d5f4d HTTPCLIENT-1078: Decompressing entities (DeflateDecompressingEntity, GzipDecompressingEntity) do not close content stream in #writeTo() method
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1091140 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 17:38:37 +00:00
Sebastian Bazley 8f07499411 Trivial readability fix
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1088007 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 11:49:32 +00:00
Oleg Kalnichevski 76989f0ed2 HTTPCLIENT-1075: Decompressing entities (DeflateDecompressingEntity, GzipDecompressingEntity) do not correctly handle content streaming
Contributed by James Abley <james.abley at gmail.com> 


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1088000 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 11:34:52 +00:00
Oleg Kalnichevski 490778e271 HTTPCLIENT-1069: HttpHostConnectException not correctly retried for direct and non-tunnelled proxy connections
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.1.x@1080165 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 09:35:17 +00:00
Oleg Kalnichevski 8162b91e3c HTTPCLIENT-1066: Handling of multiple consecutive slashes in the URI path component
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1078804 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 15:09:03 +00:00
Oleg Kalnichevski a572756592 HTTPCLIENT-1061: Proxy-Authorization header gets sent to the target host when tunneling requests through a proxy that requires authentication
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1074473 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 11:19:23 +00:00
Oleg Kalnichevski f4ef817d25 HTTPCLIENT-1056: Fixed bug causing the RequestAuthCache protocol interceptor to generate an invalid AuthScope instance when looking up user credentials for preemptive authentication
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1068881 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 13:42:33 +00:00
Oleg Kalnichevski 4e64d3961a HTTPCLIENT-1053: Fixed the way DigestScheme generates nonce-count values
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1068546 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:08:00 +00:00
Jonathan Moore d2f42ec455 Proofread the 4.1 GA release notes; just a couple of minor
touchups.


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1058763 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 22:12:31 +00:00
Jonathan Moore 3daa07005e Minor fix for which deprecated constructor was removed.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1058248 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 17:37:16 +00:00
Sebastian Bazley 5ddda40967 Clarify what was actually removed
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1058242 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 17:18:50 +00:00
Jonathan Moore bac69b368f Removed deprecated HttpCacheEntry#getVariantURIs and associated
constructors and fields. Also removed code in surrounding classes
that was providing backwards compatibility for the deprecated
Set-based variant data structure. Made a note in the ChangeLog
about the change to the public API between 4.1-beta and 4.1.


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1058153 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 14:21:32 +00:00
Oleg Kalnichevski 2eb2eda4bb Changed Browser-Compatibility and Best-Match cookie policies to emulate the behaviour of FireFox more closely when parsing Netscape style cookies. Comma will no longer be treated as a header element separator if Set-Cookie does not contain a Version attribute mandated by the RFC2109 / RFC 2965 cookie specifications
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1057148 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 10:57:29 +00:00
Oleg Kalnichevski 13b5092f43 Updated project web site, NOTICE and release notes for the coming 4.1 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1056085 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 21:19:51 +00:00
Sebastian Bazley 1abae928c1 HTTPCLIENT-975 was fixed after 4.1-beta1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1050243 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 00:02:41 +00:00
Sebastian Bazley 3a022b2cf9 HTTPCLIENT-1036 StringBody has incorrect default for characterset.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1050239 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 23:59:08 +00:00
Jonathan Moore 7bb8ecbf98 HTTPCLIENT-975: updated ChangeLog with stale-if-error contribution.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1049183 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 17:24:10 +00:00
Sebastian Bazley 75e94a15dc Copy-paste error, should have been HTTPCLIENT-1033
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1044371 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 14:21:00 +00:00
Sebastian Bazley 9a4d4f8bdd [HTTPCLIENT-1030] HttpRoute.equals(Object o) is quite inefficient, as it does not take full advantage of shortcut logic
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1044366 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 14:15:54 +00:00
Sebastian Bazley fcc33c2962 Update RN
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1042227 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 19:06:35 +00:00
Oleg Kalnichevski 3d938c2534 Updated release notes and project web site for HttpClient 4.1-beta1 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1030515 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 16:14:53 +00:00
Oleg Kalnichevski 29f896a0a3 HTTPCLIENT-919: Support for NTLMv1, NTLMv2, and NTLM2 Session authentication.
Contributed by Karl Wright <karl.wright at nokia.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1023959 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 19:20:08 +00:00
Oleg Kalnichevski 1e70d5a39e HTTPCLIENT-1000: Maximum connection lifetimes settings for ThreadSafeClientConnManager.
Contributed by Michajlo Matijkiw <michajlo_matijkiw at comcast.com>



git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1001144 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 06:35:07 +00:00
Oleg Kalnichevski 05deb28605 HTTPCLIENT-960: HttpMultipart doesn't generate Content-Type header for binary parts in BROWSER_COMPATIBLE mode
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@996639 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 18:55:56 +00:00
Oleg Kalnichevski 5c2dacac18 HTTPCLIENT-989: DefaultHttpRequestRetryHandler no longer retries non-idempotent http methods if NoHttpResponseException is thrown
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@995236 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 20:07:31 +00:00
Oleg Kalnichevski 2112061b16 HTTPCLIENT-978: Ehcache based HTTP cache implementation
Contributed by Michajlo Matijkiw <michajlo_matijkiw at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@987737 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 12:09:15 +00:00
Oleg Kalnichevski c2622c8ca2 HTTPCLIENT-969: BasicCookieStore#getCookies() to return a copy of Cookie list
Contributed by David Smiley <dsmiley at mitre.org>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@967227 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 19:45:47 +00:00
Oleg Kalnichevski 6aad9ccf99 HTTPCLIENT-963: Fixed handling of 'Cache-Control: no-store' on requests
Contributed by Jonathan Moore <jonathan_moore at comcast.com>



git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@963495 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 21:36:47 +00:00
Oleg Kalnichevski e2efb17400 HTTPCLIENT-965: cache does not honor must-revalidate or proxy-revalidate Cache-Control directives
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@961424 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 16:09:34 +00:00
Oleg Kalnichevski 448ff5f344 HTTPCLIENT-964: no-cache directives with field names are no longer transmitted downstream
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@961422 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 16:01:48 +00:00
Oleg Kalnichevski 7b21535a49 HTTPCLIENT-962: Fixed handling of Authorization headers in shared cache mode
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@960338 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 13:57:45 +00:00
Oleg Kalnichevski c85eaa094b HTTPCLIENT-961: Not all applicable URIs are invalidated on PUT/POST/DELETEs that pass through client cache
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@960337 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 13:35:27 +00:00
Oleg Kalnichevski 9b8fb9f02a HTTPCLIENT-958: Client cache no longer allows incomplete responses to be passed on to the client
Contributed by Jonathan Moore <jonathan_moore at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@959941 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 10:31:34 +00:00
Oleg Kalnichevski c80f04cb45 HTTPCLIENT-951: Non-repeatable entity enclosing requests are not correctly retried when 'expect-continue' handshake is active
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@956989 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 19:28:48 +00:00
Oleg Kalnichevski 4b73b9c74e HTTPCLIENT-948: Completed refactoring of the idle connection handling code; cleaned up logging in connection management code
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@954903 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:15:34 +00:00
Oleg Kalnichevski 0bb63c609a HTTPCLIENT-953: IllegalStateException thrown by RouteSpecificPool
Contributed by Guillaume <gueugaie at gmail.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@954258 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 16:40:04 +00:00
Oleg Kalnichevski ade1571f00 HTTPCLIENT-952: Trust store parameter is ingored by SSLSocketFactory
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@953160 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 20:59:41 +00:00
Oleg Kalnichevski ef2839b770 HTTPCLIENT-937: CacheEntry made immutable; now uses immutable HttpEntity to store cached content
Contributed by David Mays <david_mays at comcast.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@947501 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 21:55:20 +00:00
Oleg Kalnichevski 7da47f6827 Updated release notes: added entry on host multihoming
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943685 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 21:06:46 +00:00
Oleg Kalnichevski 13f31eb2db HTTPCLIENT-936: Fixed bug causing NPE or an infinite loop in the authentication code in case of a SPNEGO authentication failure
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943620 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 18:33:17 +00:00
Oleg Kalnichevski 240df7363b HttpClient 4.1-alpha2 release notes and web site updates
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@942869 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 19:42:01 +00:00
Oleg Kalnichevski 283bba855f HTTPCLIENT-427: HTTP caching support
Contributed by Joe Campbell, David Cleaver, David Mays, Jon Moore, Brad Spenla (Comcast Corporation)


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@939814 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 21:00:08 +00:00
Oleg Kalnichevski 379e2a6bfb Dropped dependency on Mime4j
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@934110 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:45:17 +00:00
Oleg Kalnichevski 1628039b85 HTTPCLIENT-916: UsernamePasswordCredentials, NTUserPrincipal, BasicClientCookie, BasicClientCookie2 and BasicCookieStore made Serializable
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@916658 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 12:19:06 +00:00
Oleg Kalnichevski 40f2e9ba92 HTTPCLIENT-914: Upgraded Commons Codec dependency to version 1.4
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@911801 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 12:48:54 +00:00
Sebastian Bazley 77bfc66f7d HTTPCLIENT-903 Use ConcurrentHashMap instead of [Linked]HashMap for thread-safety
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@897644 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10 14:55:47 +00:00
Oleg Kalnichevski c59bd4f3ac HTTPCLIENT-902: HttpRequestRetryHandler not called on I/O exceptions thrown when opening a new connection
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@897305 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 19:17:48 +00:00
Oleg Kalnichevski 9f580578d9 HTTPCLIENT-895: Log object lookups by short lived components impair performance
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@885900 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 20:01:44 +00:00
Oleg Kalnichevski 900c9c0966 Updated release notes for 4.1-alpha1 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@884701 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 21:41:39 +00:00
Oleg Kalnichevski f58f05734b Updated release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@884696 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 20:44:22 +00:00
Oleg Kalnichevski 938813631e Updated release notes for 4.1-alpha1 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@884253 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 20:34:26 +00:00
Oleg Kalnichevski 9d55b80d47 HTTPCLIENT-889: 'expect: continue' handshake disabled per default
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@883868 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 20:52:31 +00:00
Oleg Kalnichevski 51645b1cdf HTTPCLIENT-862: Extended client's redirect handling interface to allow control of the content of the redirect
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@883855 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 20:27:18 +00:00
Oleg Kalnichevski f6699b27ff HTTPCLIENT-872: HttpClient can now persist authentication data between request executions as long as they share the same execution context. It has also become much easier to make HttpClient authenticate preemptively by pre-populating authentication data cache
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@881935 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 21:07:35 +00:00
Oleg Kalnichevski 6df23379f7 HTTPCLIENT-884: Charset omitted from UrlEncodedFormEntity Content-Type header
Contributed by Jared Jacobs <jmjacobs at cs.stanford.edu>

HTTPCLIENT-885: URLEncodedUtils fails to parse form-url-encoded entities that specify a charset


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@832855 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 19:38:53 +00:00
Oleg Kalnichevski 9a5dac386f HTTPCLIENT-883: SO_TIMEOUT is not reset on persistent (re-used) connections
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@829806 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 14:06:58 +00:00
Oleg Kalnichevski 96b8e1d936 HTTPCLIENT-882: Auth state is not correctly updated if a successful NTLM authentication results in a redirect
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@829791 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 13:38:39 +00:00
Oleg Kalnichevski 4b422e1733 HTTPCLIENT-881: Fixed race condition in AbstractClientConnAdapter that makes it possible for an aborted connection to be returned to the pool
Contributed by Tim Boemker <tboemker at elynx.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@825864 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 12:22:27 +00:00
Oleg Kalnichevski dbd7dd0efd HTTPCLIENT-832: Distinguish cookie format errors from violations of restrictions imposed by a cookie specification. In the latter case CookieRestrictionViolationException will be thrown
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@824685 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 10:52:28 +00:00
Oleg Kalnichevski a09823ff00 * Removed superfluous SpnegoCreate flag
* Finalized SPNEGO example and tutorial

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@824409 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 16:26:38 +00:00
Oleg Kalnichevski 30b38eb6e4 Simplified configuration of connection managers. Total connection maximum and maximum connection per route limits can be set using methods of the class instead of HTTP parameters
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@820971 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 11:33:00 +00:00
Oleg Kalnichevski af4b944189 * Added HTTP parameters to define the order of preference for supported auth schemes for target host and proxy authentication
* Added SPNEGO auth policy

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@818601 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 19:35:03 +00:00
Oleg Kalnichevski 44ece542dc HTTPCLIENT-875: DefaultClientConnectionOperator#openConnection doesn't update the connection state if the connection socket changed after the call to SocketFactory#connectSocket()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@813104 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 20:31:05 +00:00
Oleg Kalnichevski d384ec4e3a Merged /httpcomponents/httpclient/branches/branch_4_1:r755593-811107
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@811110 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 20:33:15 +00:00
Oleg Kalnichevski 55d9c6f161 HTTPCLIENT-861: URI reference resolution fails examples in RFC 3986
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@794870 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 21:30:38 +00:00
Oleg Kalnichevski 3c93d00a74 HTTPCLIENT-860: HttpClient no longer converts redirects of PUT/POST to GET for status codes 301, 302, 307, as required by the HTTP spec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@794051 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 20:12:27 +00:00
Oleg Kalnichevski 58a50ef47f Updated release notes for 4.0 final release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@793356 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 14:25:51 +00:00
Oleg Kalnichevski 9a2a3cb732 HTTPCLIENT-859: CookieIdentityComparator now takes path attribute into consideration when comparing cookies
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792645 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 19:29:11 +00:00
Oleg Kalnichevski 2b69ac0ae9 HttpClient will no longer send expired cookies back to the origin server
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792269 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 19:10:52 +00:00
Oleg Kalnichevski db2d11720a HTTPCLIENT-856: Proxy NTLM authentication no longer fails on a redirect to a different host
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@789408 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 18:43:51 +00:00
Oleg Kalnichevski bd2f049ada HTTPCLIENT-841: removed connection garbage collection due to a memory leak
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@784361 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 10:13:36 +00:00
Oleg Kalnichevski b71fefd093 HTTPCLIENT-853: Fixed bug causing invalid cookie origin port to be selected when the target is accessed on the default port and the connection is established via a proxy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@780802 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 20:01:01 +00:00
Oleg Kalnichevski 6681a1193d HTTPCLIENT-852: Fixed bug causing automatically retried redirects fail with CircularRedirectException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@780611 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 10:39:05 +00:00
Oleg Kalnichevski 0b5dd9c3a5 Fixed problem with the default HTTP response parser failing to handle garbage preceding a valid HTTP response
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765294 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 18:19:53 +00:00
Sam Berlin 165507b8d7 include the cause of a NonRepeatableRequestException when failing.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@758447 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 22:05:45 +00:00
Oleg Kalnichevski bc063a1ad0 HTTPCLIENT-837: Fixed problem with the wire log skipping zero byte values if read one byte at a time.
Contributed by Kirill Safonov <ksafonov at swiftteams.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@757528 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 20:14:05 +00:00
Oleg Kalnichevski 2e4ab52fd5 HTTPCLIENT-823: 'http.conn-manager.max-total' parameter can be adjusted dynamically. However, the size of existing
connection pools per route, once allocated, will not be adjusted.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@747762 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 12:16:27 +00:00
Oleg Kalnichevski d855722988 HTTPCLIENT-822: Default socket factories to re-throw SocketTimeoutException as ConnectTimeoutException in case of connect failure due to time out
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744525 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 17:01:38 +00:00
Oleg Kalnichevski dd5061b2ab HTTPCLIENT-813: Fixed default port resolution. Invalid ports no longer get replaced with the default port value.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744520 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 16:46:33 +00:00
Oleg Kalnichevski 61120d5695 Fixed dependency info in README.txt and a typo in RELEASE_NOTES.txt
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@726111 13f79535-47bb-0310-9956-ffa450edef68
2008-12-12 20:22:40 +00:00
Oleg Kalnichevski c6769986be Fixed NPE in DefaultRequestDirector thrown when retrying a failed request over a proxied connection
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@723813 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 18:54:23 +00:00
Oleg Kalnichevski 9570849f9c My optimism about the stability of HttpClient trunk was premature. Most likely more than one BETA will be needed before the final release.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@723810 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 18:48:45 +00:00
Oleg Kalnichevski f4b419ff8a Updated release notes and the web site for HttpClient 4.0-beta2 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@723027 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 19:30:22 +00:00
Oleg Kalnichevski e6a8741780 HTTPCLIENT-803: Fixed bug in SSL host verifier implementations causing the SSL certificate to be rejected as invalid if the connection is established using an IP address
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@709402 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 13:08:23 +00:00
Oleg Kalnichevski e69e89e496 HTTPCLIENT-806: DefaultHttpMethodRetryHandler will no longer retry on ConnectExceptions
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@709159 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 13:56:25 +00:00
Oleg Kalnichevski e434f1367a DigestScheme can use an arbitrary digest algorithm requested by the target server (such SHA) as long as this algorithm is supported by the Java runtime
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@708595 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 15:11:25 +00:00
Oleg Kalnichevski c3b6c426ca Fixed parsing and validation of RFC2109 compliant Set-Cookie headers by the Best-Match cookie spec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@708579 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 14:05:58 +00:00
Oleg Kalnichevski 0cdd9b7fc2 Fixed bug that can cause a managed connection to be returned from the pool in an inconsistent state
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@708170 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 13:27:39 +00:00
Oleg Kalnichevski 9300827b9e Removed outdated jardiff logs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@687115 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 18:05:24 +00:00
Oleg Kalnichevski e07c5a6167 Updated the web site and POM descriptors for 4.0-beta1 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@687114 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 18:03:52 +00:00
Oleg Kalnichevski d2b34bce20 HTTPCLIENT-790: Protocol interceptors not called when executing CONNECT methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@685136 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 12:53:49 +00:00
Oleg Kalnichevski 8a92c9712d HTTPCLIENT-668: removed static loggers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@673172 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 18:52:41 +00:00
Sam Berlin 4752936837 HTTPCLIENT-781 -- respect keep-alive header.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@671717 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 04:03:24 +00:00
Sam Berlin baaef5ace5 add HTTPCLIENT-779 change to release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@664534 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 18:11:52 +00:00
Oleg Kalnichevski a25cb3c6c0 HttpClient will throw an exception if an attempt is made to retry a request with a non-repeatable request entity.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@664066 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 18:13:18 +00:00
Oleg Kalnichevski 650a04c734 Fixed request re-generation logic when retrying a failed request. Auto-generated headers will no accumulate.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@661444 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 19:41:00 +00:00
Oleg Kalnichevski c0cf0c7654 HTTPCLIENT-424: Preemptive authentication no longer limited to BASIC scheme only. HttpClient can be customized to authenticate preemptively with DIGEST scheme
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@659595 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 16:47:14 +00:00
Oleg Kalnichevski a89695fea4 HTTPCLIENT-670: Pluggable hostname resolver
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@659194 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 18:33:47 +00:00
Oleg Kalnichevski 5cd9d169f2 HTTPCLIENT-719: Clone support for HTTP request and cookie objects
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@659191 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 18:26:53 +00:00
Oleg Kalnichevski 1b4ecf0b57 HTTPCLIENT-776: Fixed concurrency issues with AbstractPoolEntry
Contributed by Sam Berlin <sberlin at gmail.com>
Reviewed by Oleg Kalnichevski



git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@658775 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 17:30:45 +00:00
Oleg Kalnichevski 6d0c809900 Resolved a long standing problem with HttpClient not taking into account the user context when pooling / re-using connections. HttpClient now correctly handles stateful / user specific connections such as persistent NTLM connections and SSL connections with client side authentication.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@658759 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 17:06:17 +00:00
Oleg Kalnichevski c9a4970c10 HTTPCLIENT-773: Improved handling of the 'expires' attribute by the 'Best Match' cookie spec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@657334 13f79535-47bb-0310-9956-ffa450edef68
2008-05-17 11:44:16 +00:00
Oleg Kalnichevski 4022a78140 Added NTLM_SUPPORT.txt document describing steps necessary to NTLM enable Httpclient
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@655311 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 13:01:02 +00:00
Sebastian Bazley 5eedce1de8 HTTPCLIENT-765 - String.toLowerCase() / toUpperCase() should specify Locale.ENGLISH
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652952 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 23:52:56 +00:00
Oleg Kalnichevski 18ee596a4d HTTPCLIENT-769: Do not pool connection marked non-reusable
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652945 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 23:10:20 +00:00
Oleg Kalnichevski eea2c52630 Minor change in the release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652457 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 09:33:07 +00:00
Oleg Kalnichevski 67c6704035 Updated release notes for HttpClient 4.0-alpha4 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@651810 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 09:55:02 +00:00
Oleg Kalnichevski 374228c58c HTTPCLIENT-763: AbstractClientConnAdapter#abortConnection() does not release the connection if called from the main execution thread while there is no blocking I/O operation.
AbstractClientConnAdapter#abortConnection() is usually expected to be called from a helper thread in order to unblock the main execution thread blocked in an I/O operation. It may be unsafe to call AbstractClientConnAdapter#releaseConnection() from the helper thread, so we have to rely on an IOException thrown by the closed socket on the main thread to trigger the release of the connection back to the connection manager. However, if this method is called from the main execution thread it should be safe to release the connection immediately. Besides, this also helps ensure the connection gets released back to the manager if AbstractClientConnAdapter#abortConnection() is called from the main execution thread while there is no blocking I/O operation.


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@650225 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 19:14:23 +00:00
Oleg Kalnichevski ad9e79c4d9 HTTPCLIENT-652: Added optional state attribute to managed client connections; this enables connection managers to correctly handle stateful connections
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@649204 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 17:50:13 +00:00
Oleg Kalnichevski bc6b2d7061 HTTPCLIENT-673: Revised max connections per route configuration
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@647810 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 14:17:01 +00:00
Oleg Kalnichevski 47eff4157e HTTPCLIENT-753: Class Scheme and related classes moved to a separate package
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@645850 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 11:08:52 +00:00