Commit Graph

192 Commits

Author SHA1 Message Date
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
Oleg Kalnichevski 0be39371e9 Removed calls to deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@930351 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 18:39:50 +00:00
Oleg Kalnichevski 680d449797 HTTPCLIENT-928: RedirectLocations to maintain a list of all redirect URIs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@930221 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 10:03:44 +00:00
Oleg Kalnichevski 46a08fbedb Added missing @since tags
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@919994 13f79535-47bb-0310-9956-ffa450edef68
2010-03-07 13:39:41 +00:00
Oleg Kalnichevski a66a88cb8f Fixed time zone specific test case
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@919448 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 15:26:18 +00:00
Oleg Kalnichevski cb693cae40 Fixed time zone specific test case
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@919424 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 14:08:56 +00:00
Oleg Kalnichevski 1387923be8 HTTPCLIENT-923: NetscapeDraftSpec to allow two digit year in the expiry attribute
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@919394 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 12:46:10 +00:00
Sebastian Bazley 47ffa72411 Tab police
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@917639 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:39:29 +00:00
Oleg Kalnichevski d5d5914de5 Replaced synchronized HashMap with ConcurrentHashMap
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@916946 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 12:10:19 +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 bac075735d HTTPCLIENT-911: test whether redirect URL contains a valid hostname
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@916645 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 11:01:12 +00:00
Oleg Kalnichevski 39a0d0a620 HTTPCLIENT-915: mechanism to attatch user define attributes to connections
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@915013 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 18:45:55 +00:00
Oleg Kalnichevski c5f52dc57d HTTPCLIENT-911: improved handling of invalid request uris (host name containing an underscore)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@909384 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 12:42:45 +00:00
Sebastian Bazley a2ff2dc9dd Make inner class static
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@899963 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 14:27:15 +00:00
Sebastian Bazley 0198742071 Unused variables
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@899962 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 14:26:57 +00:00
Sebastian Bazley 43ef63586f Unnecessary override of tearDown() which did not invoke super.tearDown()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@899961 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 14:26:17 +00:00
Sebastian Bazley 86ac6922fc HTTPCLIENT-906 Minor performance improvement to IdleConnectionHandler
Replace keySet() + get() with entrySet()

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@899957 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 14:11:50 +00:00
Sebastian Bazley c5131c62c9 Remove autoboxing
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@899517 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 02:13:16 +00:00
Sebastian Bazley bde82211f3 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@899516 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 02:12:50 +00:00
Sebastian Bazley e3c2e7b208 HTTPCLIENT-903 Use ConcurrentHashMap instead of [Linked]HashMap for thread-safety
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@897643 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10 14:52:02 +00:00
Sebastian Bazley 14b26e2a33 HTTPCLIENT-903 Use ConcurrentHashMap instead of [Linked]HashMap for thread-safety
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@897641 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10 14:23:56 +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 4096a39651 HTTPCLIENT-901: support for execution context aware auth schemes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@889860 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 23:34:23 +00:00
Oleg Kalnichevski 39065c31c9 HTTPCLIENT-862: bug fix
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@889756 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 18:38:38 +00:00
Oleg Kalnichevski da0a038a12 Removed clover2 plugin from top pom.xml due to compatibility issues between clover2 and bundle plugins
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@889413 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 20:25:52 +00:00
Oleg Kalnichevski f63ad544e4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@887134 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 09:48:44 +00:00
Oleg Kalnichevski 39fe584a96 [maven-release-plugin] prepare release 4.1-alpha1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@887132 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 09:47:57 +00:00
Oleg Kalnichevski ca7284cb50 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@886284 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 19:36:42 +00:00
Oleg Kalnichevski c4b16e7451 [maven-release-plugin] prepare release 4.1-alpha1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@886282 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 19:35:54 +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