Commit Graph

1096 Commits

Author SHA1 Message Date
Gary D. Gregory 4007c05f9b Javadoc 8 fixes.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1619400 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 14:11:32 +00:00
Gary D. Gregory 7e4cfbb688 Branding: Use "Apache" in Maven module names and descriptions.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1619388 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 13:22:42 +00:00
Oleg Kalnichevski 268d6cc113 Improved cert identity matching based on regex patterns
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1619372 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 11:57:11 +00:00
Oleg Kalnichevski 79b1eae93b Deprecated BrowserCompatHostnameVerifier and StrictHostnameVerifier in favor of DefaultHostnameVerifier
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618870 13f79535-47bb-0310-9956-ffa450edef68
2014-08-19 14:19:21 +00:00
Oleg Kalnichevski 95c0f4857e Ported existing test cases to new default HostnameVerifier impl
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618868 13f79535-47bb-0310-9956-ffa450edef68
2014-08-19 14:11:23 +00:00
Oleg Kalnichevski d2400e0758 Improved compliance with RFC 2818: default hostname verifier to ignore the common name of the certificate subject if alternative subject names (dNSName or iPAddress) are present
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618867 13f79535-47bb-0310-9956-ffa450edef68
2014-08-19 14:09:30 +00:00
Oleg Kalnichevski 196ac3f328 Re-designed hostname verification API and rewritten implementation code
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618698 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 18:39:33 +00:00
Oleg Kalnichevski 7c33892b02 Use RFC2253 encoded cert subject
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618566 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 09:26:19 +00:00
Oleg Kalnichevski e8dbce5f9b HTTPCLIENT-1544: Fixed NPE in ResponseProcessCookies when running with DEBUG priority
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618328 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 11:06:55 +00:00
Oleg Kalnichevski 683bb070fd HTTPCLIENT-1542: Caching HttpClient uses absolute URIs for validation
Based on contribution by Joseph Walton <joe at kafsemo.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618324 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 10:51:35 +00:00
Oleg Kalnichevski 3df564f0c6 CookieNetscapeDraft to ignore Version and Max-Age attributes; BrowserCompatSpec to reset cookie version to 0 for Neetscape style cookies
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1617278 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 13:32:46 +00:00
Oleg Kalnichevski f955504b33 Deprecated CloseableHttpResponseProxy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1617274 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 13:23:55 +00:00
Oleg Kalnichevski caae4ef049 HTTPCLIENT-1538 : monitor contention in deprecated code
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1617273 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 13:23:40 +00:00
Oleg Kalnichevski f5bf414adc Deprecated X509HostnameVerifier interface in favor of standard javax.net.ssl.HostnameVerifier
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1616758 13f79535-47bb-0310-9956-ffa450edef68
2014-08-08 14:00:55 +00:00
Oleg Kalnichevski 80b0014754 Reverted r1616137, r1616136, r1615900
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1616688 13f79535-47bb-0310-9956-ffa450edef68
2014-08-08 08:30:01 +00:00
Sebastian Bazley d5a4d66890 copy fixes made to original in r1616430
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1616532 13f79535-47bb-0310-9956-ffa450edef68
2014-08-07 16:43:37 +00:00
Oleg Kalnichevski 262fec5203 HTTPCLIENT-1535: Permit other addresses to be tried in the event of a NoRouteToHostException. e.g. when there one of the addresses to be used is an ipv6 address when the client does not have an ipv6 route to that particular host
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1616239 13f79535-47bb-0310-9956-ffa450edef68
2014-08-06 14:14:45 +00:00
Oleg Kalnichevski 0bc123c992 Replaced LdapName with custom DN parser
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1616137 13f79535-47bb-0310-9956-ffa450edef68
2014-08-06 09:29:58 +00:00
Oleg Kalnichevski 95953f857e Custom distingushed name parser
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1616136 13f79535-47bb-0310-9956-ffa450edef68
2014-08-06 09:29:39 +00:00
Oleg Kalnichevski 6c4f30fc4d HTTPCLIENT-1536: default connection operator to use HttpHost#getAddress if available
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1615915 13f79535-47bb-0310-9956-ffa450edef68
2014-08-05 11:53:55 +00:00
Oleg Kalnichevski f3e67f807c Made package private copy of TokenParser until provided by HttpCore
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1615900 13f79535-47bb-0310-9956-ffa450edef68
2014-08-05 09:39:54 +00:00
Oleg Kalnichevski 2ad9a219de Code clean; renamed some package private methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1614354 13f79535-47bb-0310-9956-ffa450edef68
2014-07-29 13:56:10 +00:00
Oleg Kalnichevski 770285d505 Catch and ignore NoSuchElementException when accessing CN attribute of a subject principal
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1614270 13f79535-47bb-0310-9956-ffa450edef68
2014-07-29 07:13:54 +00:00
Oleg Kalnichevski 0852f1b4d8 Improved cert subject parsing
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1614065 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 15:57:36 +00:00
Oleg Kalnichevski 4216fc1f10 HTTPCLIENT-1531: CONNECT via proxy fails if authentication is disabled
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1612816 13f79535-47bb-0310-9956-ffa450edef68
2014-07-23 11:54:17 +00:00
Gary D. Gregory 9e4c8332f8 Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1612086 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 13:42:19 +00:00
Oleg Kalnichevski d7c64ee9c0 HTTPCLIENT-1526: No User-Agent set in tunneled proxy connection
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1610598 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 07:10:50 +00:00
Oleg Kalnichevski 7284afbe71 HTTPCLIENT-1517: strip port and optionaly use canonical hostname when creating kerberos / gssapi context
Contributed by Sebastian Brabänder <apache-devel at brabaender-it.de>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1610401 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 12:32:42 +00:00
Oleg Kalnichevski 8ed2196cd7 HTTPCLIENT-1524: RFC 2617 auth schemes (basic and digest) cannot handle auth parameters with mixed or upper case
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1606699 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 11:55:46 +00:00
Oleg Kalnichevski dbf7a77171 Added new functionality to the pooling conn manager introduced by HTTPCORE-374
Contributed by Dmitry Potapov <potapov.d at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1606665 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 10:12:31 +00:00
Oleg Kalnichevski d20886cd56 Upgraded HttpClient version to 4.4-alpha2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1606643 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 08:20:31 +00:00
Sebastian Bazley a3b9c1720b Typo
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1606416 13f79535-47bb-0310-9956-ffa450edef68
2014-06-29 02:11:30 +00:00
Oleg Kalnichevski d9cc6c8879 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1606188 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 19:30:09 +00:00
Sebastian Bazley 4c89604863 A single trailing space breaks the build ...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604913 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 19:32:43 +00:00
Sebastian Bazley 899c7c8046 More doc on connection checking
Fix bug in Javadoc - default is now false.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604897 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 18:18:03 +00:00
Sebastian Bazley 80cf0fec6e Document stale connection strategy change
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604896 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 18:10:21 +00:00
Sebastian Bazley 41afff3f2a Tab police
Though I had found all the tab generators in Eclipse ...

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604894 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 17:49:50 +00:00
Sebastian Bazley 4006d7e4f2 Add TODOs for code that needs looking at
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604892 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 17:46:29 +00:00
Sebastian Bazley c6113729e2 Add dummy SVUIID
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604884 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 17:18:33 +00:00
Sebastian Bazley 0490cdd679 Add dummy SVUIID
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604883 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 17:17:55 +00:00
Oleg Kalnichevski c5c0bc6801 HTTPCLIENT-1493: Indiscriminate connection checking has been deprecated in favor of conditional connection state validation. Persistent connections are to be re-validated only after a defined period inactivity prior to being leased to the consumer.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604772 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 12:13:35 +00:00
Gary D. Gregory 0700b14d6a Javadoc fixes for Java 8. Replace "<tt>Foo</tt>" with "{@code Foo}".
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603933 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 15:45:42 +00:00
Oleg Kalnichevski 3269410866 Makes no sense to me but hope it will make VMWare happy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603773 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 09:17:53 +00:00
Oleg Kalnichevski d66b842b79 HTTPCLIENT-1521: Added factory method for creation of main exec, which enables subclasses of HttpClientBuilder to override the default implementation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603755 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 08:28:39 +00:00
Oleg Kalnichevski ad092c5d03 HTTPCLIENT-1519: Use the original HttpHost instance passed as a parameter to HttpClient#execute when generating 'Host' request header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603745 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 07:52:41 +00:00
Oleg Kalnichevski 7ae0a8ac5f Fixed binary incompatibility with 4.3
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603744 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 07:52:25 +00:00
Oleg Kalnichevski 2ebd820284 Migrated integration tests to HttpServer from HttpCore 4.4
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603443 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 13:06:43 +00:00
Oleg Kalnichevski 54e3ad83fc Removed obsolete test case
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1602396 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 12:01:21 +00:00
Oleg Kalnichevski 4709d85aaf Removed references to deprecated JUnit classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1602394 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 12:01:06 +00:00
Oleg Kalnichevski dc0642e094 BasicAuthCache to cache serialized AuthScheme data; made thread safe
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1602136 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 12:12:43 +00:00
Oleg Kalnichevski 59b229079b Test case for HTTPCLIENT-1490
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1600737 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 19:30:05 +00:00
Oleg Kalnichevski 07e7a0c281 Auth scheme state cache to use object serialization
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1600641 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 13:09:47 +00:00
Oleg Kalnichevski 6b6ad6075d HTTPCLIENT-1434: add singletons for TrustSelfSignedStrategy and hostname verifiers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1600133 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 12:13:16 +00:00
Oleg Kalnichevski 51ba114e63 HTTPCLIENT-1449: split AbstractVerifier into AbstractBaseHostnameVerifier and AbstractCommonHostnameVerifier the former implementing cert extraction logic while the latter implementing CN and SubjectAlts extraction and validation logic
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1600132 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 12:12:59 +00:00
Oleg Kalnichevski 5ff23f9613 https://github.com/apache/httpclient/pull/12
Configurable charset for request and URI builders
Contributed by isabelabel <bel at jusbrasil.com.br>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1599798 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 21:08:41 +00:00
Oleg Kalnichevski 700b390d8e HTTPCLIENT-1472: deprecated DateParseException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1598878 13f79535-47bb-0310-9956-ffa450edef68
2014-05-31 14:42:37 +00:00
Oleg Kalnichevski 30d5935629 HTTPCLIENT-1511: Added abstract response handler
Contributed by Jochen Kemnade <jochen.kemnade at eddyson.de>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1597552 13f79535-47bb-0310-9956-ffa450edef68
2014-05-26 10:31:20 +00:00
Oleg Kalnichevski 7797380cdd Cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1597032 13f79535-47bb-0310-9956-ffa450edef68
2014-05-23 08:52:38 +00:00
Oleg Kalnichevski fd6ebf7be0 Apply initial socket parameters prior to bind operation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1596951 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 19:45:59 +00:00
Oleg Kalnichevski a262021334 Replaced dynamic proxies with custom proxy classes to reduce thread contention
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1596653 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 18:57:59 +00:00
Oleg Kalnichevski c5b8b8db5d HTTPCLIENT-1507: clarified behavior of CloseableHttpResponse#close()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1596521 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 09:35:49 +00:00
Oleg Kalnichevski 1ba8a897f3 HTTPCLIENT-1508: use actual JRE version when generating default User-Agent header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1594805 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 07:52:12 +00:00
Oleg Kalnichevski 0a93660d96 Use a separate setter for shared connection manager flag
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1593923 13f79535-47bb-0310-9956-ffa450edef68
2014-05-12 11:12:48 +00:00
Oleg Kalnichevski b40661e45e HTTPCLIENT-1498: empty host in redirect location causes NPE
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1591221 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 09:32:52 +00:00
Oleg Kalnichevski 92b5d6d09d HTTPCLIENT-1497: Allow zero SO_LINGER (immediate abortive close)
Contributed by Dmitry Potapov <potapov.d at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1589359 13f79535-47bb-0310-9956-ffa450edef68
2014-04-23 09:41:11 +00:00
Oleg Kalnichevski 64fade92df HTTPCLIENT-1495: shut down standard connection managers only once
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1587883 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 11:52:16 +00:00
Oleg Kalnichevski cd1f9fc9f7 Support for shared connection managers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1587507 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 10:53:49 +00:00
Oleg Kalnichevski 7b9408e75f Delegate decision about null target host to route planners
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1585663 13f79535-47bb-0310-9956-ffa450edef68
2014-04-08 08:25:34 +00:00
Oleg Kalnichevski 719daae514 HTTPCLIENT-1492: connection time to live not settable via HttpClientBuilder
Contributed by Matt Inger <mattinger at yahoo.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1583590 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 10:04:21 +00:00
Sebastian Bazley 5e0875f0ae Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1580267 13f79535-47bb-0310-9956-ffa450edef68
2014-03-22 17:40:37 +00:00
Sebastian Bazley b2e8a927f2 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1580244 13f79535-47bb-0310-9956-ffa450edef68
2014-03-22 16:28:23 +00:00
Sebastian Bazley 444b41a0a4 Align scheme names
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1580242 13f79535-47bb-0310-9956-ffa450edef68
2014-03-22 16:24:14 +00:00
Sebastian Bazley c85a1e0344 Standardise on Locale.ROOT for case-conversion
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1579495 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 01:12:53 +00:00
Sebastian Bazley 6cbac13a39 Fixup comments:
- remind readers not to omit the Locale
- avoid possible false positives when searching for missing Locales

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1578687 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 00:45:07 +00:00
Oleg Kalnichevski b370df34ca Use explicit locale with upper/lower case conversions
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1578441 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 15:35:06 +00:00
Oleg Kalnichevski 68855c40f4 HTTPCLIENT-1484: GzipCompressingEntity should not close the underlying output stream if the entity has not been fully written out due to an exception
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1578440 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 15:34:41 +00:00
Oleg Kalnichevski 09027e7286 HTTPCLIENT-1478: deprecated SSLSocketFactory ignores socket timeout parameter during SSL handshake
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1576362 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 14:16:43 +00:00
Oleg Kalnichevski 3220bbf633 HTTPCLIENT-1479: fixed NPE in RequestAuthCache caused by incorrect context initialization
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1575902 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 11:16:14 +00:00
Oleg Kalnichevski 9ec038bea1 Use atomic variables instead of a lock
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1574553 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 16:05:43 +00:00
Oleg Kalnichevski 298b237045 Improved parameter copying in RequestBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1573001 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 17:05:52 +00:00
Oleg Kalnichevski 5d11a3e751 HTTPCLIENT-1403: Pluggable content decoders
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571635 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 09:49:47 +00:00
Sebastian Bazley 5c89f7b4e4 Suppress unused warnings for ctor tests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571537 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 02:05:58 +00:00
Sebastian Bazley 93d4fa6570 Suppress unused warnings for ctor tests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571535 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 02:03:26 +00:00
Sebastian Bazley 81b6a1acdb Suppress unused warnings for ctor tests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571525 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 01:43:32 +00:00
Sebastian Bazley 73d8aac14c Name hiding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571522 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 01:39:13 +00:00
Sebastian Bazley 2bbfeb5bf7 General tidy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571453 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 21:40:41 +00:00
Sebastian Bazley 9c666a3c9f Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571452 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 21:40:25 +00:00
Sebastian Bazley acf30a554b Trailing space
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571448 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 21:37:52 +00:00
Sebastian Bazley b51514deb6 Not thrown
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571444 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 21:24:53 +00:00
Sebastian Bazley fb87869f6a Avoid varargs cast warning
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571443 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 21:23:18 +00:00
Sebastian Bazley c79ccfe755 Fix up IDE warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571442 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 21:13:46 +00:00
Sebastian Bazley 2dea804f67 Avoid possible NPE warning
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571437 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 20:59:27 +00:00
Sebastian Bazley 4908990207 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571423 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 20:16:48 +00:00
Sebastian Bazley 78198edcbd Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571419 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 20:05:14 +00:00
Sebastian Bazley 7eb9097b1c Rename or inline local variables to avoid variable hiding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571416 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 19:54:01 +00:00
Sebastian Bazley 0b7d6186db Boxing not usually important in test code; the EasyMock classes generate a lot of warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571383 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 18:28:17 +00:00
Sebastian Bazley 7e162182b3 Boxing not usually important in test code; the EasyMock classes generate a lot of warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571382 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 18:24:25 +00:00
Sebastian Bazley 9b5b7e9eb9 Suppress unused exception warning
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571381 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 18:23:25 +00:00
Sebastian Bazley eaaa6fc3ed Avoid name hiding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571377 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 18:16:15 +00:00
Sebastian Bazley fe360e7b3d Rename or inline local variables to avoid variable hiding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571371 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 18:03:43 +00:00
Sebastian Bazley 92e522db4f Internal method - remove unthrown exception
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571351 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:05:07 +00:00
Sebastian Bazley 425d4941fa Avoid name hiding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571350 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:04:26 +00:00
Sebastian Bazley 552c58430c Internal method - remove unthrown exception
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571348 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:02:16 +00:00
Sebastian Bazley 772e352587 Eliminate warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571347 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 16:57:36 +00:00
Sebastian Bazley 3524ca42ac Access constant directly
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571344 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 16:46:37 +00:00
Sebastian Bazley 36d12dd54a Access constant directly
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571343 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 16:46:09 +00:00
Sebastian Bazley 28c75eff7f Javadoc clarification
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570961 13f79535-47bb-0310-9956-ffa450edef68
2014-02-23 02:38:00 +00:00
Oleg Kalnichevski 238195f058 Log operation that caused an I/O error
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570195 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 14:07:41 +00:00
Oleg Kalnichevski 24d5d8b454 HTTPCLIENT-1464: ability to enable / disable content decompression at request level
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570142 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 10:53:52 +00:00
Oleg Kalnichevski 3826597f1a Wire log to include I/O errors and end of stream
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570140 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 10:52:59 +00:00
Oleg Kalnichevski 22d2c89b55 HTTPCLIENT-1462: include source port, host information in the debug level output
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1569325 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 13:58:44 +00:00
Oleg Kalnichevski 08f88336a1 HTTPCLIENT-1461: fixes performance degradation in gzip encoded content processing introduced by HTTPCLIENT-1432
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1569324 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 13:57:50 +00:00
Oleg Kalnichevski 3ddbbcc251 HTTPCLIENT-1458: SystemDefaultCredentialsProvider always uses 'http' as an authentication protocol to Authenticator#requestPasswordAuthentication call
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1567926 13f79535-47bb-0310-9956-ffa450edef68
2014-02-13 13:58:41 +00:00
Oleg Kalnichevski 47e6f4590b Updated AuthScope javadocs; added origin attribute
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1567925 13f79535-47bb-0310-9956-ffa450edef68
2014-02-13 13:58:23 +00:00
Oleg Kalnichevski 60f0724533 Use Locale.ROOT instead of Locale.US or Locale.ENGLISH for upper/lower case conversion of locale independent textual identifiers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1567923 13f79535-47bb-0310-9956-ffa450edef68
2014-02-13 13:58:09 +00:00
Sebastian Bazley 7ec8359476 Add a couple more IPV6 tests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1567480 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 01:03:02 +00:00
Oleg Kalnichevski 580a72d2cd HTTPCLIENT-1457: Incorrect handling of Windows (NT) credentials by SystemDefaultCredentialsProvider
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1565783 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 20:19:44 +00:00
Oleg Kalnichevski 860578ca5f HTTPCLIENT-1456: Request retrial after status 503 causes ClientProtocolException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1565678 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 15:16:28 +00:00
Oleg Kalnichevski 260d370b0f HTTPCLIENT-1454: Make connection operator APIs public.
Contributed by Tamas Cservenak <tamas at cservenak.net>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1562812 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 13:27:12 +00:00
Oleg Kalnichevski 653ae8026c Use Java 1.6 method to obtain default system SSLContext
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561331 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 16:18:05 +00:00
Oleg Kalnichevski e9c8797108 Use String methods and constructors that require Charset instead of String
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561066 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:04:04 +00:00
Oleg Kalnichevski 715a34c860 Use Java 1.6 String#isEmpty(); minor cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561064 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:02:45 +00:00
Oleg Kalnichevski 594f2f4b62 Added missing @Override annotations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561063 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:02:05 +00:00
Oleg Kalnichevski 54c767ee07 Upgraded project version to 4.4-alpha1-SNAPSHOT; upgraded minimal Java level to 1.6; re-enabled win atuh module
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561061 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:00:08 +00:00
Oleg Kalnichevski b7291b4c32 HTTPCLIENT-1448: Add context information to NoHttpResponseException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1559999 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 12:50:22 +00:00
Gary D. Gregory a718eee61c Upgraded HttpClient version to 4.3.3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1559527 13f79535-47bb-0310-9956-ffa450edef68
2014-01-19 17:07:28 +00:00
Gary D. Gregory 205258b1f9 We have a concurrency bug in HttpCore 4.3.1 which will be addressed after HttpClient 4.3.2 is released.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558386 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 14:01:24 +00:00
Oleg Kalnichevski d1a2565df3 HTTPCLIENT-1447: clients created with HttpClients#createMinimal do not work with absolute URIs
Contributed by Joseph Walton <joe at kafsemo.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558353 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 12:19:06 +00:00
Gary D. Gregory fe84b2934c Add final modifier to local variables (exception catch).
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558064 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:56:59 +00:00
Gary D. Gregory 746bb7aea2 Add missing '@Override' annotations.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558059 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:48:56 +00:00
Gary D. Gregory a7caa74b1e Convert 'for' loops to enhanced 'for' loops.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558057 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:47:21 +00:00
Gary D. Gregory 9debe112db Convert control statement bodies to block.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558055 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:45:13 +00:00
Gary D. Gregory 2bc42458a2 The static fields in HttpCoreContext should be accessed directly.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558054 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:42:33 +00:00
Gary D. Gregory 17a5fa3e2c The static fields in HttpCoreContext should be accessed directly.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558052 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:42:05 +00:00
Gary D. Gregory 988b769bfd The static fields in HttpCoreContext should be accessed directly.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558051 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:41:37 +00:00
Gary D. Gregory 1dbd3e4fd5 The static fields in HttpCoreContext should be accessed directly.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558050 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:41:19 +00:00
Gary D. Gregory b840ce4951 Simplify: no need for extra branch.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558049 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:38:23 +00:00
Gary D. Gregory 48b34a5ab2 Redundant super-interface Serializable for the type BasicClientCookie2, already defined by BasicClientCookie.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558048 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:37:24 +00:00
Gary D. Gregory b6e32c9d44 Simplify: no need for so many branches.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558047 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 14:33:24 +00:00
Gary D. Gregory 061640e557 Javadoc: fix spelling.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558036 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 13:50:21 +00:00
Oleg Kalnichevski 1fe5fa3c2e HTTPCLIENT-1446: NTLM proxy + BASIC target auth fails with 'Unexpected state: MSG_TYPE3_GENERATED
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1557064 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 09:29:13 +00:00
Oleg Kalnichevski a86424fc43 HTTPCLIENT-1442: Authentication header set by the user gets removed in case of proxy authentication
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1548547 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 14:58:15 +00:00
Oleg Kalnichevski 9cc7c1acec HTTPCLIENT-1440: 'file' scheme in redirect location URI causes NPE.
Contributed by James Leigh <james at 3roundstones dot com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1546315 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 08:57:04 +00:00
Oleg Kalnichevski 92b7e8cd97 HTTPCLIENT-1119: SNI support (Oracle Java 1.7+ only).
Contributed by Bruno Harbulot <bruno at distributedmatter.net>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1544769 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 11:09:04 +00:00
Oleg Kalnichevski ebc83e74d2 HTTPCLIENT-1429: truncate long cookie values in WARN logs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1539399 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 17:04:21 +00:00
Oleg Kalnichevski 0b3ef4b0d0 HTTPCLIENT-1432: Lazy decompressing of HttpEntity#getContent() to avoid EOFExceptionin case of an empty response with 'Content-Encoding: gzip' header.
Contributed by Yihua Huang <code4crafter at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1539302 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 10:37:54 +00:00
Oleg Kalnichevski f3a6831d47 HTTPCLIENT-1431: (Regression) deprecated connection manager cannot be used witha custom LayeredSchemeSocketFactory
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1539286 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 09:24:33 +00:00
Oleg Kalnichevski bcd41d700f HTTPCLIENT-1418: fixed class cast exception in HttpClientParamConfig#getRequestConfig
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1530309 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 15:30:13 +00:00
Oleg Kalnichevski 4f03bedbf8 HTTPCLIENT-1417: Fixed NPE in BrowserCompatSpec#formatCookies caused by version 1 cookies with null cookie value
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1530218 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 10:36:30 +00:00
Oleg Kalnichevski b83c1b9358 Upgraded HttpClient version to 4.3.2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529810 13f79535-47bb-0310-9956-ffa450edef68
2013-10-07 09:49:54 +00:00
Oleg Kalnichevski d6ffa5362c Updated HttpClient examples
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529450 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 13:24:29 +00:00
Oleg Kalnichevski 922d442ce9 SystemDefaultCredentialsProvider doesn't specify RequestorType.PROXY for proxy authentication requests (follow-up)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529435 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 11:22:15 +00:00
Oleg Kalnichevski 4282ad94e3 HTTPCLIENT-1413: Fixed divide by zero error in FutureRequestExecutionMetrics
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529295 13f79535-47bb-0310-9956-ffa450edef68
2013-10-04 20:54:49 +00:00
Oleg Kalnichevski cc6a57e04a HTTPCLIENT-1412: SystemDefaultCredentialsProvider doesn't specify RequestorType.PROXY for proxy authentication requests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529291 13f79535-47bb-0310-9956-ffa450edef68
2013-10-04 20:45:22 +00:00
Oleg Kalnichevski cb89108e45 Javadoc tweaks
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529282 13f79535-47bb-0310-9956-ffa450edef68
2013-10-04 20:30:25 +00:00
Oleg Kalnichevski fea3c55520 [HTTPCLIENT-1410: Browser compatible hostname verifier no longer rejects *.co.<countrycode>, *.gov.<countrycode>, *.info.<countrycode>, etc as invalid
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528744 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 08:25:58 +00:00
Oleg Kalnichevski 75937296d9 Fixed initialization of SSL supported protocols and cipher suites
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528736 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 07:43:47 +00:00
Oleg Kalnichevski 08140864e3 Ensure X509HostnameVerifier is never null
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528614 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 20:14:31 +00:00
Oleg Kalnichevski d9e2140b12 Ensure X509HostnameVerifier is never null
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528447 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 12:41:38 +00:00
Oleg Kalnichevski 01bf4cdbb9 Removed unnecessary protocol interceptor from the proxy protocol processor
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528327 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 07:42:42 +00:00
Oleg Kalnichevski eeb3f4f1ca HTTPCLIENT-1405: CONNECT HTTP/1.1 requests lack mandatory 'Host' header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528325 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 07:28:04 +00:00
Oleg Kalnichevski eeee0720b5 HTTPCLIENT-1402: Cache default User-Agent value
Contributed by yuexiaojun <junedo at qq.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1525568 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 12:27:30 +00:00
Oleg Kalnichevski 11536d3d07 HTTPCLIENT-1399: fixed NPE in RequestBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1523642 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 13:29:25 +00:00
Oleg Kalnichevski eff62c7a6e Upgraded HttpClient version to 4.3.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1521260 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 19:32:04 +00:00
Oleg Kalnichevski 7fb04c1853 Removed outdated content
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1519410 13f79535-47bb-0310-9956-ffa450edef68
2013-09-02 12:16:55 +00:00
Oleg Kalnichevski 6b5327c64b Removed website resources
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1519408 13f79535-47bb-0310-9956-ffa450edef68
2013-09-02 12:15:03 +00:00
Oleg Kalnichevski d6216b4257 HTTPCLIENT-1393: original request headers do not get copied over in case of multiple redirects
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1518298 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 17:49:46 +00:00
Oleg Kalnichevski c787841e42 Manually configured maven reports that are applicable to the given artifact
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1517799 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 12:04:46 +00:00
Oleg Kalnichevski c1a065aec5 Fixed javadoc plugin configuration
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1517798 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 12:04:15 +00:00
Oleg Kalnichevski 196da4249d Fixed binary compatibility breakage
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1515812 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 13:10:34 +00:00
Oleg Kalnichevski 95d65666c8 Javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1515777 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 11:11:13 +00:00
Oleg Kalnichevski c0c92b814c Javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1515547 13f79535-47bb-0310-9956-ffa450edef68
2013-08-19 18:28:43 +00:00
Sebastian Bazley 95886bc41d Localise and document @SuppressWarnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1515046 13f79535-47bb-0310-9956-ffa450edef68
2013-08-17 23:00:41 +00:00
Oleg Kalnichevski 089daca602 HTTPCLIENT-1387: Replace URICollection with List<URI>
Contributed by James Leigh <james at 3roundstones dot com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1514671 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 12:13:27 +00:00
Oleg Kalnichevski ee1fec2a8c Javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1514638 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 10:16:48 +00:00
Oleg Kalnichevski 71ef668258 HTTPCLIENT-1385: Fixed path normalization in CacheKeyGenerator
Contributed by James Leigh <james at 3roundstones dot com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1513622 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 19:38:48 +00:00
Oleg Kalnichevski 5e2c01472d Updated HttpClient tutorial to 4.3 APIs (fundamentals, conn mgmt and state mgmt chapters)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1513603 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 18:15:16 +00:00
Oleg Kalnichevski 64ca74933b Found possible cause of thread interruption during test suite execution
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512759 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 15:09:42 +00:00
Oleg Kalnichevski da8ac20f45 Fixed Java 5 incompatibility causing a compile error with JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512719 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 14:20:10 +00:00
Oleg Kalnichevski 087fbac7d2 Removed reference to o.a.http.impl.client package from o.a.http.client.utils; fixed OSGi import / export warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512474 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 20:11:34 +00:00
Oleg Kalnichevski 888b783538 Fixed duplicate N&L problem by removing maven-notice-plugin in favor of maven-remote-resource-plugin included through Apache parent POM
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512361 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 15:57:15 +00:00
Oleg Kalnichevski 25d95561b2 Disabled test case failing in Continuum CI
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512341 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 15:22:28 +00:00
Oleg Kalnichevski bace78ebb4 Fixed some deprecation and varargs cast warnings; removed deprecated mock classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512339 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 15:21:58 +00:00
Oleg Kalnichevski 0fb27248f5 Added test cases for RetryExec, ServiceUnavailableRetryExec, and MinimalClientExec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512337 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 15:21:21 +00:00
Oleg Kalnichevski 553e7dd320 Added test cases for ProtocolExec and RedirectExec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512264 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 11:38:05 +00:00
Oleg Kalnichevski 23f6255cd7 Reverted previous change
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512263 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 11:37:43 +00:00
Oleg Kalnichevski 6bcb8e0b5f An attempt at finding a work-around for a bizzare issue that affects on one unit test when executed by Continuum CI server
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512197 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 08:24:21 +00:00
Oleg Kalnichevski 7005e49c57 Upgraded parent pom to version 7; removed assembly plugin; removed clover profile
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512192 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 07:24:29 +00:00
Oleg Kalnichevski 2d17d461bb Added another URI rewriting test case
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1511689 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 10:56:46 +00:00
Oleg Kalnichevski 78295c169a Minor performance optimization: do not consume content of an intermediate response if the underlying connection is not re-usable
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1511652 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 09:39:19 +00:00
Oleg Kalnichevski 4db8167981 Cleaned up HttpRoute
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1511446 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 19:20:18 +00:00
Oleg Kalnichevski e40168d06c Unit tests for MainClientExec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1511445 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 19:20:05 +00:00
Oleg Kalnichevski d90302ed14 Upgraded HttpCore to version 4.3
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1510886 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 08:53:13 +00:00
Oleg Kalnichevski fc8df4ef2a Improved test coverage for classes added in 4.3
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1508949 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 16:29:35 +00:00
Oleg Kalnichevski 834d5e66da Deprecated SSLSocketFactory in favor of SSLConnectionSocketFactory
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1507677 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 15:59:36 +00:00
Oleg Kalnichevski e7d9978f26 Moved deprecated classes to a separate scr folder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1507633 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 13:16:37 +00:00
Oleg Kalnichevski 914c9ceba6 Fixed check style violations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1505609 13f79535-47bb-0310-9956-ffa450edef68
2013-07-22 07:21:36 +00:00
Sebastian Bazley 4aa221dd54 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1505483 13f79535-47bb-0310-9956-ffa450edef68
2013-07-21 22:28:14 +00:00
Sebastian Bazley 4790be3c56 The final keyword should the the final keyword!
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1501015 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 23:39:18 +00:00
Oleg Kalnichevski b524b797c4 Follow up to HTTPCLIENT-1383: fixes another infinite loop in case of an out of sequence NTLM response
Contributed by Ricardo Pereira <thc202 at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1500629 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 09:28:50 +00:00