Commit graph

21 commits

Author SHA1 Message Date
Johannes Rudolph
3e78247cc8 when the connection is established optimistically try reading before registering ReadInterest 2013-01-23 15:28:14 +01:00
Mathias
385fd322c9 Rename ErrorClose event to ErrorClosed 2013-01-23 11:47:12 +01:00
Johannes Rudolph
0a7c793316 fix: make sure buffer is released in any case, also after not acked writes and when killed 2013-01-22 17:32:46 +01:00
Johannes Rudolph
c6265843b3 remove explicit selector field in TcpConnection + TcpListener 2013-01-22 15:57:44 +01:00
Mathias
570b02f569 Decrease visibility of internals to private[io], clean up imports 2013-01-22 14:15:51 +01:00
Mathias
79accb810e Cleanup, small fixes and more and better tests 2013-01-22 13:57:49 +01:00
Johannes Rudolph
a53848edfa properly cleanup selector in tests 2013-01-22 11:41:40 +01:00
Johannes Rudolph
3687697aed use proper selection strategy to try to improve test stability 2013-01-22 11:35:15 +01:00
Johannes Rudolph
e853a1d2ae fix race condition when trying to assert closed channel on the server side 2013-01-21 18:26:56 +01:00
Johannes Rudolph
6d5458dfeb further improve pullFromServerSide stability 2013-01-21 17:26:52 +01:00
Johannes Rudolph
3d34f57c5b improve stability of tests, pullFromServerSide now uses real selector to check for conditions 2013-01-21 17:05:44 +01:00
Johannes Rudolph
b4baf66442 make asserting on received messages more resilient 2013-01-21 16:22:31 +01:00
Johannes Rudolph
7c1fe80279 remove commented code 2013-01-21 14:55:02 +01:00
Johannes Rudolph
9c9508d76f improve DirectByteBufferPool and some smaller fixes
* dispatch Closed events to the sender of the close command as well
 * DirectByteBufferPool changes:

     * hide behind BufferPool interface
     * only return buffers of the configured size
     * reduce work to be done while locked
     * use Array-based stack to store free buffers instead of linked lists
     * keep buffers by soft reference
2013-01-21 14:45:19 +01:00
Mathias
2f54a5b4d2 more tests, smaller improvements 2013-01-18 13:20:17 +01:00
Mathias
7384e07d9b improvements from the first round of feedback, see #2885 and #2887 2013-01-17 17:31:08 +01:00
Johannes Rudolph
9bcca4003a in tests make sure to get a server address that is highly probable to be currently unbound 2013-01-17 15:07:00 +01:00
Johannes Rudolph
18aecef4bd fix issues discussed in the pull request 2013-01-17 14:45:50 +01:00
Johannes Rudolph
e22c80655d refactor tests to reuse common connection setup 2013-01-16 17:08:42 +01:00
Mathias
27d111b1f5 tcp selector and listener actors, extension of tcp manager actor, see #2885 and #2887 2013-01-16 15:24:48 +01:00
Johannes Rudolph
be9abae1e3 tcp connection actors, see #2886 2013-01-16 15:11:35 +01:00