Commit Graph

92 Commits

Author SHA1 Message Date
Oleg Kalnichevski 0fa5a2e77c [maven-release-plugin] prepare release 4.0
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@801758 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 18:25:57 +00:00
Sebastian Bazley c94fb12752 Improve thread-safety
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@799233 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 10:52:00 +00:00
Sebastian Bazley 3629ccf108 Thread-safety: make protected fields final
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797438 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 13:18:59 +00:00
Sebastian Bazley 35066eaff7 Oops - can't clone null ...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797280 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 00:30:43 +00:00
Sebastian Bazley 66dc2da9ff Add thread-safety annotations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797270 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 00:03:52 +00:00
Sebastian Bazley eee617209b Add thread-safety annotations
Copy string array in constructor to avoid external changes

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797269 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 00:02:54 +00:00
Sebastian Bazley 49b68a54d8 Make private field final
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797268 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 00:00:33 +00:00
Sebastian Bazley 025def7c3f Document thread-safety of final fields
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797254 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 22:44:34 +00:00
Sebastian Bazley 8884e1b686 Annotate how non-final fields are made thread-safe
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797253 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 22:43:04 +00:00
Sebastian Bazley 15e6e9fc0b Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@796665 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 11:11:37 +00:00
Oleg Kalnichevski 55d9c6f161 HTTPCLIENT-861: URI reference resolution fails examples in RFC 3986
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@794870 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 21:30:38 +00:00
Oleg Kalnichevski d780072ad5 Fixed compile breakage
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@794056 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 20:21:06 +00:00
Oleg Kalnichevski 3c93d00a74 HTTPCLIENT-860: HttpClient no longer converts redirects of PUT/POST to GET for status codes 301, 302, 307, as required by the HTTP spec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@794051 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 20:12:27 +00:00
Oleg Kalnichevski 842a750509 Removed HeadURL, Revision and Date keywords from all source files
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@793668 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 19:16:48 +00:00
Oleg Kalnichevski 9a2a3cb732 HTTPCLIENT-859: CookieIdentityComparator now takes path attribute into consideration when comparing cookies
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792645 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 19:29:11 +00:00
Oleg Kalnichevski 2b69ac0ae9 HttpClient will no longer send expired cookies back to the origin server
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792269 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 19:10:52 +00:00
Oleg Kalnichevski be2367cd91 Fixed warnings in Eclipse
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792268 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 19:08:14 +00:00
Oleg Kalnichevski db2d11720a HTTPCLIENT-856: Proxy NTLM authentication no longer fails on a redirect to a different host
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@789408 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 18:43:51 +00:00
Oleg Kalnichevski 4569c7d8ea Javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@788497 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 20:04:53 +00:00
Oleg Kalnichevski cd6851f19a Upgrade HttpClient version to 4.0-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@788485 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 19:38:04 +00:00
Oleg Kalnichevski bd2f049ada HTTPCLIENT-841: removed connection garbage collection due to a memory leak
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@784361 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 10:13:36 +00:00
Oleg Kalnichevski 29b8b170e4 Added a more advanced protocol interceptor for generating Connection and Proxy-Connection request headers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@783453 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 19:13:24 +00:00
Oleg Kalnichevski 642d0e242e Updated report definitions
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@782313 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 22:03:11 +00:00
Oleg Kalnichevski a056c12a1f Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@782102 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 19:11:44 +00:00
Oleg Kalnichevski 4f04500b22 Javadoc cleanups; fixed some binary incompatibilities with 4.0-beta1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@781821 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 18:17:38 +00:00
Oleg Kalnichevski 9996dad49d Follow-up to HTTPCLIENT-853
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@781075 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 16:18:12 +00:00
Oleg Kalnichevski b71fefd093 HTTPCLIENT-853: Fixed bug causing invalid cookie origin port to be selected when the target is accessed on the default port and the connection is established via a proxy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@780802 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 20:01:01 +00:00
Oleg Kalnichevski 6681a1193d HTTPCLIENT-852: Fixed bug causing automatically retried redirects fail with CircularRedirectException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@780611 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 10:39:05 +00:00
Oleg Kalnichevski 7d39f392f6 Fixed handling of the virtual host parameter. Virtual host parameter should not be used if the request has been redirected.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@780403 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 10:35:47 +00:00
Oleg Kalnichevski b1db46db6c Javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@779754 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 20:00:51 +00:00
Oleg Kalnichevski 28c9b07691 Javadoc cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@777904 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 12:41:02 +00:00
Oleg Kalnichevski d715ace629 Javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@775317 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 20:32:30 +00:00
Oleg Kalnichevski a757cafada Javadoc cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@774460 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 18:13:35 +00:00
Oleg Kalnichevski 0e319ed85c Javadoc cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@768736 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 18:36:14 +00:00
Oleg Kalnichevski 04fa90ceff Made #revokeConnection() synchronized and alwaysShutDown final
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@768009 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 18:49:21 +00:00
Sebastian Bazley 5433ef9c77 Ensure finalize() always calls super.finalize()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@767722 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 23:34:21 +00:00
Sebastian Bazley 1d0b945d90 Markup how fields are synchronized
Ensure finalize() always calls super.finalize()

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@767721 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 23:32:52 +00:00
Oleg Kalnichevski ab954f255a Javadoc cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@767659 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 21:04:47 +00:00
Oleg Kalnichevski cd4de57a55 Made class thread-safe; cleaned up javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@767657 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 21:03:47 +00:00
Oleg Kalnichevski 4f51cdcf24 Javadoc updates and code cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@766758 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 17:15:05 +00:00
Oleg Kalnichevski af182ce5e9 Javadoc cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@766180 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 23:39:31 +00:00
Oleg Kalnichevski b44aee815b Javadoc and code cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765710 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 18:12:30 +00:00
Sebastian Bazley 0b44b69b29 Grammar police
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765677 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 16:17:24 +00:00
Sebastian Bazley 62a4114ace Make unchanging fields final
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765676 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 16:16:54 +00:00
Sebastian Bazley 5c462fc22f Make unchanging fields final
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765675 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 16:15:51 +00:00
Sebastian Bazley 30d394e769 Ensure final String array cannot be changed accidentally or maliciously
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765644 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 14:11:51 +00:00
Sebastian Bazley cc297408f9 Document update
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765642 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 14:09:18 +00:00
Sebastian Bazley 834c667310 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765595 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 12:22:20 +00:00
Sebastian Bazley 78a0d3346d Requires boolean, not Boolean
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765591 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 12:17:11 +00:00
Oleg Kalnichevski 0b5dd9c3a5 Fixed problem with the default HTTP response parser failing to handle garbage preceding a valid HTTP response
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765294 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 18:19:53 +00:00