Commit Graph

94 Commits

Author SHA1 Message Date
Joakim Erdfelt f7f7e0af75 293739 - Deprecate static Jetty Log usage in favor of named logs
+ Finished conversion of jetty-security, jetty-server, jetty-servlet,
  jetty-servlets, jetty-websocket
2011-08-24 12:53:27 -07:00
Simone Bordet fc55901661 Merge remote-tracking branch 'origin/master'
Conflicts:
	VERSION.txt
2011-08-18 17:42:32 +02:00
Simone Bordet 2d6491b78f Fixes #355103 (Make allowCredentials default to true in CrossOriginFilter). 2011-08-18 17:41:21 +02:00
Jesse McConnell 53f2a4f62b tweak so handy proxy server works 2011-08-17 10:20:01 -05:00
Joakim Erdfelt 1f1bf28cd6 Adding some code to test for gzip no-recompress logic 2011-08-12 16:04:46 -07:00
Joakim Erdfelt c75b76b9a1 fixing javadoc errors 2011-08-12 10:49:38 -07:00
Michael Gorovoy 8b4a99758c Fixed more cut/paste errors, added test for file size under minGzipSize, added tests for not gzipped files of all sizes 2011-08-12 13:44:15 -04:00
Joakim Erdfelt 391014691e Fixing copy/paste error 2011-08-12 10:06:02 -07:00
Michael Gorovoy 1ac9463414 Removed misleading comments 2011-08-12 12:59:18 -04:00
Joakim Erdfelt 72f28e0b35 Rounding out the Content-Length test scenarios 2011-08-12 09:35:39 -07:00
Joakim Erdfelt da8f5052a3 Beefing up GzipFilter tests 2011-08-11 13:20:31 -07:00
Michael Gorovoy d496a4f80a 354014 Content-Length is passed to wrapped response in GZipFilter 2011-08-08 18:03:36 -04:00
Michael Gorovoy 095cf33010 354014 Improved GzipFilterTest to verify that Content-Length header is passed when mime type is not configured. 2011-08-05 12:21:32 -04:00
Michael Gorovoy 2790badf6d 352786 GzipFilter fails to pass parameters to GzipResponseWrapper 2011-07-21 13:11:36 -04:00
Simone Bordet 77394d0c4b Fixes #350533 (Add "Origin" to the list of allowed headers in CrossOriginFilter).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3431 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-28 09:28:18 +00:00
Jesse McConnell 6f0e0f8077 proxy server timeout on continuation checks for 0 client and exchange timeout and set continuation as 'infinite'
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3410 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-21 20:46:02 +00:00
Michael Gorovoy 8c63ca989b 302566 GZIP handler for embedded Jetty servers
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3406 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-21 02:26:18 +00:00
Jesse McConnell 418ebe8268 proxy server timeout on continuation checks for 0 client and exchange timeout and set continuation as 'infinite'
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3405 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-20 22:40:56 +00:00
Jesse McConnell ce943340dd change the proxy continuation timeout check from connectTimeout to timeout as that is what is set in the servlet init params
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3404 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-20 21:51:58 +00:00
Michael Gorovoy f95e1bddbe 302566 GZIP handler implementation and unit test
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3403 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-20 20:55:58 +00:00
Jesse McConnell 2f7eb54e0f [Bug 349870] proxy servlet protect continuation against fast failing exchanges
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3401 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-20 20:36:20 +00:00
Michael Gorovoy bb6038b716 302566 GZIP filter unit test
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3400 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-20 15:33:51 +00:00
Jesse McConnell 9cfb694fa5 [Bug 349738] provide way to set buffer sizes to http client in proxy servlet
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3398 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-20 15:27:17 +00:00
Jesse McConnell ffcd780457 [Bug 295832] update javadoc
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3397 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-17 14:43:12 +00:00
Jesse McConnell 82902b49eb Add timeout and idleTimeout servlet init parameters to the creation of the http client
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3391 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-16 21:28:24 +00:00
Jesse McConnell 30c3934931 [Bug 295832] shifted customize exchange and continuation to the the last possible moment for extenders can have full state before each are used. added continuation setTimeout based on httpclient connect timeout and exchange timeouts so that the contination doesn't interrupt normal usage (streaming of data resetting exchange timeout but not continuation)
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3389 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-15 15:39:33 +00:00
Jesse McConnell d29a7dad41 [Bug 295832] making proxy servlet more extensible, removed customizeClient in favor of protected createHttpClient(servletconfig) and createLogger(servletconfig) methods, default behavior should remain the same
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3387 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-14 18:50:32 +00:00
Jesse McConnell 1e347be15e [Bug 295832] making proxy servlet more extensible, added customizeExchange() to the patch provided as well
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3385 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-14 15:44:16 +00:00
Michael Gorovoy 548f6bac5a 341561 Exception when adding o.e.j.s.DoSFilter as managed attribute
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2947 7e9141cc-0065-0410-87d8-b60c137991c4
2011-04-01 00:36:57 +00:00
Simone Bordet eb942962f6 Made the test pass under Windows.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2945 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-31 16:06:23 +00:00
Greg Wilkins 7b0a8e561c JETTY-1304 Allow quoted boundaries in Multipart filter
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2847 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-03 06:30:46 +00:00
Simone Bordet 8020110283 Fixes #338092 (ProxyServlet leaks memory).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2830 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-24 15:03:08 +00:00
Greg Wilkins b91027275f made test more robust
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2807 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-21 06:34:02 +00:00
Joakim Erdfelt f3a2a575aa Fixing broken javadoc and imports
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2673 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-21 20:49:28 +00:00
Greg Wilkins 881e599860 333679 Refactored jetty-jmx. Moved mbeans to modules.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2629 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-06 18:04:58 +00:00
Greg Wilkins 2b43ae931c improved debugging of JNDI. own logger
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2608 7e9141cc-0065-0410-87d8-b60c137991c4
2010-12-15 08:57:14 +00:00
Greg Wilkins 26cc7563f5 328789 Clean up tmp files from test harnesses
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2565 7e9141cc-0065-0410-87d8-b60c137991c4
2010-12-01 13:57:06 +00:00
Greg Wilkins 793cb6d6f3 dump info from test
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2536 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-18 04:15:03 +00:00
Greg Wilkins d955fa0c3a 330417 Atomic PUT in PutFilter
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2526 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-17 01:52:33 +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 a6df844fa7 327601 Multipart Filter handles quoted tokens
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2344 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-13 01:53:32 +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 bb91faac89 JETTY-1252 Handle more multipart transfer encodings
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2280 7e9141cc-0065-0410-87d8-b60c137991c4
2010-09-15 23:01:56 +00:00
Greg Wilkins 3af3ddd0ff JETTY-1252 Handle more multipart transfer encodings
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2278 7e9141cc-0065-0410-87d8-b60c137991c4
2010-09-15 09:39:35 +00:00
Greg Wilkins 47bd78a37f JETTY-1248 fix parsing of bad multiparts - fixed import
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2122 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-14 23:59:18 +00:00
Greg Wilkins 7b5f155802 JETTY-1248 fix parsing of bad multiparts
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2121 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-14 15:09:37 +00:00
Greg Wilkins 3b5c2dd465 317906 OPTIONS correctly handles TRACE
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2056 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-28 14:53:12 +00:00
Michael Gorovoy 6bbaa8feaf 288194 Add blacklist/whitelist to ProxyServlet and ProxyHandler
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2020 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-16 22:55:43 +00:00
Michael Gorovoy bfc76bcad7 Revert changes that were committed prematurely
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2011 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-16 10:30:25 +00:00
Michael Gorovoy ac76f274cd 317019 Date HTTP header not sent for HTTP/1.0 requests
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2010 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-16 10:21:27 +00:00