Commit Graph

207 Commits

Author SHA1 Message Date
Joakim Erdfelt 4a35f6c109 Fixing for build on Windows 7, timeout occurs with values under 3000 on modern hardware
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1210 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-21 18:41:35 +00:00
Simone Bordet 23568f58af Fix for #300178 - HttpClients opens too many connections that are immediately closed.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1207 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-20 12:59:23 +00:00
Greg Wilkins ef75f443af 298234 Unit test for jetty-client handling different HTTP error codes
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1165 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-23 01:53:45 +00:00
Greg Wilkins 8c501855b7 JETTY-1155 HttpConnection.close notifies HttpExchange
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1163 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-22 01:32:45 +00:00
Greg Wilkins 69d093c6ef 298145 Reorganized test harness to separate the HTTP PUT and HTTP GET test URLs
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1162 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-21 23:18:42 +00:00
Greg Wilkins 4edb10b457 Content exchange mimetype with multiple parameters
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1161 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-21 02:41:00 +00:00
Greg Wilkins c5b8386194 298144 Unit test for jetty-client connecting to a server that uses Basic Auth
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1160 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-21 02:40:39 +00:00
Greg Wilkins 87da18834e 298144 Unit test for jetty-client connecting to a server that uses Basic Auth
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1159 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-19 23:13:41 +00:00
Greg Wilkins 4912c23732 297783 Handle HEAD reponses in HttpClient
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1157 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-17 03:31:26 +00:00
Greg Wilkins 87c21752a0 COMETD-46 reset ContentExchange response content on resend
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1155 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-16 23:13:02 +00:00
Greg Wilkins aaf4930edd 290765 Reset input for HttpExchange retry
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1137 7e9141cc-0065-0410-87d8-b60c137991c4
2009-12-10 01:21:42 +00:00
Greg Wilkins 5ed8699b52 websocket origin headers
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1073 7e9141cc-0065-0410-87d8-b60c137991c4
2009-11-19 21:47:14 +00:00
Simone Bordet 0c6f8e63bc Fix for #295421: Cannot reset() a newly created HttpExchange: IllegalStateException 0 => 0.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1063 7e9141cc-0065-0410-87d8-b60c137991c4
2009-11-18 09:42:47 +00:00
Greg Wilkins 2a3750fe1e 294563 Initial websocket implementation working
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1043 7e9141cc-0065-0410-87d8-b60c137991c4
2009-11-12 03:27:35 +00:00
Jesse McConnell 1da3065043 [Bug 294345] minor fix to previous patch for this bugzilla issue
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1042 7e9141cc-0065-0410-87d8-b60c137991c4
2009-11-11 04:11:27 +00:00
Simone Bordet 07c6830d6c Draft fix for the test failure.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1029 7e9141cc-0065-0410-87d8-b60c137991c4
2009-11-06 15:10:59 +00:00
Simone Bordet 3821e44760 Fix for #294345: Support for HTTP/301 + HTTP/302 response codes (patches from M. Gorovoy).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1028 7e9141cc-0065-0410-87d8-b60c137991c4
2009-11-06 14:00:13 +00:00
Simone Bordet 1017e2235d Fix for #294224: HttpClient timeout setting has no effect when connecting to host.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1027 7e9141cc-0065-0410-87d8-b60c137991c4
2009-11-04 20:07:19 +00:00
Greg Wilkins b71d1a7b0f Fixed client abort association
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1020 7e9141cc-0065-0410-87d8-b60c137991c4
2009-10-31 11:35:06 +00:00
Greg Wilkins 227fb5abec numerous code cleanups
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1014 7e9141cc-0065-0410-87d8-b60c137991c4
2009-10-26 07:48:39 +00:00
Greg Wilkins a24f48c113 292546 Proactively enforce HttpClient idle timeout
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1013 7e9141cc-0065-0410-87d8-b60c137991c4
2009-10-26 06:20:09 +00:00
Greg Wilkins 14a1f24a0f 290761 HttpExchange isDone handles intercepted events
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@968 7e9141cc-0065-0410-87d8-b60c137991c4
2009-10-05 14:22:32 +00:00
Simone Bordet 5d022a627b Fixed bug #291340: Race condition in onException() notifications.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@966 7e9141cc-0065-0410-87d8-b60c137991c4
2009-10-05 13:16:24 +00:00
Simone Bordet 0b70620b82 Fixed bug #289686: HttpExchange.setStatus() has too coarse synchronization.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@929 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-17 08:03:08 +00:00
Simone Bordet 432ab6605a Fixed bug #289221: HttpExchange does not timeout when using blocking connector.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@901 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-15 14:39:09 +00:00
Greg Wilkins d6415542d3 289027 deobfuscate HttpClient SSL passwords
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@894 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-15 01:30:16 +00:00
Greg Wilkins 22cb389992 less brittle test
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@890 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-14 10:18:06 +00:00
Simone Bordet 31f1684464 Added byte[] getter for the response content.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@888 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-12 13:48:02 +00:00
Simone Bordet 84c922dd4c Fixed bug #288401: HttpExchange.cancel() Method Unimplemented.
It is now implemented.
Improved Javadocs and made all members private.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@881 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-11 14:24:28 +00:00
Simone Bordet c4f283538a Copyright header.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@879 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-11 14:13:28 +00:00
Greg Wilkins edc88820ac 282543 HttpClient SSL buffer type fix
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@878 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-11 12:48:28 +00:00
Jesse McConnell e87dfd072b apply fix from 7.0.0 to trunk
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@866 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-10 21:56:32 +00:00
Greg Wilkins c5983dbb1d 282543 HttpClient SSL buffer size fix
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@856 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-10 11:31:53 +00:00
Greg Wilkins 1ec196076a 282543 HttpClient SSL buffer size fix
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@854 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-10 08:00:20 +00:00
Simone Bordet d6bd35a773 Fix for bug #288772: Failure to connect does not set status to EXCEPTED.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@823 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-07 18:55:43 +00:00
Jesse McConnell df168e8e76 Bug 288182 PUT request fails during retry
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@790 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-31 21:06:13 +00:00
Jesse McConnell 4b22715b89 BUG 288153 reset exchange when resending
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@786 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-31 16:34:58 +00:00
Jesse McConnell 00d961d4fd git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@783 7e9141cc-0065-0410-87d8-b60c137991c4 2009-08-30 18:06:31 +00:00
Jesse McConnell 53ca33accb BUG 288055 resolved issue with jetty-client
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@782 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-30 17:57:47 +00:00
Jesse McConnell ed5fcdb786 resolved potential infinite webdav check exists loop
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@780 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-28 17:37:27 +00:00
Jesse McConnell 81e7516969 responseContent to protected so something that extends can see it
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@779 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-28 16:39:24 +00:00
Greg Wilkins 024df7b64e 286535 ContentExchange status code
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@720 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-13 23:58:17 +00:00
Greg Wilkins 4628a6869c 282447 concurrent destinations in HttpClient
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@640 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-05 15:34:31 +00:00
Greg Wilkins 964d9da7cd spelling
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@621 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-03 02:57:33 +00:00
Greg Wilkins b07b020c6b improved javadoc
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@615 7e9141cc-0065-0410-87d8-b60c137991c4
2009-08-02 23:27:18 +00:00
Greg Wilkins f13ac17713 280843 buffer pool mixing types
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@492 7e9141cc-0065-0410-87d8-b60c137991c4
2009-07-08 07:39:23 +00:00
Greg Wilkins d71050fa73 less verbose
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@442 7e9141cc-0065-0410-87d8-b60c137991c4
2009-06-27 06:52:25 +00:00
Jan Bartel d825ba729b 280707 client.HttpConnection does not catch and handle non-IOExceptions
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@421 7e9141cc-0065-0410-87d8-b60c137991c4
2009-06-18 03:27:50 +00:00
Greg Wilkins 0a8e71e89e reworked the buffers mechanism to be less conditional
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@396 7e9141cc-0065-0410-87d8-b60c137991c4
2009-06-15 07:11:04 +00:00
Greg Wilkins 963fd5da81 279725 Support 100 and 102 expectations
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@356 7e9141cc-0065-0410-87d8-b60c137991c4
2009-06-10 02:17:34 +00:00
Greg Wilkins 8f940927ff simplifications and fixes from porting auction to oort
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@325 7e9141cc-0065-0410-87d8-b60c137991c4
2009-06-01 05:04:37 +00:00
Greg Wilkins 5255060588 275396 Added ScopedHandler to set servlet scope before security handler
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@209 7e9141cc-0065-0410-87d8-b60c137991c4
2009-05-12 14:09:54 +00:00
Greg Wilkins ab24a94666 JETTY-1015 work in progress
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@207 7e9141cc-0065-0410-87d8-b60c137991c4
2009-05-07 06:46:40 +00:00
Greg Wilkins 3ee44fd757 JETTY-1015 Reduce BayeuxClient and HttpClient lock contention
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@206 7e9141cc-0065-0410-87d8-b60c137991c4
2009-05-05 14:13:18 +00:00
Greg Wilkins 1e0009aa32 removed HTTP specifics from connection dispatching
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@143 7e9141cc-0065-0410-87d8-b60c137991c4
2009-04-14 03:00:19 +00:00
Greg Wilkins 74de0dbec6 updated login service for logout.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@141 7e9141cc-0065-0410-87d8-b60c137991c4
2009-04-13 23:55:40 +00:00
Greg Wilkins da627b843f jetty @ eclipse initial commit
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@8 7e9141cc-0065-0410-87d8-b60c137991c4
2009-03-24 21:07:27 +00:00