Commit Graph

4874 Commits

Author SHA1 Message Date
Simone Bordet 9c717d552f Jetty9 - SPDY: gracefully shutting down the Session in case of read of -1 from the remote peer.
A special item is queued into the Session for flushing, and when it is dequeued it closes the
underlying connection.
This allows pending writes to complete before the underlying connection is closed.
2012-07-30 23:02:26 +02:00
Simone Bordet b4b1bc814c Jetty9 - SPDY: fixed copyright headers. 2012-07-30 23:02:26 +02:00
Simone Bordet 8d12e49988 Jetty9 - SPDY: removed System.out statements. 2012-07-30 23:02:25 +02:00
Simone Bordet 35b61feae2 Jetty9 - Test for better handling for I/O interests. 2012-07-30 23:02:25 +02:00
Joakim Erdfelt e75e0e9a04 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-07-30 12:40:52 -07:00
Joakim Erdfelt 30ae8370bd Fixing BlockheadClient and reading of frames 2012-07-30 12:40:01 -07:00
Joakim Erdfelt f34d74ec84 Some logging rework/repair 2012-07-30 12:39:30 -07:00
Simone Bordet 0c1ca16e86 Jetty9 - Better handling for I/O interests.
When the SelectChannelEndPoint is selected, it should only remove interests
for what has been selected, so that other interests are kept unchanged.
2012-07-30 19:43:13 +02:00
Simone Bordet aa24693870 Jetty9 - Cleaned up and made test more reliable. 2012-07-30 19:39:20 +02:00
Simone Bordet 929defa465 Jetty9 - Removed assert with side effect. 2012-07-30 19:39:20 +02:00
Joakim Erdfelt 9999db9c94 Fixing WebSocketAsyncConnection close/read logic to prevent unstoppable QTP threads 2012-07-30 09:54:45 -07:00
Thomas Becker 7246b279e2 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-07-30 16:19:47 +02:00
Thomas Becker 51d7404956 jetty-9: spdy replaced log4j with jetty-logging.properties 2012-07-30 16:19:24 +02:00
Joakim Erdfelt 3447bd2767 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-07-30 05:39:07 -07:00
Joakim Erdfelt da2b457eaa Fixing compile issue 2012-07-30 05:38:51 -07:00
Simone Bordet 36729c4248 Jetty9 - Always returning false from onReadTimeout(). Either we do not have to close, or the goAway() will close after it is written. 2012-07-30 12:45:39 +02:00
Simone Bordet c229915444 Jetty9 - Fixed idle timeout expiration, that was not firing if the idle timeout left was zero.
Added logging for idle timeout methods.
2012-07-30 12:44:48 +02:00
Simone Bordet fa721bf510 Jetty9 - Making sure that we call EndPoint.close(), and therefore triggering the EndPoint
lifecycle callbacks, for exception cases and when the correspondent key is invalid.
2012-07-29 18:03:09 +02:00
Simone Bordet 3abb8cfd37 Jetty9 - Reverted test logging to INFO. 2012-07-29 15:04:27 +02:00
Simone Bordet 0af40c4db2 Jetty9 - Added lifecycle callbacks for onOpen() for the application AsyncConnection linked to the SslConnection. 2012-07-29 14:57:29 +02:00
Joakim Erdfelt ef7c46f56a Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-07-27 15:28:00 -07:00
Greg Wilkins 039499d610 Merge branch 'jetty-9' into jetty-9-oneconnector 2012-07-28 08:26:00 +10:00
Simone Bordet 12a3333632 Jetty9 - Better implementation for onOpen().
Removed the set of the clientMode, since this needs to be set by the creator of the SslConnection,
depending whether is a client or a server.
Also, always calling super.onOpen() to call fillInterested(), even on client side, because it will need
to read the server SSL handshake.
Finally, removed the delegated call to onOpen() to the application connection. This is already done
by the creator of the application connection.
2012-07-27 23:31:34 +02:00
Simone Bordet 2dcee671e1 Jetty9 - Removed leftover debug statement. 2012-07-27 23:28:27 +02:00
Joakim Erdfelt c2aae7c517 Attempting to come to grips with proper close/disconnect/stop/cleanup 2012-07-27 13:48:34 -07:00
Simone Bordet ec34eabf8b Merge branch 'npn_connection' into jetty-9 2012-07-27 21:54:57 +02:00
Simone Bordet 592cb3432e Jetty9 - Introduced NextProtoNego AsyncConnections to handle SSL with NPN. 2012-07-27 21:54:09 +02:00
Joakim Erdfelt f2c86b2d00 Adding close validation to TestABCase1 2012-07-27 10:52:46 -07:00
Joakim Erdfelt 99afabdf92 Finished fleshing out TestABCase1 2012-07-27 10:24:35 -07:00
Joakim Erdfelt 47f882e6dc Fixing various things around generate/parse of windowed fragments.
+ @WebSocket annotation's policy configuraiton is now optional
+ WebSocketPolicy.clonePolicy() fixed for other fields
+ WebSocketEventDriver now has internal WebSocket POJO specific logger
  to allow for logging control of the WebSocket POJO itself in case of
  runtime exceptions.
