Commit Graph

6994 Commits

Author SHA1 Message Date
Joakim Erdfelt ae9a776d06 410386 - WebSocket Session.getUpgradeRequest().getRequestURI() returns bad URI on server side
+ Prior commit fixed this
 + Adding test to prevent regression in the future
2013-06-10 14:20:14 -07:00
Joakim Erdfelt e61c161ebd 410175 - WebSocketSession#isSecure() doesn't return true for SSL session on the server side
+ Fixing server side support for Session.isSecure()
 + Standardizing the WSURI translation into new
   org.eclipse.jetty.websocket.api.util.WSURI class
 + Adding testcase for SSL on server side
2013-06-10 13:48:18 -07:00
Thomas Becker 9abed8e85d 408904 Enhance CommandlineBuilder to not escape strings inside single quotes 2013-06-10 18:01:07 +02:00
Thomas Becker fb5de72f76 410341 suppress stacktraces that happen during test setup shutdown after successful test run 2013-06-10 16:01:19 +02:00
Thomas Becker ba6ce78fc2 @Ignore MaxConcurrentStreamsTest for now 2013-06-10 11:26:00 +02:00
Simone Bordet 27bc0b9d73 405188 - HTTP 1.0 with GET returns internal IP address.
Introduced HostHeaderCustomizer.
2013-06-10 10:29:05 +02:00
Simone Bordet a2815c0611 410246 - HttpClient with proxy does not tunnel HTTPS requests.
Modified HttpClient to tunnel properly requests, and ported tests from Jetty 7 to test this behavior.
2013-06-08 00:38:11 +02:00
Joakim Erdfelt d95e316f2c Upgrading to jetty-test-helper 2.3 2013-06-07 13:33:11 -07:00
Thomas Becker 654dc1e007 409796 fix and cleanup ReferrerPushStrategy. There's more work to do here, so it remains @Ignore for now 2013-06-07 18:12:19 +02:00
Simone Bordet 2ff8962f9f 410083 - Jetty clients submits incomplete URL to proxy.
Made the request URI absolute in case the HttpClient is configured with a forward proxy.
2013-06-07 16:34:23 +02:00
Thomas Becker 937c3b13b8 410098 inject accept-encoding header for all http requests through SPDY as SPDY clients MUST support spdy. Also remove two new tests that have been to implementation agnostic and not needed anymore due to recent code changes 2013-06-07 15:13:59 +02:00
Jan Bartel b86344e269 Added new examples of embedding JNDI,annotations and updated realm.properties to match distro 2013-06-07 08:49:28 +10:00
Thomas Becker bf9a4dd0c0 406759 supressed stacktrace in ReferrerPushStrategyTest 2013-06-06 16:46:45 +02:00
Simone Bordet 4c3a777ed5 408782 - Transparent Proxy - rewrite URL is ignoring query strings. 2013-06-06 15:38:51 +02:00
Thomas Becker 5c8b785962 406759 supressed two stacktraces thrown in ProxySPDYToHTTPTest 2013-06-06 14:48:03 +02:00
Thomas Becker 82b73c065f 409953 return buffer.slice() instead of buffer.asReadOnlyBuffer() in ResourceCache to avoid using inefficent path in BufferUtil.writeTo 2013-06-06 14:09:27 +02:00
Thomas Becker d3b96328f9 409953 More efficient implementation of BufferUtil.writeTo(...) 2013-06-06 12:59:18 +02:00
Thomas Becker 4a10f4296c 409953 More efficient implementation of BufferUtil.writeTo(...) 2013-06-06 11:39:22 +02:00
Greg Wilkins 6732dcfe76 409403 fix IllegalStateException when SPDY is used and the response is written through BufferUtil.writeTo byte by byte
Removed the clear from ChannelEndPoint#flush
2013-06-06 17:13:45 +10:00
Thomas Becker 544b4414c3 409403 fix IllegalStateException when SPDY is used and the response is written through BufferUtil.writeTo byte by byte
git removed a newline in the file. Fix the filesize in the test accordingly.
2013-06-06 08:18:31 +02:00
Thomas Becker 38a0e4f6aa revert test in BufferUtilTest 2013-06-06 08:06:52 +02:00
Greg Wilkins 100e8cbaef improved javadoc 2013-06-06 12:12:31 +10:00
Greg Wilkins cefe657ad4 409796 ignored failing test 2013-06-06 12:09:22 +10:00
Greg Wilkins bb8c58e315 409403 fix IllegalStateException when SPDY is used and the response is written through BufferUtil.writeTo byte by byte
ignore broken test
2013-06-06 11:25:46 +10:00
Greg Wilkins 229c44b44f 409403 fix IllegalStateException when SPDY is used and the response is written through BufferUtil.writeTo byte by byte
backed out bad test
2013-06-06 10:43:49 +10:00
Joakim Erdfelt 822b639829 Removing travis build 2013-06-05 14:57:23 -07:00
Joakim Erdfelt 82b5acb0cf 409978 - Websocket shouldn't create HttpSession if not present
+ Preventing creation of HttpSession
 + Adding Local/Remote address information lookup in
   ServletWebSocketRequest
