Commit Graph

1982 Commits

Author SHA1 Message Date
Greg Wilkins f7a0d7d134 JETTY-1354 Added jetty-nested
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2941 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-31 07:30:08 +00:00
Greg Wilkins 8d5b3c5261 341439 Blocking HttpClient does not use soTimeout for timeouts
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2940 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-31 00:30:22 +00:00
Michael Gorovoy a8e9be3a94 341394 Remove 'Unavailable' JMX attributes of WebAppContext MBean
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2939 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-30 23:28:54 +00:00
Simone Bordet cf09f69e53 Fixed #341386 (Remote close not detected by HttpClient).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2938 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-30 15:50:13 +00:00
Jesse McConnell 6d4ec6a4bc initialize booleans in test exchange
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2937 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-30 15:36:25 +00:00
Simone Bordet 5febe18d52 Modified attempt to delete files on Windows without failing the test, take #2.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2936 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-30 14:05:41 +00:00
Simone Bordet da0160029d Modified attempt to delete files on Windows without failing the test.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2935 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-30 13:51:50 +00:00
Simone Bordet e9e7a72b08 Avoided division by zero on single CPU boxes.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2934 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-30 13:23:41 +00:00
Simone Bordet 51f21301d6 Ensure that if the read throws we close the EndPoint, so the connection can detect that the EndPoint is closed and act accordingly.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2933 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-30 13:19:36 +00:00
Simone Bordet d6627db6b5 Made the test more reliable.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2932 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-30 13:15:33 +00:00
Simone Bordet 7e8b4cb771 Cosmetics.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2931 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-30 13:10:57 +00:00
Greg Wilkins f814c815d2 improved tests
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2930 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-30 06:06:23 +00:00
Greg Wilkins 39871d801c removed debug
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2929 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-30 05:21:01 +00:00
Greg Wilkins 35f6b53e79 fixed test to handle different default encodings
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2928 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-30 04:55:30 +00:00
Greg Wilkins 7ebc5c380b 337685 use abstract connector. more debugging output
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2927 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-30 03:43:33 +00:00
Jan Bartel 804f8eef3e Add extra test for removing a http session and verifying it is gone
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2926 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-29 23:59:06 +00:00
Jesse McConnell 3eca053a8c check user.dir
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2925 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-29 18:02:30 +00:00
Jesse McConnell 838420f95d fix naming from bug 341255
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2924 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-29 16:25:12 +00:00
Jesse McConnell 6388c6b89d Bug 341255 resolve naming issue between AJParser and HashSessionIdManager org.eclipse.http -> org.eclipse.ajp
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2923 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-29 16:23:30 +00:00
Jesse McConnell 92156dcc2b Break up jetty.policy into finer grained policy files.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2922 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-29 16:09:09 +00:00
Simone Bordet 05c3f0338d Improved handling of connection close, in case a request gets no response because the connection has been closed.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2921 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-29 15:15:00 +00:00
Simone Bordet 7dfec125f2 Made interface Acceptor public, otherwise other packages such as CometD cannot implement it, and cleaned up the code.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2920 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-29 11:13:55 +00:00
Simone Bordet 0dcf64caa1 Fixes #341206 (Stop order is wrong in HandlerWrapper).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2919 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-29 10:30:06 +00:00
Michael Gorovoy f1a3caeaca 341145 WebAppContext MBean attribute serverClasses returns empty value
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2918 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-28 18:03:01 +00:00
Michael Gorovoy 5a04099f61 341105 Stack trace is printed for an ignored exception
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2917 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-28 14:08:35 +00:00
Simone Bordet 0fa5fe227a More fixes for #340838 (Update ConnectHandler to perform half closes properly): make sure buffered data write is attempted only once.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2916 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-26 00:30:54 +00:00
Simone Bordet e761ede1ee More fixes for #340838 (Update ConnectHandler to perform half closes properly): reverted inheritance from AbstractConnection and writing buffered data before shutting down output.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2915 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-26 00:16:39 +00:00
Jesse McConnell 7cb7d933dc 341006 move inner enums out into separate files
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2914 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-25 21:05:02 +00:00
Jesse McConnell 6e62a61af3 341006 move inner enums out into separate files
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2913 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-25 21:04:39 +00:00
Greg Wilkins fdf199e254 organized imports
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2912 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-25 05:59:18 +00:00
Michael Gorovoy 86f9f44b67 340920 Dynamically assign RMI registry port for integration testing
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2911 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-24 23:13:35 +00:00
Michael Gorovoy be843880b7 340878 Integrations should be able to load their own keystores
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2910 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-24 17:22:40 +00:00
Simone Bordet 31d8a6feca Fixes #340838 (Update ConnectHandler to perform half closes properly).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2909 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-24 10:21:17 +00:00
Simone Bordet 9476b66fe5 Cosmetics.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2908 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-24 08:35:31 +00:00
Greg Wilkins 3c3430718b 340265 Improve handling of io shutdown in SSL
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2907 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-23 06:49:57 +00:00
Greg Wilkins a6483bfa6f 340265 Improve handling of io shutdown in SSL
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2906 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-23 03:36:06 +00:00
Hugues Malphettes 903dd14656 Don't use URL#toURI to transform a URL into a File; that does not work when spaces and other characters appear on the path.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2900 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-17 09:19:08 +00:00
Greg Wilkins 3ec94365ae 324110 Added test harnesses for merging of QueryStrings
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2897 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-16 22:23:31 +00:00
Greg Wilkins 47c2db544d better doco
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2896 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-16 00:28:37 +00:00
Greg Wilkins dd5fc77cd1 better doco
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2895 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-16 00:28:12 +00:00
Michael Gorovoy c4807e45c9 338627 HashSessionManager.getIdleSavePeriod returns milliseconds
instead of seconds

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2894 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-15 06:01:32 +00:00
Greg Wilkins c26cc92857 337685 improved progress return
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2888 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-14 13:26:41 +00:00
Greg Wilkins 80a56c31a2 websocket debugging
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2887 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-14 12:06:28 +00:00
Greg Wilkins 7cca101aeb improved ws tests
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2886 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-14 03:54:41 +00:00
Greg Wilkins 3a267d9dd8 JETTY-1245 Pooled Buffers implementation
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2885 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-14 03:09:56 +00:00
Greg Wilkins 8aba6c12a6 readme
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2884 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-14 02:53:16 +00:00
Michael Gorovoy 626ef8271b 339150 Validate client certificate when it is used for authentication
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2882 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-12 02:01:01 +00:00
Greg Wilkins 31d8e8b3dc 337685 more common code
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2880 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-11 05:00:45 +00:00
Greg Wilkins 3078c8797e 337685 testing with FF
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2879 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-11 04:10:12 +00:00
Greg Wilkins 6cbd1225a6 337685 Update websocket API in preparation for draft -07
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2878 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-10 13:32:31 +00:00