Commit Graph

110 Commits

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