Norman Maurer
4b1721af17
Fix regression in ChunkedWriteHandler. See #310
2012-05-06 21:50:15 +02:00
norman
c24eafed48
MemoryAwareThreadPoolExecutor needs to notify ChannelFuture's of the queued ChannelEventRunnable on shutdownNow(). See #309
2012-05-04 14:36:51 +02:00
norman
21a61ce632
Make sure the ChannelFuture's of the MessageEvent's are notified on channelClosed(..) event and on removal of the handler from the ChannelPipeline. See #308
2012-05-04 13:56:34 +02:00
norman
d509425b90
Make sure we fire the event from the io-thread. See #306
2012-05-04 13:49:22 +02:00
norman
ec28cc8ba1
Refactor ChunkedWriteHandler to remove synchronization which can have bad side effects like deadlocks. See #297 and #301
2012-05-04 10:31:06 +02:00
norman
7016b83629
Add @Override annotations
2012-05-04 10:28:57 +02:00
norman
d3c137923f
Notify ChannelFuture's of queued writes if the SslHandler gets remove d from the ChannelPipeline. See #306
2012-05-04 10:27:58 +02:00
norman
bc6948c397
Fail all queued writes if the ChunkedWriteHandler is removed from the ChannelPipeline. See #304
2012-05-04 10:26:25 +02:00
norman
2174ce3628
Fail all pending writes on channelClosed(..). See #305
2012-05-04 10:24:28 +02:00
Norman Maurer
f023120a62
Allow to register ChannelFutureListener's that get notified once the inbound of the SSLEngine is closed. See #137
2012-05-03 17:15:03 +02:00
norman
fb52b8a3b2
Make sure ChunkedInput.close() is not called before the write is complete. See #303
2012-05-03 09:24:36 +02:00
Norman Maurer
4e528c10fa
Fix small race which can lead to resumeTransfer() to not kick in. See #300
2012-05-02 13:15:28 +03:00
Cruz Bishop
a20ab9184e
Use loggers in some more classes
2012-04-15 17:49:04 +10:00
Trustin Lee
fd0b0a4e2b
Code cleanup
2012-03-30 12:48:28 +09:00
Trustin Lee
a81fa75c59
Fix #239 : IdleStateHandler starts two timers
...
1) ReadTimeoutHandler is also affected by this bug - fixed
2) Reverted IdleStateHandler.beforeAdd() and channelConnected() -
without isAttached() check, timeout can be inaccurate if beforeAdd() is
called long before channelConnected().
2012-03-22 16:03:58 +09:00
Trustin Lee
f8253e031d
Fix #239 : IdleStateHandler starts two timers
...
1) Do not rely on ChannelPipeline.isAttached() to ensure initialize() is
called once.
2) Fix a race condition where initialize() can schedule timeouts after
destroy() is called.
2012-03-22 15:56:43 +09:00
Norman Maurer
b09bf5b1fb
Tasks added to OrderedMemoryAwareThreadPoolExecutor may be lost in some
...
cases. See #234
2012-03-15 14:31:01 +01:00
Norman Maurer
3317dd7bff
Make sure we don't try to use Channel.setReadable(true) if it was not
...
set by the threadpool itself. See #215
2012-03-04 19:32:44 +01:00
Norman Maurer
a071759575
Fix formatting
2012-03-02 09:35:16 +01:00
norman
0c46db317a
Allow to handle only downstream events via the ExecutionHandler. See
...
#173
2012-03-02 09:28:43 +01:00
Norman Maurer
d8021fc6a8
Release ChildExecutor after the channel was closed. See #173
2012-03-01 21:36:34 +01:00
Trustin Lee
68f9c7a5f3
Fix #160 - Even more strict majorVersion check in SslHandler
2012-03-01 11:42:01 -08:00
Trustin Lee
4b583325b0
Fix #160 - No response to write if server is using SslHandler and client is not
2012-03-01 11:32:51 -08:00
Trustin Lee
4158152b24
Trigger exceptionCaught event from the middle of the pipline ( #210 )
...
.. because the previous handlers have no interest in the exceptions
raised by the next handlers.
2012-02-29 14:02:12 -08:00
Norman Maurer
8579f09c59
Merge pull request #210 from netty/threading_fix
...
Merge in fix for threading (related to #140 and #187 ). This also includes the new feature that allow to submit a Runnable that gets executed later in the io thread.
2012-02-29 12:11:46 -08:00
Trustin Lee
8ab9451086
Fix #208 - SslHandler does not use ChannelBufferFactory to create a new buffer
...
* Also fixed build failure caused by wrong fork mode
2012-02-29 09:19:18 -08:00
Norman Maurer
16fada5c23
Remove bogus constructor. See #173
2012-02-26 11:06:14 +01:00
Norman Maurer
5e43e879f2
Add OrderedDownstreamThreadPoolExecutor which can be used when using the
...
new feature of ExecutionHandler to also handle downstream events. This
is mainly useful for SEDA like stuff. See #173
2012-02-26 11:00:30 +01:00
Norman Maurer
68066c5e4b
Make sure that ChannelDownstreamHandler impl fire exception caughts
...
later via the io-worker. See #140 and #187
2012-02-25 16:05:41 +01:00
norman
479def20bd
Check if logging level is enabled before log. See #192
2012-02-17 10:37:41 +01:00
Norman Maurer
549546f944
Remove the child Executor with the right method so it will also work
...
when the channel is not the key.See #175
2012-02-03 15:50:36 +01:00
Trustin Lee
b9b2366361
Fix checkstyle violations / Renaming RXTX -> Rxtx
2012-01-15 01:08:00 +09:00
Trustin Lee
d40bd5e7f2
Rename IOStream example / Code cleanup
2012-01-15 00:43:28 +09:00
Trustin Lee
36bba6b29d
Reverting the previous commit which makes no sense
2012-01-13 20:49:18 +09:00
Trustin Lee
b9386e7be8
Do not count a ChannelDownstreamEventRunnable
...
* MATPE is only for upstream events.
2012-01-13 20:48:18 +09:00
Trustin Lee
fde6789f41
Cleanup / Modify MATPE to reject a downstream event
2012-01-13 20:35:46 +09:00
Trustin Lee
958ffa50e3
Make ChannelUp/DownstreamEventRunnable non-final / Move the classes in execution.filter to execution
2012-01-13 18:04:06 +09:00
Trustin Lee
303c1b5f79
Overall cleanup / Add lost old jzlib headers
2012-01-13 17:41:18 +09:00
Trustin Lee
ebfc4513e0
Apply checkstyle to the build
...
Please note that the build will fail at the moment due to various checkstyle
violations which should be fixed soon
2012-01-11 20:16:14 +09:00
Norman Maurer
7c412848ef
Fix NPE which is triggered if the destory method is called
...
before channelOpen(..). See #143
2012-01-07 19:42:00 +01:00
Trustin Lee
8663716d38
Issue #60 : Make the project multi-module
...
Split the project into the following modules:
* common
* buffer
* codec
* codec-http
* transport
* transport-*
* handler
* example
* testsuite (integration tests that involve 2+ modules)
* all (does nothing yet, but will make it generate netty.jar)
This commit also fixes the compilation errors with transport-sctp on
non-Linux systems. It will at least compile without complaints.
2011-12-28 19:44:04 +09:00