2013-06-05 09:22:23 -07:00
Thomas Becker b274fdb0d6 409403 fix IllegalStateException when SPDY is used and the response is written through BufferUtil.writeTo byte by byte 2013-06-05 15:31:24 +02:00
Simone Bordet e65e4e168d 409842 - Suspended request completed by a request thread does not set read interest.
HttpConnection.completed() now performs the right check about the current connection.
2013-06-05 11:34:12 +02:00
Greg Wilkins bacff75b31 Replace reponse.commit with response.closeOutput 2013-06-04 10:51:49 +10:00
Jan Bartel 6cbffcb332 Merge remote-tracking branch 'origin/jetty-8'
Conflicts:
	jetty-io/src/main/java/org/eclipse/jetty/io/nio/DirectNIOBuffer.java
2013-06-04 10:39:05 +10:00
Jan Bartel f65fc71288 Merge remote-tracking branch 'origin/jetty-7' into jetty-8 2013-06-04 10:37:16 +10:00
Jan Bartel 26c1e5bdbc 407342 ReloadedSessionMissingClassTest uses class compiled with jdk7 2013-06-04 10:34:52 +10:00
Joakim Erdfelt 0c8a3b3f52 Updating Jetty XML use in jetty-deploy tests. 2013-06-03 11:34:38 -07:00
Joakim Erdfelt 670b6a964c 408945 XML Args ignored without DTD
+ Semi-reverting prior commit as it broke with DTD use
 + Fixing up logic to allow for <Arg> <Set> <Call> with and without DTD
 + Adding testcase that uses default constructor with <Set> calls to
   setup a class
2013-06-03 11:34:38 -07:00
Jesse McConnell 8b39cbe5bf update proxy example 2013-06-03 12:44:19 -05:00
Jesse McConnell fc87693ba9 add proxy server example from proxy tests into the embedded examples 2013-06-03 12:21:27 -05:00
Greg Wilkins 1bbab6d6f2 408945 XML Args ignored without DTD 2013-06-03 18:54:48 +10:00
Greg Wilkins 7bb3a7be28 409556 Resource files not closed
Made Resource a closeable so that it is easier to close in a try(){} block. Deprecated release() and made it close() instead.

FileResource no longer extends URLResource as it can more efficiently implement all the methods with pure File operations and have no
connections or streams that need to be release/closed
2013-06-03 18:21:11 +10:00
Jan Bartel 368523de87 Merge remote-tracking branch 'origin/jetty-7' into jetty-8 2013-06-03 15:29:07 +10:00
Jan Bartel 10845bfd28 409556 FileInputStream not closed in DirectNIOBuffer 2013-06-03 15:13:28 +10:00
Greg Wilkins 952f8442e5 408529 Etags set in 304 response
Improved default servlet setting of etags
2013-06-03 14:22:24 +10:00
Jan Bartel d581dac287 409684 Ids and properties not set for execution of jetty xml config files with mvn plugin 2013-06-03 12:34:37 +10:00
Jesse McConnell a2732e3cf6 [Bug 401027] javadoc JMX annotations 2013-05-31 14:37:09 -05:00
Joakim Erdfelt c708d9ce7c Removing last remnants of Gzip pipelining tests resources 2013-05-31 10:57:05 -07:00
Greg Wilkins 8fd796a394 409012 added reference to example rewrite rules 2013-05-31 18:29:44 +10:00
Greg Wilkins 0e11c82307 fixed merge 2013-05-31 18:07:01 +10:00
Greg Wilkins 842309e656 Merge remote-tracking branch 'origin/jetty-8'
Conflicts:
	jetty-server/src/main/java/org/eclipse/jetty/server/Response.java
	jetty-server/src/test/java/org/eclipse/jetty/server/ResponseTest.java
	jetty-servlets/src/test/java/org/eclipse/jetty/servlets/gzip/GzipTester.java
2013-05-31 18:06:34 +10:00
Greg Wilkins 3849c893e1 Merge remote-tracking branch 'origin/jetty-7' into jetty-8 2013-05-31 11:07:40 +10:00
Greg Wilkins 3094f93ed9 408642 setContentType from addHeader 2013-05-31 11:06:33 +10:00