Commit Graph

221 Commits

Author SHA1 Message Date
Oleg Kalnichevski e0d37d5502 Refactored HttpCacheEntry; new API should allow for cache entries backed by a temporary file
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@980937 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 20:15:39 +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 8cf6a94f60 Fixed request exec count
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@965986 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 20:21:41 +00:00
Oleg Kalnichevski ee323a52fa Deprecated ConnManagerPNames and related classes; 'http.conn-manager.timeout' parameter deprecated in favor of 'http.connection.timeout'; improved javadocs for deprecated classes; renamed methods in ThreadSafeClientConnManager for better consistency
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@965983 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 20:14:09 +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 12e382daf9 Revert change committed by mistake
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@954914 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:40:31 +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
Sebastian Bazley 25071e091c Disambiguate local links so they work with the Doxia 1.1 (which is current for Maven 2.1.0)
(whilst still remaining compatible with the previous Doxia release)

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@954679 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 00:15:49 +00:00
Oleg Kalnichevski a2ad042193 HTTPCLIENT-948: redesign of idle connection handling
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@954659 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 22:00:56 +00:00
Oleg Kalnichevski 0f8ca31e92 HTTPCLIENT-944: maintain separate count of connect attempts
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@954282 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 18:37:25 +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 5f8e3d49de Changed comments
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@954257 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 16:39:31 +00:00
Oleg Kalnichevski 3be7e6ab91 HTTPCLIENT-942: tweaked example
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@953985 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 10:39:36 +00:00
Oleg Kalnichevski 555237285c HTTPCLIENT-951: Test cases
Contributed by Thierry Guérin <thi.guerin at laposte.net>



git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@953890 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 22:10:52 +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 c4c6cfc413 HTTPCLIENT-948: works around the race condition described in HTTPCLIENT-948
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@950717 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 18:52:05 +00:00
Oleg Kalnichevski 60aead5273 TABS -> SPACES
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@947512 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 22:22:00 +00:00
Oleg Kalnichevski 5edc70cd28 HTTPCLIENT-941: Patch changing Mockito to EasyMock
Contributed by Joe Campbell <joseph.r.campbell at gmail.com> 


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@947510 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 22:20:44 +00:00
Oleg Kalnichevski e47331c369 Upgraded project version to 4.1-alpha3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@945301 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 18:46:19 +00:00
Oleg Kalnichevski ca86507442 Updated POMs for the 4.1-alpha2 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943642 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 19:23:18 +00:00
Sebastian Bazley 87273f1751 Make new immutable private fields final
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943635 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 18:55:24 +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 bb0ecdbcb4 HTTPCLIENT-940: deprecated methods dependent on the default charset
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943614 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 18:20:11 +00:00
Oleg Kalnichevski c7f3b744e6 HTTPCLIENT-936: Test cases
Contributed by Francois Rigault <francois dot rigault.amadeus.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943284 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 20:36:26 +00:00
Sebastian Bazley 615001b2ea No need to expose mutable arrays outside the class
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943278 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 20:29:17 +00:00
Oleg Kalnichevski 7381110b46 HTTPCLIENT-939: 302 without redirect location should not cause a protocol exception
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943247 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 19:49:38 +00:00
Oleg Kalnichevski 2b9d94af67 HTTPCLIENT-933: javadoc improvements
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@940214 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 13:20:07 +00:00
Sebastian Bazley b2deb7e3ca Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@940074 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 16:25:44 +00:00
Sebastian Bazley effe3abe30 Stop warning about deliberate unnecessary cast
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@940070 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 16:19:18 +00:00
Sebastian Bazley 955f47e6f5 HTTPCLIENT-932 Fix possible NPE - use sslsock rather than sock
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@940069 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 16:16:59 +00:00
Sebastian Bazley 64c00009a4 Add ThreadSafe annotation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@939872 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 23:15:45 +00:00
Sebastian Bazley 0dcc10684f Fix URL so it is guaranteed invalid forever.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@939870 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 23:03:57 +00:00
Oleg Kalnichevski 160af55cb1 Migrated test cases to JUnit 4.x
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@938585 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 18:02:08 +00:00
Oleg Kalnichevski 4defb0689f TABS -> SPACES
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@937479 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 19:19:23 +00:00
Oleg Kalnichevski 2fd0728ca2 Make it easier to support connections via SOCKS proxies
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@937235 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 10:30:24 +00:00
Oleg Kalnichevski 1c9e9c1e05 Added connect via a SOCKS proxy example
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@937217 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 09:46:21 +00:00
Oleg Kalnichevski 0236581441 Removed calls to deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@937204 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 09:18:11 +00:00
Sebastian Bazley a41e4366f5 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@936335 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 14:47:14 +00:00
Sebastian Bazley 2e1863f080 Javadoc; missing @Overrides
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@936334 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 14:45:06 +00:00
Sebastian Bazley 53d61aa4c6 Unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@936332 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 14:42:47 +00:00
Sebastian Bazley 8d89fa2657 Replace obsolete ${pom.*} with ${project.*}
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@936249 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 10:51:40 +00:00
Oleg Kalnichevski 0f538860bd HTTPCLIENT-909: upgrade all default socket factories to use SO_REUSEADDR parameter
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@934106 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:42:16 +00:00
Oleg Kalnichevski c922b95f71 * Extended SSLSocketFactory with a mechanism to bypass the standard cert trust check (primarily to simplify dealing with self-signed certs)
* Refactored local test server 
* Added more SSL tests 


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@933731 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 18:22:25 +00:00
Oleg Kalnichevski c80ee8a78d HTTPCLIENT-901: pass HttpContext as a parameter to the AuthScheme#authenticate. Some complex auth scheme may require access to the execution context in order to work
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@932051 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 18:29:52 +00:00
Oleg Kalnichevski 42b6aa2f93 HTTPCLIENT-898: Improved multihome network support
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@932018 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 17:26:55 +00:00
Oleg Kalnichevski 14a4e09aa8 Removed deprecated HTTP parameters
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@932014 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 17:21:19 +00:00
Oleg Kalnichevski 8de26bac03 HTTPCLIENT-898: Refactored socket factory API (new socket factory interfaces are better suited for multihome hosts)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@931624 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 17:28:15 +00:00
Oleg Kalnichevski 9b7b9c9ce1 HTTPCLIENT-930: Added protected #createLocationURI method to the DefaultRedirectStrategy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@930560 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 18:36:31 +00:00
Oleg Kalnichevski ba748bf20c HTTPCLIENT-929: Request with two forward slashes for path fails
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@930558 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 18:16:40 +00:00
Oleg Kalnichevski c1c6ba636a Renamed instance vars
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@930353 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 18:54:49 +00:00