Commit Graph

2282 Commits

Author SHA1 Message Date
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 cb983ea5b0 HTTPCLIENT-1494: null check in StringBody constructor
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1585944 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 11:42:56 +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
Oleg Kalnichevski 85f876d6b1 HTTPCLIENT-1491: Enable provision of Service Principal Name in Windows native auth scheme
Contributed by Malcolm Smith <malcolmfsmith at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1583331 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 14:04:34 +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 57c6856702 Removed reference to deprecated Assert
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1575901 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 11:15:55 +00:00
Oleg Kalnichevski 4a6adb5891 Minimal test coverage for HC Fluent
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1574555 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 16:06:12 +00:00
Oleg Kalnichevski 254cc058bf HTTPCLIENT-1474: fixed broken entity enclosing requests in HC Fluent
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1574554 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 16:06:00 +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
Gary D. Gregory 406e3aaa15 Update JUnit to version 4.11 from 4.9.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1574512 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 14:47:13 +00:00
Gary D. Gregory 1b2c126f2a Add Eclipse and Maven files and folders to svn:ignore.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1574511 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 14:46:52 +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 10ee968607 Minor corrections in the SSL customization chapter
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1572934 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 12:27:20 +00:00
Oleg Kalnichevski b3b1b712df Cleanups in CachingExec and related test classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1572556 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 13:32:58 +00:00
Gary D. Gregory 9c02dde2cc Add release 4.3.3 to RN history.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1572167 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 17:09:29 +00:00
Oleg Kalnichevski 29e692e410 Made AsynchronousValidationRequest public
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571715 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 14:46:07 +00:00
Oleg Kalnichevski 013ed18c5c Code cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571714 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 14:45:14 +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 33b4fc1db7 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571527 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 01:54:35 +00:00
Sebastian Bazley d90f21400f Suppress unused warnings for ctor tests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571526 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 01:53:36 +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 79c90bd159 Oops - Cannot use top level EasyMock for everything.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571432 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 20:46:49 +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