Commit Graph

144 Commits

Author SHA1 Message Date
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