Commit Graph

334 Commits

Author SHA1 Message Date
Greg Wilkins d0a2557527 357240 fixed client connection recycle 2011-09-29 15:50:09 +10:00
Greg Wilkins f14bbbfc0a fixed bad merge 2011-09-29 08:17:23 +10:00
Greg Wilkins 21a111db27 Merge branch 'master' into sslClose
Conflicts:
	jetty-client/src/main/java/org/eclipse/jetty/client/HttpExchange.java
2011-09-29 08:10:39 +10:00
Greg Wilkins f45a720045 357240 debug client tests 2011-09-29 08:06:51 +10:00
Thomas Becker 1e5b85a2cb 359255: Allow HttpExchange state change from START to EXPIRED 2011-09-28 10:56:46 -05:00
Thomas Becker cceef37f17 359255: Code format 2011-09-28 10:44:03 -05:00
Jesse McConnell 74d5e800f6 fix some formatting issues with code conventions 2011-09-28 10:34:08 -05:00
David Kellum 40b25e6f5a JETTY-1421 Implement RedirectListener.onException,onConnectionFailed 2011-09-28 10:30:29 -05:00
David Kellum d37f2ca10c JETTY-1420 Set Host header for new request in RedirectListener 2011-09-28 10:21:29 -05:00
Greg Wilkins 603ee3dae1 357240 fixed client tests 2011-09-29 00:23:31 +10:00
Greg Wilkins a531fbc5a2 357240 fixed client tests 2011-09-29 00:09:13 +10:00
Greg Wilkins f73a6422f0 357240 fixed client test 2011-09-29 00:02:06 +10:00
Greg Wilkins fbf0fad076 357240 improved ishut/oshut handling 2011-09-28 22:50:38 +10:00
Greg Wilkins d0ffa5cb1a Merge branch 'master' into sslClose 2011-09-28 16:24:01 +10:00
Greg Wilkins 6eaa1364e3 357240 work in progress 2011-09-28 16:21:57 +10:00
Jan Bartel 65e7d65442 358959 File descriptor leak with UnresolvedAddressException 2011-09-28 14:59:34 +10:00
Greg Wilkins 27753fa747 removed debug 2011-09-26 23:00:57 +10:00
Greg Wilkins 75645cef0e 358674 Added include/exclude protocols to SslContextFactory 2011-09-23 08:02:42 +10:00
Greg Wilkins 633f3b1588 JETTY-1423 force connection to be closed returned 2011-09-22 09:22:27 +10:00
Jesse McConnell 21ddd768f0 [Bug 358147] Add catch for UnknownHostException to fix leaky file descriptor in client 2011-09-20 14:26:17 -05:00
Thomas Becker 4b7f8d79dd 358147: SelectConnector catch UnresolvedAddressException to avoid socket leak 2011-09-20 14:21:26 -05:00
Thomas Becker f0fe55165b SelectConnector.java code format 2011-09-20 14:21:18 -05:00
Greg Wilkins 26c8cc8514 346419 testing HttpClient FDs 2011-09-20 18:00:24 +10:00
Joakim Erdfelt a3b2a71aea Setting back to debug level 2011-09-15 11:28:56 -07:00
Joakim Erdfelt 18c5483cc4 353509 - jetty-client unit tests are running too long
+ Fixing last remaining test failure with some careful
  GenericServerHandler refactoring.
