Commit Graph

70 Commits

Author SHA1 Message Date
Frédéric Brégier
327e434925 Fix checkstyle 2012-05-20 18:25:10 +03:00
Frédéric Brégier
41c6aefdab Fix checkstyle 2012-05-20 18:21:14 +03:00
Frédéric Brégier
c634539faa Fix checkstyle 2012-05-20 18:20:21 +03:00
Frédéric Brégier
8846947081 Same fix than in version 3.5 for Master branch (refer to issue #345)
Will be proposed once the one in 3.5 will be validated
2012-05-20 16:40:06 +03:00
Frédéric Brégier
792035cd38 Same fix than in version 3.5 for Master branch (refer to issue #345)
Will be proposed once the one in 3.5 will be validated
2012-05-20 16:39:14 +03:00
Frédéric Brégier
3bd77e93f1 Same fix than in version 3.5 for Master branch (refer to issue #345)
Will be proposed once the one in 3.5 will be validated
2012-05-20 16:38:21 +03:00
Frédéric Brégier
714e3d682e Same fix than in version 3.5 for Master branch (refer to issue #345)
Will be proposed once the one in 3.5 will be validated
2012-05-20 16:37:34 +03:00
Frédéric Brégier
54c97d0720 Same fix than in version 3.5 for Master branch (refer to issue #345)
Will be proposed once the one in 3.5 will be validated
2012-05-20 16:36:45 +03:00
Norman Maurer
7018b8453f Cleanup 2012-05-19 17:10:52 +02:00
Frédéric Brégier
5e48c50589 Merge pull request #346 from fredericBregier/master
Proposal to fix 1rst issue presented in #345
2012-05-19 07:56:38 -07:00
Frédéric Brégier
bc540d5ee1 Proposal for fix related to 1rst issue of #345
=> in configure (newcheckInterval/10)*10
(see http://www.javamex.com/tutorials/threads/sleep_issues.shtml)
2012-05-19 14:59:52 +03:00
Frédéric Brégier
2320a5919f Proposal for fix related to 1rst issue of #345
=> (getTimeToWait /10)*10
(see http://www.javamex.com/tutorials/threads/sleep_issues.shtml)
2012-05-19 14:54:59 +03:00
Norman Maurer
ed538209e5 Fix syntax. See #342 2012-05-19 13:19:24 +02:00
Jeff Pinner
ddb7d75c96 Make SslBufferPool an interface 2012-05-18 13:49:01 -07:00
Norman Maurer
3d49975a3c Merge pull request #339 from fredericBregier/master
Fix compile errors which were introduced by #338
2012-05-18 12:41:57 -07:00
Frédéric Brégier
e54662f7d0 Same fix than other for correct import 2012-05-18 16:38:13 +03:00
Frédéric Brégier
a5fc2d82a5 Same fix than other for correct import 2012-05-18 16:37:46 +03:00
norman
bca791af4c Fix compile errors which were introduced by #338 2012-05-18 15:13:13 +02:00
Norman Maurer
ba8cfa5d33 Merge pull request #338 from fredericBregier/master
Improvement: Allow ObjectSizeEstimator in traffic shaping
2012-05-18 05:45:20 -07:00
Frédéric Brégier
1afb209010 import fix 2012-05-18 15:33:23 +03:00
Frédéric Brégier
9c2262716f Import fix 2012-05-18 15:32:59 +03:00
Frédéric Brégier
51debe1287 import fix 2012-05-18 15:32:36 +03:00
Frédéric Brégier
7d4a276ab0 Fix private class to static private class (dynamicity is not necessary there) 2012-05-18 15:26:21 +03:00
Frédéric Brégier
a1a60ec5b6 Add support for ObjectSizeEstimator 2012-05-18 15:23:11 +03:00
Frédéric Brégier
0996bac7ff Add support for ObjectSizeEstimator: in order to allow special optimization if possible from user code 2012-05-18 15:20:46 +03:00
Frédéric Brégier
923498de92 Add support for ObjectSizeEstimator 2012-05-18 15:17:02 +03:00
norman
88d60c15c7 Make all methods of SslBufferPool public so a subclass can be placed in another package. See #336 2012-05-18 08:12:42 +02:00
norman
d2ec45e573 Use the correct ChannelBufferFactory when creating new ChannelBuffers. See #335 2012-05-18 08:11:45 +02:00
norman
a99f258984 Make sure SslHandler also works if SslBufferPool use non heap ByteBuffers. See #329 2012-05-18 08:10:34 +02:00
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