Commit Graph

334 Commits

Author SHA1 Message Date
Simone Bordet 50a686bfff Removed leftover code from the fix of #333717.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2780 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-11 11:59:08 +00:00
Joakim Erdfelt 9aea1658df Updating reference to keystore to use MavenTestingUtils techniques instead.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2775 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-10 16:13:10 +00:00
Joakim Erdfelt c7d2d27945 Bumping up jetty-test-helper to v1.2 to use Stress helper.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2766 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-09 22:45:08 +00:00
Greg Wilkins f807e15c77 335329 Stop SSL spin during handshake and renogotiate
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2719 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-01 01:57:12 +00:00
Joakim Erdfelt acc4f230fc Merging back /branches/jetty-bug-296978 revs 2674:HEAD
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2709 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-28 18:58:47 +00:00
Jesse McConnell 3c664563be Bug 334311 fix buffer reuse issue in CachedExchange
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2663 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-14 22:07:09 +00:00
Jesse McConnell bcde60bd2f Bug 329746 client option to set just truststore and use strict ssl context
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2655 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-12 17:25:24 +00:00
Jesse McConnell 8f5bd3b063 Bug 333717 HttpClient can't get local listen address, http exchange can return the local address used for the connection.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2650 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-11 19:55:31 +00:00
Greg Wilkins 835751c2ef improved test harness timing
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2538 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-19 00:25:32 +00:00
Greg Wilkins b06edcd858 328988 added session idle save and reduced synchronization
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2466 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-03 02:47:05 +00:00
Greg Wilkins c76886e2aa moved B64Code to util
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2399 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-25 03:33:16 +00:00
Greg Wilkins dddbe12c97 327562 Implement all X-Forwarded headers in ProxyServlet
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2343 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-13 00:34:58 +00:00
Greg Wilkins de178f18c6 324369 Improved handling of multiple versions of draft-ietf-hybi-thewebsocketprotocol
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2342 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-13 00:34:30 +00:00
Greg Wilkins 3df18cb180 327469 removed needless java6 dependencies
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2340 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-11 23:17:47 +00:00
Simone Bordet 88bfdf504c More fixes for #327183 (Allow better configurability of HttpClient for TLS/SSL).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2332 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-08 10:38:34 +00:00
Simone Bordet cd7926584d Fixes #327183 (Allow better configurability of HttpClient for TLS/SSL).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2329 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-07 08:21:12 +00:00
Greg Wilkins 837b477f12 325105 websocket ondisconnect fixed
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2273 7e9141cc-0065-0410-87d8-b60c137991c4
2010-09-14 11:47:07 +00:00
Greg Wilkins 1596451908 324369 Implement draft-ietf-hybi-thewebsocketprotocol-01
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2245 7e9141cc-0065-0410-87d8-b60c137991c4
2010-09-03 07:05:53 +00:00
Greg Wilkins 995df89b22 324369 Implement draft-ietf-hybi-thewebsocketprotocol-01
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2242 7e9141cc-0065-0410-87d8-b60c137991c4
2010-09-03 03:41:05 +00:00
Greg Wilkins a456b2b600 321735 HttpClient onException called for buffer overflow.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2213 7e9141cc-0065-0410-87d8-b60c137991c4
2010-08-16 05:46:17 +00:00
Jesse McConnell 129184744a JETTY-912 add exchange timeout
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2204 7e9141cc-0065-0410-87d8-b60c137991c4
2010-08-03 14:51:41 +00:00
Simone Bordet eb7a6ff734 Removed circular dependency between jetty-servlets and jetty-client.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2198 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-30 08:03:15 +00:00
Simone Bordet fcc0c71d8f Fixes #298502 (Https exchange through an http proxy).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2197 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-29 23:34:47 +00:00
Greg Wilkins ef9ebf31b6 314087 Simplified SelectorManager
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2189 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-28 13:11:40 +00:00
Greg Wilkins 9f0a75da75 319334 improved resource cache
Made the cache use concurrent data structures
Removed the dual NIO/BIO caches
Use the cache for streaming data
made DefaultServlet check for shared cache
some javadoc cleanups

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2085 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-09 04:45:52 +00:00
Greg Wilkins 3e515dd060 296570 EOFException for HttpExchange when HttpClient.stop called
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2067 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-05 04:42:35 +00:00
Greg Wilkins 75dd71b1ff 296570 EOFException for HttpExchange when HttpClient.stop called
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2066 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-05 02:49:37 +00:00
Greg Wilkins 517130e909 317759 Allow roles and constraints to be added after init
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2043 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-24 00:39:13 +00:00
Michael Gorovoy 91e134a7cc 316334 Breaking change on org.eclipse.jetty.client.HttpExchange
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1954 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-09 17:48:26 +00:00
Simone Bordet 6adb41cf5d Reviewed patch for #307457 (Exchanges are left unhandled when connection is lost): improved and cleaned up the fix.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1874 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-26 12:37:56 +00:00
Simone Bordet 222826d2f7 First pass to fix #308851.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1873 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-26 10:24:11 +00:00
Greg Wilkins f728f9dfa3 296567 HttpClient RedirectListener handles new HttpDestination
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1872 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-26 08:04:28 +00:00
Michael Gorovoy 0e780cd2f8 307457 Exchanges are left unhandled when connection is lost
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1871 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-26 04:44:30 +00:00
Greg Wilkins edd416d583 312948 Recycle SSL crypto buffers
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1827 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-20 10:15:15 +00:00
Michael Gorovoy 16ee953581 306226 HttpClient should allow changing the keystore and truststore type
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1767 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-12 15:30:31 +00:00
Greg Wilkins becb140427 310918 Fixed write blocking for client HttpConnection
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1765 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-12 13:07:20 +00:00
Greg Wilkins d994f2db2d #296650 JETTY-1198 reset idle timeout on request body chunks
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1654 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-03 18:52:16 +00:00
Greg Wilkins bc497c6114 increased times
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1631 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-30 13:14:31 +00:00
Greg Wilkins 012b72a7f4 redundant
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1630 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-30 13:13:22 +00:00
Joakim Erdfelt b7b067e7f3 309185 - Fix the over 300 Javadoc warnings
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1627 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-29 23:03:36 +00:00
Joakim Erdfelt 6bc437c298 309185 - Fix the over 300 Javadoc warnings
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1626 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-29 23:03:04 +00:00
Greg Wilkins dffed8cef7 310918 Synchronize content exchange
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1622 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-28 22:38:33 +00:00
Simone Bordet 9c8160db02 Joining the server at the end of the test.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1612 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-27 17:15:09 +00:00
Greg Wilkins fb284cb2a8 debug
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1546 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-21 13:02:36 +00:00
Greg Wilkins 5da4ce77c0 debug
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1545 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-21 12:56:06 +00:00
Greg Wilkins 28ead0cdbe debug
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1544 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-21 12:48:13 +00:00
Greg Wilkins af0e30d908 debug
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1543 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-21 12:43:24 +00:00
Greg Wilkins 7fcf968406 debug
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1542 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-21 12:23:55 +00:00
Greg Wilkins 79dd3c70db debug
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1541 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-21 12:16:06 +00:00
Greg Wilkins 4a1923d007 debug
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1540 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-21 12:06:43 +00:00
Greg Wilkins 047a1dd9c0 debug
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1539 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-21 11:54:48 +00:00
Greg Wilkins de06e34b06 debug
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1538 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-21 11:48:55 +00:00
Greg Wilkins b72ec70899 debug
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1537 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-21 11:03:05 +00:00
Greg Wilkins 20d7ba4b9d no debug
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1536 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-21 10:44:24 +00:00
Greg Wilkins a32d7cd517 JETTY-1200 SSL NIO Endpoint wraps non NIO buffers
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1535 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-21 10:25:46 +00:00
Greg Wilkins fcd0c6a119 294563 fixed race in test
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1509 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-13 16:34:08 +00:00
Greg Wilkins ac50ff46f3 294563 Websocket client connection
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1476 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-07 11:09:17 +00:00
Greg Wilkins 54117dad5b 307898 Handle large/async websocket messages
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1434 7e9141cc-0065-0410-87d8-b60c137991c4
2010-04-01 16:39:26 +00:00
Greg Wilkins 6c2741bbd6 297552 Dont call Continuation timeouts from acceptor tick
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1418 7e9141cc-0065-0410-87d8-b60c137991c4
2010-03-29 21:51:18 +00:00
Greg Wilkins c4e8eb1a29 306782 Do not skip content if 100 not sent, but content available
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1417 7e9141cc-0065-0410-87d8-b60c137991c4
2010-03-27 21:07:40 +00:00
Greg Wilkins 889e7eb728 298236 Additional unit tests for jetty-client
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1412 7e9141cc-0065-0410-87d8-b60c137991c4
2010-03-26 17:04:26 +00:00
Greg Wilkins 203d692be0 306880 - Support for UPGRADE in HttpClient
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1408 7e9141cc-0065-0410-87d8-b60c137991c4
2010-03-23 22:59:17 +00:00
Greg Wilkins 9cc74e8451 undo accidental commit
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1399 7e9141cc-0065-0410-87d8-b60c137991c4
2010-03-22 03:22:00 +00:00
Greg Wilkins 40ee939b4e 306376 extra tests
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1398 7e9141cc-0065-0410-87d8-b60c137991c4
2010-03-22 03:17:25 +00:00
Simone Bordet f9329e1a33 Fixes #306028 (Enable TCP_NODELAY by default in client connectors).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1385 7e9141cc-0065-0410-87d8-b60c137991c4
2010-03-16 15:31:20 +00:00
Greg Wilkins a4b09b44da JETTY-1192 Fixed Digested POST
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1384 7e9141cc-0065-0410-87d8-b60c137991c4
2010-03-16 14:33:47 +00:00
Greg Wilkins 96ec4af2df JETTY-1192 Fixed Digested POST
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1378 7e9141cc-0065-0410-87d8-b60c137991c4
2010-03-15 20:19:03 +00:00
Greg Wilkins 66533d0af9 304781 Reset HttpExchange timeout on slow request content. 304801 SSL connections FULL fix
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1342 7e9141cc-0065-0410-87d8-b60c137991c4
2010-03-05 12:04:05 +00:00
Greg Wilkins 67d656ea39 skip test on IBM
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1337 7e9141cc-0065-0410-87d8-b60c137991c4
2010-03-03 22:44:24 +00:00
Greg Wilkins 5dc2947b8a 304532 Skip some tests on IBM JVMs
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1334 7e9141cc-0065-0410-87d8-b60c137991c4
2010-03-03 15:55:49 +00:00
Greg Wilkins c53e8f4c39 handle stupid networks
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1331 7e9141cc-0065-0410-87d8-b60c137991c4
2010-03-03 13:35:47 +00:00
Greg Wilkins edbc262883 better handling if if stopped
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1265 7e9141cc-0065-0410-87d8-b60c137991c4
2010-02-12 03:52:35 +00:00
Greg Wilkins d208d55652 294563 removed UpgradeConnectionException from websocket handling
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1263 7e9141cc-0065-0410-87d8-b60c137991c4
2010-02-11 01:31:17 +00:00
Greg Wilkins e4ba31be97 302198 Rename HttpClient authorization classes to Authentication
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1250 7e9141cc-0065-0410-87d8-b60c137991c4
2010-02-08 22:20:26 +00:00
Greg Wilkins 72b546abe6 302198 Rename HttpClient authorization classes to Authentication
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1249 7e9141cc-0065-0410-87d8-b60c137991c4
2010-02-08 22:17:07 +00:00
Greg Wilkins 1a995d876d key store algorithm for Ibm JVM
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1228 7e9141cc-0065-0410-87d8-b60c137991c4
2010-02-02 14:00:58 +00:00
Greg Wilkins 0b7850d179 removed sun tests. dump to std err
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1211 7e9141cc-0065-0410-87d8-b60c137991c4
2010-01-24 23:46:49 +00:00
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