Commit Graph

2544 Commits

Author SHA1 Message Date
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 8e30f60efe HTTPCLIENT-1503: setter for custom multipart subtypes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1599553 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 14:11:22 +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 dac3450d57 HTTPCLIENT-1512: Option to override content charset for fluent response objects
Contributed by Jochen Kemnade <jochen.kemnade at eddyson.de>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1597551 13f79535-47bb-0310-9956-ffa450edef68
2014-05-26 10:23:40 +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 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