Commit Graph

72 Commits

Author SHA1 Message Date
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
Oleg Kalnichevski ccfc5de212 Fixed bug causing empty input lines to be omitted from the wire log
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@764915 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 18:27:04 +00:00
Oleg Kalnichevski c1a13dea57 Set session buffer size to 8192, if not set explicitly
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@764911 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 18:19:52 +00:00
Oleg Kalnichevski a23c18ac1e Javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@764588 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 19:53:25 +00:00
Oleg Kalnichevski c74443f68b Explicitly set default TcpNoDelay and socket buffer parameter values
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@764586 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 19:52:18 +00:00
Oleg Kalnichevski dccecd2411 Added a test case for handling of authentication failures with non-repeatable requests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@759942 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 12:33:25 +00:00
Oleg Kalnichevski e2520f8509 Added test coverage for authentication
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@759926 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 11:34:33 +00:00
Sam Berlin 165507b8d7 include the cause of a NonRepeatableRequestException when failing.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@758447 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 22:05:45 +00:00
Oleg Kalnichevski bc063a1ad0 HTTPCLIENT-837: Fixed problem with the wire log skipping zero byte values if read one byte at a time.
Contributed by Kirill Safonov <ksafonov at swiftteams.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@757528 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 20:14:05 +00:00
Sebastian Bazley 6b57ed5755 Concurrency documentation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756799 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 23:05:07 +00:00
Sebastian Bazley 7c1fa0fda3 Change JCIP dependency scope to provided
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756524 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 15:23:10 +00:00
Sebastian Bazley d5aa3eae89 Document thread-safety
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756435 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 12:49:08 +00:00
Sebastian Bazley df02f73742 Document not thread safe
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756315 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 02:42:48 +00:00
Sebastian Bazley 322911cc02 All other accesses to numConnections use poolLock to lock.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756314 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 02:33:50 +00:00
Sebastian Bazley dd9e5e28ee NotThreadSafe
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756309 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 02:21:25 +00:00
Sebastian Bazley c7e53d6acc Unused import
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756300 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:56:01 +00:00
Sebastian Bazley 208bcda71c More Immutable classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756299 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:54:42 +00:00
Sebastian Bazley 3994fe9af2 More Immutable classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756298 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:54:11 +00:00
Sebastian Bazley 1326d80e52 Private Field is not updated, might as well be final
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756297 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:53:34 +00:00
Sebastian Bazley 4753d7e3ac More ThreadSafe and Immutable classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756296 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:52:13 +00:00
Sebastian Bazley e895b182a5 As with other methods, not currently thread-safe
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756294 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:51:09 +00:00