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
Oleg Kalnichevski
f2ef6c15a6
HTTPCLIENT-757: Improved request wrapping in the DefaultClientRequestDirector. This also fixed the problem with the default proxy set at the client level having no effect.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@645843 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 10:46:04 +00:00
Oleg Kalnichevski
a72e883d9c
HTTPCLIENT-734: Request abort will unblock the thread waiting for a connection
...
Contributed by Sam Berlin <sberlin at gmail.com>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@638979 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 19:36:02 +00:00
Oleg Kalnichevski
1e153a504c
HTTPCLIENT-759: Ensure release of connections back to the connection manager on exceptions.
...
Contributed by Sam Berlin <sberlin at gmail.com>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@638517 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 19:22:57 +00:00
Oleg Kalnichevski
c84d594f75
HTTPCLIENT-758: Fixed the use of generics in AbstractHttpClient #removeRequestInterceptorByClass and #removeResponseInterceptorByClass
...
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@635675 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 20:00:15 +00:00
Oleg Kalnichevski
8f53912519
HTTPCLIENT-749: HttpParams beans
...
Contributed by Stojce Dimski <sdmiski at yahoo.it>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@632313 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 13:19:50 +00:00
Oleg Kalnichevski
2588e16238
HTTPCLIENT-755: Workaround for known bugs in java.net.URI.resolve() (Bug ID: 4708535)
...
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@632273 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 09:43:28 +00:00
Oleg Kalnichevski
9d186cf123
Updated release notes for the 4.0-alpha3 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@620510 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 16:10:46 +00:00
Roland Weber
2c2dd57f72
HTTPCLIENT-742: common interface for HttpRoute and RouteTracker
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@620254 13f79535-47bb-0310-9956-ffa450edef68
2008-02-10 10:18:48 +00:00
Oleg Kalnichevski
8f6510cc96
HTTPCLIENT-741: Fixed concurrency issues in AbstractClientConnAdapter
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@619937 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 16:48:08 +00:00
Roland Weber
be68c86ffb
added HTTPCLIENT-726, reformatted for 79 cpl
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@619621 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 20:11:26 +00:00
Oleg Kalnichevski
aa020a5c0d
HTTPCLIENT-643: Automatic connect fail-over for multi-home remote servers
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@619163 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 21:41:06 +00:00
Roland Weber
3dde3cc912
release notes for HTTPCLIENT-735
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618139 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 01:00:31 +00:00
Roland Weber
38761e7e46
HTTPCLIENT-723: basic test coverage for ProxySelectorRoutePlanner
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618048 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 18:14:48 +00:00
Roland Weber
3fc63457df
release notes and an exception punctuation
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618020 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 17:06:26 +00:00
Roland Weber
799365d07a
HTTPCLIENT-736: SchemeRegistry instead of ConnectionManager
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617616 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 19:27:30 +00:00
Oleg Kalnichevski
7c4f0f14ca
HTTPCLIENT-730: Fixed rewriting of URIs containing escaped characters
...
Contributed by Sam Berlin <sberlin at gmail.com> and Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@614925 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 16:53:22 +00:00
Oleg Kalnichevski
f3ced2556a
HTTPCLIENT-667:
...
* Completed 'best match' cookie spec implementation
* Added test coverage
* Made the 'best match' cookie policy default
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613865 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 12:04:30 +00:00
Roland Weber
bcc2848421
HTTPCLIENT-729: moved HttpRoute and friends to conn.routing
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613654 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 19:00:19 +00:00
Roland Weber
1d3425c2db
HTTPCLIENT-725: time unit when closing idle connections
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607432 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:50:02 +00:00
Roland Weber
540984183f
HTTPCLIENT-677: no Thread.interrupt() for shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607421 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 14:40:44 +00:00
Roland Weber
7a2a85f25e
HTTPCLIENT-677: don't use interrupt for regular wakeup
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607293 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 17:25:23 +00:00
Roland Weber
298a16321c
HTTPCLIENT-716: new params for route planner, including a forced route
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606447 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 13:04:02 +00:00
Roland Weber
96c6041a7b
HTTPCLIENT-715: release notes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604564 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 08:01:46 +00:00
Oleg Kalnichevski
d417db6bba
HTTPCLIENT-711: Bad route computed for redirected requests
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604433 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 14:35:20 +00:00
Oleg Kalnichevski
c7b26a6450
HTTPCLIENT-705: Fixed incorrect handling of URIs with null path component
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@596230 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 09:19:01 +00:00
Oleg Kalnichevski
3ddce358ae
HTTPCLIENT-688: HttpOptions#getAllowedMethods can now handle multiple Allow headers
...
Contributed by Andrea Selva <selva.andre at gmail.com>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@594946 13f79535-47bb-0310-9956-ffa450edef68
2007-11-14 16:59:15 +00:00
Oleg Kalnichevski
a0578f1038
Corrected HttpClient project description on the front page
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590724 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 15:48:39 +00:00
Oleg Kalnichevski
c3aaaef07d
Fixed typo
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590157 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 17:01:54 +00:00
Oleg Kalnichevski
fdeae16eaf
Updated release notes for 4.0 alpha2 release
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590152 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 16:58:16 +00:00
Oleg Kalnichevski
243769a600
HTTPCLIENT-698: Resolve non-absolute redirect URIs relative to the request URI
...
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@589630 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 13:57:15 +00:00
Oleg Kalnichevski
e445d72146
HTTPCLIENT-697: Throw a more intelligible exception when connection to a remote host cannot be established.
...
Contributed by Oleg Kalnichevski
Reviewed by Ortwin Glück
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@589382 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 16:56:32 +00:00
Oleg Kalnichevski
a8e875970d
HTTPCLIENT-689: Caching of SimpleDateFormat in DateUtils
...
Contributed by Daniel Müller <strider at digitalstrider.com>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@587904 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 15:02:49 +00:00
Roland Weber
13124872f7
HTTPCLIENT-689: parameter stack building moved to AbstractHttpClient
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@586567 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 18:18:21 +00:00
Oleg Kalnichevski
bf541ba1fd
HTTPCLIENT-477: Use distinct instances of the authentication handler interface for authentication with target and proxy hosts
...
Contributed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@585984 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 14:44:26 +00:00
Roland Weber
e033a99de3
HTTPCLIENT-690: provide access to the SSLSession of SSL connections
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@580608 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 17:25:18 +00:00
Roland Weber
a9722d704e
HTTPCLIENT-692: TSCCM throws InterruptedException
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578385 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 07:22:57 +00:00
Roland Weber
c67d2fc640
updated release notes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@576093 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 12:46:36 +00:00
Roland Weber
efe4b9c9c0
HTTPCLIENT-649: ManagedClientConnection now supports proxy chains
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@573844 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 14:20:53 +00:00
Roland Weber
f37224cd0c
HTTPCLIENT-636: BadStaticMaps are gone
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@560288 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 15:49:45 +00:00
Roland Weber
975a559dfc
HTTPCLIENT-669: contributed by Andrea Selva, reviewd by Roland Weber
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@559874 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 16:29:05 +00:00
Roland Weber
86dea0d47c
HTTPCLIENT-653: TSCCM is GCed after conn wrapper detach.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558802 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 17:16:44 +00:00
Roland Weber
8621fbf232
HTTPCLIENT-674: use VersionInfo from core
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558325 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 12:29:49 +00:00
Oleg Kalnichevski
c4a9583527
HTTPCLIENT-666: Replace HttpState with CredentialsProvier and CookieStore interfaces
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558158 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 21:33:17 +00:00
Roland Weber
826d674e3d
adapted examples to HTTPCORE-100, updated release notes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558121 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 20:27:05 +00:00
Roland Weber
d4862a917b
HTTPCLIENT-618: class HostConfiguration is no more
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558079 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 18:13:22 +00:00
Roland Weber
5f99e69191
added contrib attribution, to keep in style
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@557711 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 18:06:29 +00:00
Roland Weber
5a90e4a07c
HTTPCLIENT-672: re-sync with core snapshot
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@557708 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 17:55:05 +00:00
Oleg Kalnichevski
38f23316bb
Added a statement on expected performance improvements to the release notes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@555991 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 13:37:46 +00:00
Roland Weber
377178bd3c
minor textual changes, reformatted to 79 chars/line
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554901 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 10:41:41 +00:00
Oleg Kalnichevski
0c655260d2
4.0 alpha1 release statement
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554694 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 16:09:18 +00:00
Oleg Kalnichevski
b1a5b1e304
Added release notes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554453 13f79535-47bb-0310-9956-ffa450edef68
2007-07-08 21:53:04 +00:00