Commit Graph

149 Commits

Author SHA1 Message Date
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
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 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 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 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
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
Sebastian Bazley 7c2cc42b1f Fix remaining StringBuffer => StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@823859 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 14:17:58 +00:00
Oleg Kalnichevski 142997acd6 HTTPCLIENT-880: Check for correct content-type in URLEncodedUtils not working for encoding-suffixes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@822258 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 13:03:39 +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 09601a328f Cleaned up examples
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@819114 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 11:56:06 +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 9cbf76568f Fixed License header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@818598 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 19:20:28 +00:00
Oleg Kalnichevski 62c8b079fe Cleaned up Kerberos example a little
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@818596 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 19:19:05 +00:00
Oleg Kalnichevski a0341a0a3f Ignore I/O exception thrown by #close method. Original exception is more important
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@818595 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 19:17:32 +00:00
Oleg Kalnichevski c246b98766 Tweak URI documentation as a result of discussion with Sebastian and Sam
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@818594 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 19:12:58 +00:00
Sebastian Bazley ee4f9a4f7f Tweak final URI documentation as suggested by Sam
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@818581 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 18:36:14 +00:00
Sebastian Bazley 0c1891b58f Document how to find final URI
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@817653 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 13:22:54 +00:00
Oleg Kalnichevski 39f46a9c2b HTTPCLIENT-834: Transparent Content Coding support
* ContentEncodingProcessor split into RequestAcceptEncoding and ResponseContentEncoding protocol interceptors 
 
Contributed by James Abley <james.abley at gmail.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@816583 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 10:59:35 +00:00
Oleg Kalnichevski fb6d73ef38 HTTPCLIENT-523: SPNEGO auth scheme
* Updated example
* Minor code tweaks
 
Contributed by Matthew Stevenson <mavricknzwork at yahoo.dot> 


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@815735 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 12:17:13 +00:00
Sebastian Bazley 1526683413 Add missing AL header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@814532 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 09:08:41 +00:00
Oleg Kalnichevski d5b954aca9 HTTPCLIENT-523: SPNEGO auth scheme
Contributed by Matthew Stevenson <mavricknzwork at yahoo.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@814311 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 13:21:13 +00:00
Oleg Kalnichevski 5ce6fda4d2 Fixed license header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@814282 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 08:34:50 +00:00
Oleg Kalnichevski 7a959d6306 HTTPCLIENT-834: Added ContentEncodingHttpClient
Contributed by James Abley <james.abley at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@814281 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 08:32:12 +00:00
Oleg Kalnichevski 2055915036 Upgraded HttpClient version to 4.1-alpha1-SNAPSHOT; upgraded HttpCore dependency to 4.1-alpha1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@814026 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 20:53:19 +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 61551d1afe Cleanup
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@811113 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 20:38:27 +00:00
Oleg Kalnichevski fa541fccd2 Cleanup
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@811112 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 20:36:30 +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