Simone Bordet
08a8260978
Jetty9 - Added the thread id to the log statement tag.
2012-07-31 16:18:42 +02:00
Simone Bordet
78802c35c2
Jetty9 - SPDY: computing return value for write() and small optimization in fill().
2012-07-31 16:18:42 +02:00
Thomas Becker
a480e2c94d
Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into writeFlusher_refactoring
2012-07-31 13:55:13 +02:00
Thomas Becker
377065fae7
interims changes
2012-07-31 13:51:19 +02:00
Greg Wilkins
50ac775bf5
jetty-9 added WriteFlusherTest
2012-07-31 19:07:25 +10:00
Greg Wilkins
acdc1c1abd
jetty-9 explain the sslConnection flush contract
2012-07-31 18:12:40 +10:00
Greg Wilkins
01529ba128
jetty-9 ignore all selector exceptions if not running, since closed selector exception is not an IOException
2012-07-31 14:55:06 +10:00
Greg Wilkins
e772e26b5b
jetty-9 synchronized writeflusher until correct non blocking impl
2012-07-31 14:54:22 +10:00
Joakim Erdfelt
32e9548f0c
Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9
2012-07-30 14:51:50 -07:00
Joakim Erdfelt
7d2d40dc2b
Fixing PING vs CLOSE ordering issues with outgoing queue
2012-07-30 14:51:34 -07:00
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