Commit Graph

1062 Commits

Author SHA1 Message Date
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 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
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 b21dfb34a6 Updated release dates
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@889558 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 10:26:41 +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 78a6e50d5e src archive does not need DOAP; adjust EOL for .apt .py .svg .xsl file types
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@888962 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 20:40:27 +00:00
Oleg Kalnichevski a2f1aebc6c Updated DOAP
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@888954 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 20:34:59 +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 fbddfddf72 Fixed broken docbkx config
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@886326 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 22:29:10 +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
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 5ba3751d31 Formatting fix
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@884699 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 21:19:00 +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 3ed02317fa Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@884692 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 20:36:48 +00:00
Oleg Kalnichevski d5b9907a79 Updated download page for 4.0.1 / 4.1- alpha1 releases
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@884691 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 20:35:53 +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 49a021c85a HTTPCLIENT-865: use explicit version in package imports and exports
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@884246 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 20:15:32 +00:00
Oleg Kalnichevski 5fefbfaa1b Fixed binary compatibility breakage
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@884245 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 20:13:14 +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 4425aaef77 Use ConnPerRoute interface to look up maxEntries value for RouteSpecificPools
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@883867 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 20:48:21 +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
Sebastian Bazley b51b11bb91 Javadoc fixes; add missing @Deprecated markers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@833249 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 00:01: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 20db76c05a HTTPCLIENT-834: GzipDecompressingEntity and DeflateDecompressingEntity classes now override the#writeTo()
Contributed by James Abley <james.abley at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@832847 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 19:16:48 +00:00
Oleg Kalnichevski 5c9850a7a9 SSL test cases to fall back onto SunX509 implementation of SSL classes the default implementation is not available / functional
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@831313 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 14:35:04 +00:00
Oleg Kalnichevski 87bbf0c0e1 Added detailed section on NTLM auth
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@830754 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 20:38:54 +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 eb1205a223 HTTPCLIENT-881: More code cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@826690 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 14:35:03 +00:00
Oleg Kalnichevski 3d991231f0 Fixed typo. Thanks to David Greiman <DavidG at azasrs.gov>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@826129 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 23:16:05 +00:00
Oleg Kalnichevski 64c481f4bf HTTPCLIENT-881: An I/O operation on an aborted or released connection will result in an InterruptedIOException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@826037 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 19:00:17 +00:00
Oleg Kalnichevski 077281ba27 HTTPCLIENT-881: Methods mutating the internal state of the AbstractClientConnAdapter class and its subclasses made synchronized; ThreadSafeClientConnManager#releaseConnection method now synchronizes access to the BasicPooledConnAdapter instance
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@825999 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 16:52:30 +00:00
Oleg Kalnichevski 90f9e38b8d HTTPCLIENT-881: It should be safe to release a connection from any thread. The old 'release from current thread hack' is no longer needed
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@825901 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 14:07:00 +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 0b815c2505 HTTPCLIENT-824: Use only one immutable copy of HTTP protocol processor instead creating a new copy for every request execution
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@825464 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 11:14:40 +00:00
Oleg Kalnichevski 01b7d5dc40 HTTPCLIENT-824: Use synchronized SyncBasicHttpParams instead of non-synchronized BasicHttpParams where HttpParams can be accessed simultaneously by multiple threads
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@824810 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 15:38:57 +00:00