Commit Graph

7086 Commits

Author SHA1 Message Date
Thomas Becker 6d75e18661 410799 errors while creating push streams in HttpTransportOverSPDY are now logged to debug instead of warn 2013-06-14 13:27:16 +02:00
Joakim Erdfelt 83bd15559b Merge branch 'master' into websocket-ssl
Conflicts:
	jetty-websocket/websocket-server/src/main/java/org/eclipse/jetty/websocket/server/ServletWebSocketRequest.java
2013-06-13 16:05:26 -07:00
Joakim Erdfelt 762e91efbe Adding clirr to api-change profile 2013-06-13 16:04:17 -07:00
Marko Mihovilic 953ab44909 [Bug 410750] NoSQLSessions: implement session context data persistence across server restarts 2013-06-13 16:45:49 -05:00
Thomas Becker 391b0ee426 ChatServletTest fix test 2013-06-13 17:36:29 +02:00
Jesse McConnell a582b42d45 add logging properties for testing 2013-06-13 10:31:23 -05:00
Thomas Becker df17ef8b3a 408709 refactor test-webapp's chat application. Now there's only a single request for user login and initial chat message. 2013-06-13 16:58:57 +02:00
Jesse McConnell bd944080fc [Bug 397193] MongoSessionManager refresh updates last access time 2013-06-13 09:54:20 -05:00
Joakim Erdfelt b4913ef38c Fixing invalid <packaging> 2013-06-12 15:45:23 -07:00
Jesse McConnell f9e6cb932c [Bug 410630] MongoSessionManager conflicting session update op 2013-06-12 16:43:14 -05:00
Jesse McConnell eddb49941d [Bug 408600] set correct jetty.url in all pom files 2013-06-12 15:52:36 -05:00
Joakim Erdfelt a535381b53 410537 - Exceptions during @OnWebSocketConnect not reported to @OnWebSocketError
+ Fixed EventDriver behavior with regards to unhandled throwables during
  calls to the various onMethod() calls
+ Adding testcase to verify intended behavior
2013-06-12 11:05:01 -07:00
Joakim Erdfelt 9d89bc564e Adding StacklessLogging try-with-resources compatible convenience class 2013-06-12 11:04:00 -07:00
Joakim Erdfelt 5cd478c0fd 410522 - jetty start broken for command line options
+ Adding tests for the different forms of property handling in start.jar
2013-06-12 09:15:23 -07:00
Thomas Becker d93faf589c 409598 spdy: Fix NPE when a broken client tried to create duplicate stream IDs 2013-06-12 16:23:31 +02:00
Thomas Becker 9501ef3392 409796 fix intermittent test issue in ReferrerPushStrategy.testResourceOrder. Happened when the client got closed before the server finished sending all data frames. Client waits now until all data is received. 2013-06-12 10:54:57 +02:00
Thomas Becker f116d76290 410337 throw EofException instead of EOFException in HttpOutput.write() if HttpOutpyt is closed 2013-06-12 10:54:57 +02:00
Greg Wilkins 955e7e8d74 410559 Removed FillInterest race 2013-06-12 18:35:13 +10:00
Thomas Becker c5bf9c3d49 Increase buffer size of BufferUtil.writeTo to 4k 2013-06-12 08:43:25 +02:00
Jan Bartel 64d979a780 409449 Ensure servlets, filters and listeners added via dynamic registration, annotations or descriptors are cleaned on context restarts 2013-06-12 15:41:03 +10:00
Greg Wilkins 53270e7edb 410522 JETTY_PORT sets jetty.port property instead of -Djetty.port 2013-06-12 13:13:09 +10:00
Joakim Erdfelt a6f50006ee 410372 - Make SSL client certificate information available to server websockets 2013-06-11 12:51:53 -07:00
Joakim Erdfelt 7b79b4c5f9 410370 - WebSocketCreator.createWebSocket() should use servlet specific parameters
+ Changing method signature of
  Object createWebSocket(UpgradeRequest req, UpgradeResponse resp)
    to
  Object createWebSocket(ServletUpgradeRequest req, ServletUpgradeResponse resp)
2013-06-11 11:22:24 -07:00
Joakim Erdfelt 4cd1bd8ce4 Merge branch 'master' into websocket-ssl 2013-06-11 08:58:32 -07:00
Joakim Erdfelt 536b8d9504 410469 - UpgradeRequest is sent twice when using SSL, one fails warning about WritePendingException
+ Removing manual connectionOpened() in favor of letting endpoint notify.
2013-06-11 08:56:53 -07:00
Thomas Becker 91f6170c40 remove debug logging 2013-06-11 16:26:27 +02:00
Thomas Becker beba00c5e0 410337 HttpOutput calls now HttpChannel.close() instead of closing the endPoint directly. That way the different implementations of HttpChannel can decide if the endPoint should be shutdown or not. 2013-06-11 16:17:15 +02:00
Jan Bartel c5bdc019a2 409801 Jetty should allow webdefault to be specified using a relative location when running in OSGi 2013-06-11 18:39:15 +10:00
Greg Wilkins 6150f29382 Merge branch 'jetty-8' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-8 2013-06-11 15:50:29 +10:00
Greg Wilkins 2d661f18dd 410405 Avoid NPE for requestDispatcher(../)
Test double encoded dot dot
2013-06-11 15:30:40 +10:00
Greg Wilkins 2b1e6bf0de Merge remote-tracking branch 'origin/jetty-8'
Conflicts:
	jetty-server/src/main/java/org/eclipse/jetty/server/AbstractHttpConnection.java
	jetty-server/src/main/java/org/eclipse/jetty/server/Request.java
	jetty-server/src/test/java/org/eclipse/jetty/server/HttpConnectionTest.java
2013-06-11 15:11:23 +10:00
Greg Wilkins 9ec1378b73 fixed merge 2013-06-11 14:57:48 +10:00
Jan Bartel d967ee2c3a 408806 getParameter returns null on Multipart request if called before request.getPart()/getParts() 2013-06-11 14:45:41 +10:00
Greg Wilkins 9b8a78392c 410405 Avoid NPE for requestDispatcher(../)
Added extra tests for dotdot and encoded dotdot.
Also protected against dotdot in absolute URIs
2013-06-11 14:44:26 +10:00
Greg Wilkins ed04753111 410405 Avoid NPE for requestDispatcher(../) 2013-06-11 14:22:54 +10:00
Greg Wilkins 06d3fbe5aa Merge remote-tracking branch 'origin/jetty-8'
Conflicts:
	jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java
	tests/test-sessions/test-jdbc-sessions/src/test/java/org/eclipse/jetty/server/session/ReloadedSessionMissingClassTest.java
	tests/test-sessions/test-jdbc-sessions/src/test/java/org/eclipse/jetty/server/session/WebAppObjectInSessionTest.java
2013-06-11 14:07:00 +10:00
Greg Wilkins 5d17bdcc27 fixed double dispatch in continuation tests 2013-06-11 10:50:15 +10:00
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 52994f336a 408662 In pax-web servlet services requests even if init() has not finished running 2013-06-07 15:39:20 +10: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