Commit Graph

872 Commits

Author SHA1 Message Date
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