Cruz Bishop
db97e4eb35
Use a logger in SocketAddresses
2012-04-15 17:29:15 +10:00
norman
d363f73fd8
Only increment the counter if the encode did not fail. See #256
2012-04-12 10:55:18 +02:00
Trustin Lee
c7bd0b41e6
Remove unnecessary parameter
2012-04-12 17:54:56 +09:00
Trustin Lee
22a815eaf8
Revamp channel handler API
...
- Merged LifeCycleAwareChannelHandler into ChannelHandler
- Replaced ChannelUpstreamHandler and ChannelDownstreamHandler with
ChannelReader and ChannelWriter
- These two new interfaces are much more type-safe than its ancestor.
- Simplified channel state model as described in #68
- Handler creates send/receive buffer.
- Previously, Netty created them, but it led to more memory copies and
inflexibility. I'm going to allow a handler to create a bounded
queue for example.
- It currently uses Queue<T> but I'll define a new interface and make
ChannelBuffer implement it (e.g. Queue<Byte>)
- Introduced AttributeMap which replaces attachments in Channel and
ChannelHandlerContext and ChannelLocal
2012-04-12 17:39:01 +09:00
norman
5ed04c3ada
Correctly handle chunked requests/responses. See #256
2012-04-12 10:34:16 +02:00
norman
b9c60bd518
Throw a PrematureChannelClosureException if the channel was closed before all responses were received for the sent requests. See #256
2012-04-12 10:22:10 +02:00
norman
941e71de36
cleanup comments
2012-04-12 09:29:59 +02:00
norman
05204025cc
Fix regression in Zlib which was introduced while refactoring the code. See #255
2012-04-11 10:55:04 +02:00
norman
97561315fd
Add final keyword
2012-04-11 10:54:53 +02:00
norman
16c625cfd0
Allow to share a WorkerPool for boss and worker threads but also allow to have them separate. See #240
2012-04-11 10:54:41 +02:00
norman
f88cd3120d
Fix a bug which lead to only use two threads for all tasks all the time, even if the WorkerPool contained more. See #240
2012-04-11 10:54:27 +02:00
norman
4c0a5886ca
Make sure multicast tests pass on all os'es
2012-04-11 10:54:14 +02:00
norman
3f8c13f138
Fix regression in Zlib which was introduced while refactoring the code. See #255
2012-04-11 10:26:29 +02:00
norman
962a67dc03
Add final keyword
2012-04-11 09:16:27 +02:00
norman
5b53b66fbf
Allow to share a WorkerPool for boss and worker threads but also allow to have them separate. See #240
2012-04-11 09:15:02 +02:00
norman
470c1a898a
Fix a bug which lead to only use two threads for all tasks all the time, even if the WorkerPool contained more. See #240
2012-04-11 08:45:51 +02:00
norman
a37d7bb5f3
Make sure multicast tests pass on all os'es
2012-04-11 08:09:03 +02:00
Norman Maurer
4436f60e2f
Workaround to have multicast tests work on osx, linux and windows
2012-04-10 21:00:44 +02:00
norman
d0f432b4d4
Accept all ready sockets for the SelectionKey. See #240
2012-04-10 11:20:23 +02:00
norman
f17e56b33b
Accept all ready sockets for the SelectionKey. See #240
2012-04-10 11:18:34 +02:00
norman
5434bd9645
Add missing license header
2012-04-10 10:05:33 +02:00
norman
beedd26e1c
Add missing license header
2012-04-10 10:04:40 +02:00
norman
f3456ce098
Make sure multicast tests pass on all os'es
2012-04-10 08:20:58 +02:00
norman
32f61ed01a
Fix a NPE in a testcase when running via ubuntu
2012-04-10 08:19:16 +02:00
Norman Maurer
07ff3d76cd
Await for close of the channels. See #235
2012-04-10 08:17:38 +02:00
Norman Maurer
019d942a28
Correct javadoc. See #235
2012-04-10 08:17:21 +02:00
Norman Maurer
7eaf635059
Take care of releasing the local channel when releaseExternalResources() is called. See #235
2012-04-10 08:16:58 +02:00
Norman Maurer
a847ec1d88
Add test case to show that issue #235 is due some incorrect usage
2012-04-10 08:16:40 +02:00
vibul
91dc8efd4b
Issue #250 . Implement web socket close frame status code and reason text.
2012-04-10 08:15:24 +02:00
norman
1314db9c0a
Fix a NPE in a testcase when running via ubuntu
2012-04-10 08:12:10 +02:00
Norman Maurer
16bbd31330
Await for close of the channels. See #235
2012-04-09 20:07:45 +02:00
Norman Maurer
7045831687
Correct javadoc. See #235
2012-04-09 20:02:33 +02:00
Norman Maurer
32d327ede2
Take care of releasing the local channel when releaseExternalResources() is called. See #235
2012-04-09 20:00:20 +02:00
Norman Maurer
968b9103b3
Add test case to show that issue #235 is due some incorrect usage
2012-04-09 16:35:56 +02:00
Vibul Imtarnasan
e7e780fddd
Merge pull request #253 from veebs/ws-close
...
Issue #250 . Implement web socket close frame status code and reason text
2012-04-08 21:46:50 -07:00
vibul
dd14b8d9e8
Issue #250 . Implement web socket close frame status code and reason text.
2012-04-09 14:33:45 +10:00
Norman Maurer
33c085b9b9
Make sure Future get notified before event is fired. See #254
2012-04-07 22:03:58 +02:00
Norman Maurer
778f4a3cbc
Make sure Future get notified before event is fired. See #254
2012-04-07 21:56:58 +02:00
Norman Maurer
d2d859d22c
Make sure multicast tests pass on all os'es
2012-04-06 21:00:49 +02:00
Norman Maurer
c8679fe52c
Catch Throwable
2012-04-06 11:09:51 +02:00
norman
db87c6ea37
Make sure Channel connected event is not fired on connect failure. See #249
2012-04-04 07:41:38 +02:00
norman
389845b4c9
Make sure Channel connected event is not fired on connect failure. See #249
2012-04-04 07:40:50 +02:00
Trustin Lee
049fb35bc1
Add Channel.deregister()
2012-04-03 22:29:26 +09:00
Trustin Lee
5a63cc4e1a
Allow specifying a non-default SelectorProvider
2012-04-03 22:25:01 +09:00
Trustin Lee
a8647d6dc8
AbstractNioWorker -> SelectorEventLoop
2012-04-03 22:21:11 +09:00
Trustin Lee
0d8afa7a4c
attach -> register
2012-04-03 22:19:35 +09:00
Trustin Lee
116054a364
Initial incomplete checkin of the event loop API
2012-04-03 22:03:04 +09:00
norman
d66cf2cbfa
Add missing license header
2012-04-03 12:06:09 +02:00
norman
805270c5d9
Finish support for UDP Multicast in UDP. See #216
2012-04-03 12:04:33 +02:00
norman
31e3530252
Fix typo
2012-04-03 07:50:15 +02:00