Commit Graph

335 Commits

Author SHA1 Message Date
Oleg Kalnichevski 494ba13c3e HTTPCLIENT-1094: digest auth scheme refactoring
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1138790 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 09:31:31 +00:00
Oleg Kalnichevski 21e31ba027 HTTPCLIENT-1086: additional constructors for UrlEncodedFormEntity that take iterable as input
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1136437 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 13:50:02 +00:00
Oleg Kalnichevski 92d66f3355 HTTPCLIENT-1098: Avoid expensive reverse DNS lookup on connect timeout excpetion
Contributed by Thomas Boettcher <tboett at gmail.com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1132902 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 08:25:24 +00:00
Sebastian Bazley a41eccec14 HTTPCLIENT-1097 BrowserCompatHostnameVerifier and StrictHostnameVerifier should handle wildcards in SSL certificates better.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1130531 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 13:08:15 +00:00
Oleg Kalnichevski 4acba49325 Fixed the test breakage on Linux where the local host name is returned as 'localhost.localdomain'
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1128917 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 17:58:42 +00:00
Sebastian Bazley e30d68d9f0 Another test
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1128649 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 14:01:42 +00:00
Sebastian Bazley 10ca47490e HTTPCLIENT-1097 Add a test to check status quo for 2TLD matching
Also add disabled test for wildcard 2TKD matching

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1128647 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 13:49:38 +00:00
Sebastian Bazley 2a08b55242 HTTPCLIENT-1097 Add a test to check status quo
Also add disabled test for wildcard matching

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1128637 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 13:14:22 +00:00
Sebastian Bazley cf5eb5dea5 Spelling
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1128432 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 19:29:53 +00:00
Sebastian Bazley 180ec543f0 Add Cookie ordering test
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1128428 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 19:16:55 +00:00
Sebastian Bazley 0e2b207489 HTTPCLIENT-1092 If ClientPNames.VIRTUAL_HOST does not provide the port, derive it from the current request.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1125566 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 20:51:24 +00:00
Oleg Kalnichevski f3e7802196 Updated dependency declarations; upgraded HttpCore to 4.1.1; upgraded Memcached to version 2.6
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1124274 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 14:08:24 +00:00
Oleg Kalnichevski e2fa3ae38f HTTPCLIENT-1087: NTLM proxy authentication fails on retry if the underlying connection is closed as a result of a target authentication failure
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1104207 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 12:54:14 +00:00
Oleg Kalnichevski 195026ce43 Lax implementation of RedirectStrategy contributed by Bartosz Firyn <songo.bercik at interia.pl>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1104115 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 10:32:08 +00:00
Oleg Kalnichevski 0999878b31 Bogus redirects should result in an HttpException instead of IllegalStateException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1100531 13f79535-47bb-0310-9956-ffa450edef68
2011-05-07 13:42:15 +00:00
Sebastian Bazley 0bae59de4f Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1099906 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 18:25:31 +00:00
Sebastian Bazley 70d37431ec Suppress NPE warning
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1099905 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 18:19:45 +00:00
Oleg Kalnichevski 471c2b3ae9 Deprecated ConnConnectionPNames.MAX_STATUS_LINE_GARBAGE
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1098106 13f79535-47bb-0310-9956-ffa450edef68
2011-04-30 12:42:44 +00:00
Oleg Kalnichevski 4998e3562d Re-introduced timeout parameter for connection manager operations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1098098 13f79535-47bb-0310-9956-ffa450edef68
2011-04-30 11:11:51 +00:00
Oleg Kalnichevski e0d8ec5d34 Updated test keystore
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1096480 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 13:48:25 +00:00
Oleg Kalnichevski bc70b1839a HTTPCLIENT-1079: Fixed Kerberos cross-realm support
Contributed by Michael Osipov <1983-01-06 at gmx.net> 


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1091904 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 20:27:27 +00:00
Oleg Kalnichevski 281d9d5f4d HTTPCLIENT-1078: Decompressing entities (DeflateDecompressingEntity, GzipDecompressingEntity) do not close content stream in #writeTo() method
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1091140 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 17:38:37 +00:00
Sebastian Bazley 584bc97d49 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1090038 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 21:57:30 +00:00
Oleg Kalnichevski 76989f0ed2 HTTPCLIENT-1075: Decompressing entities (DeflateDecompressingEntity, GzipDecompressingEntity) do not correctly handle content streaming
Contributed by James Abley <james.abley at gmail.com> 


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1088000 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 11:34:52 +00:00
Oleg Kalnichevski 1b1d692a3d Merged fixes from 4.1.x branches
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1080167 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 09:42:11 +00:00
Oleg Kalnichevski 490778e271 HTTPCLIENT-1069: HttpHostConnectException not correctly retried for direct and non-tunnelled proxy connections
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.1.x@1080165 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 09:35:17 +00:00
Oleg Kalnichevski 126f1da349 Use SSL socket factory to create unconnected sockets
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.1.x@1080163 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 09:24:57 +00:00
Oleg Kalnichevski a1f6685cd8 HTTPCLIENT-1051: eliminated reverse DNS lookup when performing hostname verification for secure connections
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1079783 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 13:10:13 +00:00
Oleg Kalnichevski 0bd45f2b39 Changed project version to 4.2-alpha1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1079543 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 21:06:55 +00:00
Oleg Kalnichevski 73e6ca8bb8 Removed 4.2 methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.1.x@1079534 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 20:54:13 +00:00
Oleg Kalnichevski 2de7d4a200 Reverted HTTPCLIENT-1051
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1078847 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 16:42:29 +00:00
Oleg Kalnichevski 8162b91e3c HTTPCLIENT-1066: Handling of multiple consecutive slashes in the URI path component
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1078804 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 15:09:03 +00:00
Oleg Kalnichevski 77ee7287d0 HTTPCLIENT-1051: Default X509 hostname verifier rejects certificates with an IP address as CN
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1078788 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 14:46:02 +00:00
Oleg Kalnichevski 86369c1696 More test cases for cookie protocol interceptors
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1078784 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 14:37:45 +00:00
Oleg Kalnichevski e9f6856f4e Made behaviour of protocol interceptors more somewhat consistent; added test cases for RequestAddCookies
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1076792 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 20:59:52 +00:00
Oleg Kalnichevski 41d8c9bdc5 HTTPCLIENT-1065: javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1076561 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 09:01:14 +00:00
Oleg Kalnichevski 045c740f3a Code optimization: perform auth cache lookup only if no auth scheme is available in the auth state
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1075780 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 11:17:48 +00:00
Oleg Kalnichevski 9d55aee86f Reworked auth caching code; added more test cases for protocol interceptors
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1075508 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 19:57:51 +00:00
Oleg Kalnichevski a5df9fe83c Added test cases for RequestProxyAuthentication
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1074528 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 14:14:43 +00:00
Oleg Kalnichevski 51ef77e7f2 Ahhh, I just can't go back to EasyMock after having used Mockito
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1074493 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 12:13:16 +00:00
Oleg Kalnichevski 56211032bf HTTPCLIENT-1063: treat x-gzip as a synonym for gzip
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1074481 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 11:51:12 +00:00
Oleg Kalnichevski a572756592 HTTPCLIENT-1061: Proxy-Authorization header gets sent to the target host when tunneling requests through a proxy that requires authentication
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1074473 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 11:19:23 +00:00
Oleg Kalnichevski c3c7ba214d HTTPCLIENT-1058: SO_TIMEOUT not set early enough for SOCKS proxies
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1070943 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 15:43:48 +00:00
Sebastian Bazley a54611e8d6 @import is relative to the current css file
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1070647 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 20:31:08 +00:00
Sebastian Bazley 0991eb0f07 Remove menu items which are now in the common parent section
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1070169 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 01:20:10 +00:00
Sebastian Bazley 639891773c Use relative URLs so works anywhere
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1070168 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 01:19:35 +00:00
Sebastian Bazley 04d14e5e95 Absolute references are converted incorrectly.
Better fix: if banners are inherited from parent POM, then references are calculated OK

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1070077 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 13:17:47 +00:00
Sebastian Bazley d5444aad70 Absolute references are converted incorrectly for the HC sub-sub sites
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1070011 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 02:14:00 +00:00
Sebastian Bazley 35face477b Ensure the correct clover version is used for reports
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1069061 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 19:50:53 +00:00
Oleg Kalnichevski f4ef817d25 HTTPCLIENT-1056: Fixed bug causing the RequestAuthCache protocol interceptor to generate an invalid AuthScope instance when looking up user credentials for preemptive authentication
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1068881 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 13:42:33 +00:00