+ WebSocketEventDriver now honors bufferSize correctly.
+ DataFrameBytes always requests windowSize from generator, allowing
  generator to determine ultimate byteBuffer utilization itself.
+ MessageInputStream / MessageReader now clears the starting buffer
+ Generator now honors windowSize correctly (even if buffer obtained
  from ByteBufferPool.acquire() is much larger
+ Parser now demasks the payload after a successful parse of the framing
+ Various testing cleanup to produce less noisy output during testing.
2012-07-27 09:41:26 -07:00
Joakim Erdfelt 99bffa6ce0 Making QTP debug/info message conform to stack-trace & logging output rules to make debugging easier 2012-07-27 09:33:10 -07:00
Joakim Erdfelt 8d0555a851 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-07-27 08:29:29 -07:00
Thomas Becker 369bc035fc jetty-9: jetty-spdy refactored to match jetty-9. 2012-07-27 16:18:47 +02:00
Thomas Becker b36a6cc9cc jetty-9 checkout jetty-spdy from jetty-8 2012-07-27 15:51:14 +02:00
Thomas Becker fbcb14f297 jetty-9 merge with jetty-8 except jetty-osgi 2012-07-27 15:50:23 +02:00
Simone Bordet b79bfcac74 Jetty9 - Improved connection callbacks. 2012-07-27 15:14:04 +02:00
Simone Bordet 71cf945183 Improved logging. 2012-07-27 15:14:04 +02:00
Simone Bordet b755762ea6 Jetty9 - Resetting OP_CONNECT interest after successful connect to avoid spin looping the selector thread. 2012-07-27 15:14:04 +02:00
Greg Wilkins 7bee81fa82 jetty-9 factoring out HTTP dependencies from connectors 2012-07-27 20:37:42 +10:00
Joakim Erdfelt cbcb76eaea More spec tests from server point of view 2012-07-26 15:45:54 -07:00
Joakim Erdfelt acabe78101 Adding 'release' profile to hold release only module build related tasks. 2012-07-26 10:38:55 -07:00
Joakim Erdfelt db2570c2ee 380928 - Implement new websocket close code 2012-07-26 10:30:12 -07:00
Joakim Erdfelt beaa87e3d2 Log & StdErrLog updates.
+ Removed deprecatd Log methods related to anonymous logging.
+ Added StdErrLog.LEVEL_OFF (and related properties *.LEVEL=OFF support)
2012-07-26 10:19:23 -07:00
Greg Wilkins 3cdd533361 jetty-9 some renaming 2012-07-26 19:28:19 +10:00
Greg Wilkins 7882a17581 jetty-9 removed excess synchronization 2012-07-26 19:28:06 +10:00
Jan Bartel cdbec2c78b Merge remote-tracking branch 'origin/master' into jetty-8 2012-07-26 19:05:51 +10:00
Jan Bartel 9164affe0c 386010 JspRuntimeContext rewraps System.err 2012-07-26 18:21:01 +10:00
Greg Wilkins 1d72a54635 better name missed the release! So support deprecated configuration 2012-07-26 17:42:29 +10:00
Greg Wilkins bb0a564f10 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2012-07-26 17:21:34 +10:00
Joakim Erdfelt b3db5ffc8d Fixing websocket-server tests 2012-07-25 11:49:04 -07:00