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
Oleg Kalnichevski
0af4f398c0
Link examples from 4.0.x branch instead of trunk
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@824695 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 11:15:48 +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
14255dd491
HTTPCLIENT-834: Tutorial section on transparent content encoding support
...
Contributed by James Abley <james.abley at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@822238 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 12:21:50 +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
91662f97ad
Brushed up SPNEGO related content
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@819115 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 11:57:23 +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
5d2ebe9615
Added ASL header
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@814312 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 13:31:06 +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
Sebastian Bazley
71a76c6b22
Ignore PMD settings file
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@813026 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 16:11:45 +00:00
Sebastian Bazley
9abc07295f
Ignore PMD settings file
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@813022 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 16:08:28 +00:00
Sebastian Bazley
f5ac373f21
maven-bundle-plugin version now in parent pom
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@813020 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 16:06:39 +00:00
Sebastian Bazley
59ceb68a20
Ignore PMD settings file
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@813016 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 16:04:22 +00:00
Sebastian Bazley
dcd9abca6f
Common docbkx-maven-plugin configuration now in parent pom
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@813009 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 15:53:58 +00:00
Sebastian Bazley
ed511449da
Show titles in bookmark pane
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@812710 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 22:08:37 +00:00
Oleg Kalnichevski
d2b10048b9
HTTPCLIENT-874: Override method MultipartEntity.addPart so that applications may use FormBodyPart
...
Contributed by Gerald Turner <gturner at unzane.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@811556 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 21:22:17 +00:00
Oleg Kalnichevski
fdfded17c2
HTTPCLIENT-871: Add FileBody constructor with explicit filename
...
Contributed by Gerald Turner <gturner at unzane.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@811126 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 21:15:15 +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
Oleg Kalnichevski
9ce0d5d761
HTTPCLIENT-870: Incorrect Specification-Title in MANIFEST.MF
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@810804 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 08:14:36 +00:00