2011-09-14 11:23:11 -07:00
Thomas Becker 5530594128 353509: Fixed merging issues 2011-09-14 08:41:33 -07:00
Joakim Erdfelt fce4192fd9 353509 - jetty-client unit tests are running too long 2011-09-12 15:04:59 -07:00
Michael Gorovoy 9c862f2699 HttpExchangeTest#testOptionsWithExchange no longer fails on Mac OS X 2011-08-30 16:47:19 -04:00
Michael Gorovoy aefd353752 Adjusted TimeoutExchangeTest timeouts 2011-08-30 15:35:13 -04:00
Greg Wilkins 45148353ec 293739 Hide stacks in named log testing. Various other minor log cleanups in output. 2011-08-30 16:05:21 +10:00
Greg Wilkins 33fa7afb47 356144 added SelectorManager.setSelectorPriorityDelta(int) 2011-08-30 14:24:28 +10:00
Michael Gorovoy 0763e040e5 353014 TimeoutExchangeTest run time reduced
Patch provided by Thomas Becker <tbecker@intalio.com>
2011-08-29 16:18:45 -04:00
Joakim Erdfelt 79db394552 Merge from trunk 2011-08-26 10:12:45 -07:00
Michael Gorovoy 103d7a87c2 353623 Added new methods to HttpExchange 2011-08-26 03:49:58 -04:00
Joakim Erdfelt 4ace183764 Merging from master 2011-08-25 12:09:36 -07:00
Joakim Erdfelt 3399242d83 293739 - Deprecate static Jetty Log usage in favor of named logs
+ Finished conversion of jetty-ajp, jetty-client, jetty-deploy,
jetty-jaspi, jetty-jndi, jetty-plus, jetty-webapp
2011-08-24 13:01:00 -07:00
Michael Gorovoy 5aced83287 Added tests for missing CONTINUE 100, error response, and timeout 2011-08-23 16:56:05 -04:00
Greg Wilkins da517c815a JETTY-1410 handle 1xx in similar fashion to 401s and 302s 2011-08-23 17:07:31 +10:00
Michael Gorovoy 07b8f08a37 JETTY-1410 HTTP client handles CONTINUE 100 response correctly 2011-08-23 16:20:37 +10:00
Michael Gorovoy d8d5414f64 Added unit test for unexpected data being received by the client 2011-08-19 13:11:57 -04:00
Greg Wilkins 6b9ecd0806 353073 Improved client API to use futures 2011-08-11 11:50:23 +10:00
Thomas Becker 0a6c7ad846 353563: HttpDestinationQueueTest too slow
Signed-off-by: Jesse McConnell <jesse.mcconnell@gmail.com>
2011-08-02 08:39:38 -05:00
Jesse McConnell cd0dd3e8ff [Bug 352999] test performance patch applied to jetty-client, thanks Thomas 2011-08-02 08:04:18 -05:00
Greg Wilkins 2806869cfd 353073 test harness for websocket client and improved ietf draft 10 compliance 2011-08-01 12:35:01 +10:00
Greg Wilkins 2be177484e Miscellaneous changes resulting from the optimization for 7.5.x
Mostly refining debug and toString()
Use shutdown for idle expiry
2011-07-22 18:12:56 +10:00
Greg Wilkins f4255bdeef Merge branch 'master' into performance 2011-07-18 09:16:51 +10:00
Michael Gorovoy dc3445cea2 298502 CONNECT uses same HTTP version as original request 2011-07-15 09:32:55 -04:00
Greg Wilkins 61b2a5c751 298502 Handle 200 Connect responses with no content-length 2011-07-15 15:50:41 +10:00
Greg Wilkins b62c5cdde6 298502 added ProxyFakeTunnelTest.java to demonstrate the issue 2011-07-15 15:06:26 +10:00
Greg Wilkins d8cb8556aa return client buffers 2011-07-14 11:58:14 +10:00
Greg Wilkins b890ff8fb2 applied jetty-7p 7f68abf..b2e4270, 7f68abf..a900c5e, 9a93c9e..9f94539. decomposed async and blocking handling. Simplified HttpFields and Buffer handling from the HttpParser. 2011-07-07 12:16:58 +10:00
Michael Gorovoy b5a2e7e426 308851 Converted all jetty-client module tests to JUnit 4
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3459 7e9141cc-0065-0410-87d8-b60c137991c4
2011-07-02 00:57:56 +00:00
Michael Gorovoy c8375b286a 308851 Converted all jetty-client tests to JUnit 4
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3457 7e9141cc-0065-0410-87d8-b60c137991c4
2011-07-01 21:06:31 +00:00
Michael Gorovoy c17b91fa86 JETTY-1385 NPE in jetty client's HTttpExchange.setRequestContentSource(InputStream)
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3438 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-29 19:01:17 +00:00
Michael Gorovoy 0b9f348132 308851 Convert HttpExchangeTest and related tests to JUnit 4
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3433 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-29 00:17:13 +00:00
Michael Gorovoy b290f203da Added TODO comments for disabled tests
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3429 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-27 15:13:22 +00:00
Michael Gorovoy 77b02e0ee0 350283 Excluded AsyncSslHttpExchangeTest.testPerf() from test runs on MacOS X unless stress is enabled
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3423 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-24 15:46:30 +00:00
Simone Bordet 922fb70344 Fixes #347137 (Allow SSL renegotiations by default in HttpClient).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3255 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-25 11:47:26 +00:00
Greg Wilkins b2f5416fcd made HttpClient dumpable
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3236 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-23 01:21:52 +00:00
Simone Bordet e438787325 Reviewed and cleaned up code for #345615 (Enable SSL Session caching).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3223 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-20 12:46:57 +00:00
Michael Gorovoy e5f549664e 345615 SSL Session caching improvements and test
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3157 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-16 22:54:53 +00:00
Michael Gorovoy ab85bcda4f 345615 Enable SSL Session caching
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3145 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-14 01:30:26 +00:00
Simone Bordet 3d192f98ab Fixes #340040 (Support for a total timeout).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3069 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-03 08:57:26 +00:00
Simone Bordet f8cb795a4f Setting non-blocking mode after connecting in blocking mode.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3049 7e9141cc-0065-0410-87d8-b60c137991c4
2011-04-30 15:00:00 +00:00
Simone Bordet 26751210e4 Changes in preparation for #340040 (Support for a total timeout).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3044 7e9141cc-0065-0410-87d8-b60c137991c4
2011-04-29 13:47:09 +00:00
Simone Bordet 057eb0a102 Fixes #343567 (HttpClient does not limit the destination's exchange queue).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3028 7e9141cc-0065-0410-87d8-b60c137991c4
2011-04-21 15:29:20 +00:00
Greg Wilkins 58652d8f09 342700 refine websocket API for anticipated changes
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3013 7e9141cc-0065-0410-87d8-b60c137991c4
2011-04-13 11:05:35 +00:00
Greg Wilkins dad96688b3 less verbose logging
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2989 7e9141cc-0065-0410-87d8-b60c137991c4
2011-04-07 00:50:13 +00:00
Simone Bordet 8df474ea97 Fixes #341171 (Locking in HttpDestination blocks all requests to the same address).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2963 7e9141cc-0065-0410-87d8-b60c137991c4
2011-04-04 14:30:11 +00:00
Greg Wilkins 1bd0adabfb 340949 Scanner delays file notifications until files are stable
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2948 7e9141cc-0065-0410-87d8-b60c137991c4
2011-04-01 02:18:18 +00:00
Simone Bordet f3a66396b1 Made the test more reliable under Windows.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2943 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-31 14:40:50 +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
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
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
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
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 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
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
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
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 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
Greg Wilkins e20fa91252 337685 Update websocket API in preparation for draft -07
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2877 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-10 13:15:27 +00:00
Greg Wilkins d0b4ddcb28 rolled back the API changes for 7.3.1, will redo for 7.4.0
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2846 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-02 12:21:12 +00:00
Michael Gorovoy 8f09ef1266 316382: support a more strict SSL option with certificates
Converted test classes to use new SslContextFactory API.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2832 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-01 00:40:11 +00:00
Greg Wilkins 2cc4fbb5ee 337685 Work in progress on draft 6 websockets
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2831 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-28 09:45:41 +00:00
Greg Wilkins 1fd3bc1de2 318105 backed out recent changes
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2826 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-23 22:07:40 +00:00
Greg Wilkins d753311181 318105 Consistent return of null from continuation.getServletResponse
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2823 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-23 05:05:38 +00:00
Greg Wilkins 1070476469 337898 set client HttpConnection max idle time from exchange timeout
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2821 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-23 00:15:56 +00:00
Greg Wilkins 8acf49568c 337678 use the httpClient timerQ for connect timeouts
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2819 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-22 22:05:43 +00:00
Greg Wilkins f6349cd762 337898 increase client test timeout
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2818 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-22 22:04:35 +00:00
Simone Bordet f092ddbe0d Fixes #337896 (HttpExchange.timeout does not override HttpClient.timeout)
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2817 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-22 20:46:24 +00:00
Simone Bordet 373574cbcc Fixes JETTY-1335 (HttpClient's SelectConnector clean-up)
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2816 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-22 11:10:37 +00:00
Simone Bordet 0ace68632c Fixes JETTY-1335 (HttpClient's SelectConnector clean-up)
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2815 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-22 10:38:00 +00:00
Greg Wilkins a4f122930a 337685 Work in progress on draft 5 websockets
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2810 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-22 03:32:07 +00:00
Greg Wilkins 02e75add4f 337678 Readded optional async connection mode for HttpClient
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2809 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-22 03:28:43 +00:00
Michael Gorovoy b34dbd246f 316382: support a more strict SSL option with certificates
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2799 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-16 23:41:14 +00:00
Michael Gorovoy 01955d7295 316382: support a more strict SSL option with certificates
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2795 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-16 01:00:03 +00:00
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