Commit Graph

2611 Commits

Author SHA1 Message Date
norman
b5706d54f7 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:47:30 +02:00
norman
9ebff3abf2 Make sure we fire the event from the io-thread. See #306 2012-05-04 13:46:23 +02:00
norman
f5eb6b61cd Fix checkstyle. See #307 2012-05-04 13:45:02 +02:00
norman
85a280b356 Let ChannelLocal implement Iterable. See #307 2012-05-04 13:20:08 +02:00
norman
3a99550132 Refactor ChunkedWriteHandler to remove synchronization which can have bad side effects like deadlocks. See #297 and #301 2012-05-04 10:05:17 +02:00
norman
2a249c14b1 Notify ChannelFuture's of queued writes if the SslHandler gets removed from the ChannelPipeline. See #306 2012-05-04 09:49:37 +02:00
norman
33ff0421e2 Fail all queued writes if the ChunkedWriteHandler is removed from the ChannelPipeline. See #304 2012-05-04 09:37:11 +02:00
norman
769275e751 Fail all pending writes on channelClosed(..). See #305 2012-05-04 09:29:59 +02:00
Norman Maurer
250f1667b9 Allow to register ChannelFutureListener's that get notified once the inbound of the SSLEngine is closed. See #137 2012-05-03 16:39:35 +02:00
norman
7d2d742a43 Make sure ChunkedInput.close() is not called before the write is complete. See #303 2012-05-03 09:17:37 +02:00
norman
abc2877f91 Fix compile errors. See #299 2012-05-03 09:16:45 +02:00
Frédéric Brégier
9ab14fba6d Merge pull request #299 from fredericBregier/3
3 update branch 3 from very same issues and improvements fixed for #290 #291 #292
2012-05-02 06:26:15 -07:00
norman
308afcaa40 Fix small race which can lead to resumeTransfer() to not kick in. See #300 2012-05-02 12:13:00 +02:00
Frédéric Brégier
26b4586af6 Same small fix on readUnsigned for skipControlCharacters 2012-05-02 12:36:48 +03:00
norman
97069027a8 Make sure the exception event is fired from within an io thread. See #298 2012-05-02 11:29:20 +02:00
Frédéric Brégier
80c6f65731 Fix same optimization than from Branch Master issue #292 to branch 3 2012-05-02 10:30:35 +03:00
Frédéric Brégier
faf596f691 Fix same optimization than from Branch Master issue #292 to branch 3 2012-05-02 10:22:43 +03:00
Frédéric Brégier
871a26b164 Fix same issue from branch Master issue #291 for branch 3 2012-05-02 10:20:16 +03:00
Frédéric Brégier
b6abfa70db Fix same issue from branch Master issue #291 for branch 3 2012-05-02 10:19:43 +03:00
Frédéric Brégier
1313300264 Fix same issue than branch Master issue #290 for branch 3 2012-05-02 10:18:24 +03:00
Frédéric Brégier
5ef153f4c1 Fix same issue than branch master #290 for branch 3 2012-05-02 10:17:13 +03:00
norman
a688f9212e Remove workaround for ipv6 link-localaddresses as it not work on most os / jdk versions. See #267 and #295 2012-05-02 07:35:35 +02:00
norman
49d59e36f5 Remove workaround for ipv6 link-localaddresses as it not work on most os / jdk versions. See #267 and #295 2012-05-02 07:35:12 +02:00
Norman Maurer
b614f81bf7 We need to set the exception on each MessageEvent. See #293 2012-05-01 12:02:47 +02:00
Norman Maurer
ea38734b13 Optimize AbstractNioWorker.cleanUpWriteBuffer(..). See #293 2012-04-29 20:10:51 +02:00
Norman Maurer
ca19df80f5 Remove volatile keyword as it is not needed 2012-04-29 13:43:52 +02:00
Norman Maurer
5219a59597 Fix up code to work with java5. See #286 2012-04-29 13:38:56 +02:00
Vibul Imtarnasan
ced80f3ae2 Merge pull request #286 from veebs/3HttpPostBody
Backport post request body and file upload to 3.x branch
2012-04-28 15:37:30 -07:00
norman
681c5dd0d0 Enable gathering writes support for 3.5.x . See #271 and #269 2012-04-27 10:25:09 +02:00
norman
4b1e226b64 [maven-release-plugin] prepare for next development iteration 2012-04-27 09:01:21 +02:00
norman
4f849dfceb [maven-release-plugin] prepare release netty-3.4.2.Final 2012-04-27 09:01:11 +02:00
norman
a67194fc2c Disable gathering writes till we want to release 3.5.0.Final 2012-04-27 08:57:52 +02:00
norman
3454cbbc03 Fix checkstyle 2012-04-27 08:57:12 +02:00
vibul
78593ab271 remove volatile 2012-04-27 15:45:10 +10:00
norman
8507be1a71 Mark constructor as @deprecated. See #283 2012-04-27 07:29:05 +02:00
Norman Maurer
99da06bfd1 Merge pull request #285 from veebs/3WsMaxFrameLength
Issue #283 - (3.x) Support max frame length for web socket to limit chance of DOS attack
2012-04-26 22:22:21 -07:00
vibul
7c72a91e6b We need to keep the old constructor to not break the API. 2012-04-27 10:22:56 +10:00
vibul
45d58e9459 Removed @Override to make it work with java 5. 2012-04-27 09:57:54 +10:00
vibul
979bca4b35 As per Noman's request: There is not need for volatile here as we only
handle upstream events.
2012-04-27 09:52:01 +10:00
vibul
e469980236 Reapply files form master to keep formatting. 2012-04-27 09:51:18 +10:00
vibul
e8b016461c Reapply changes to HttpHeaders without indenting problems so that we can
make sure of additions.
2012-04-27 09:48:15 +10:00
vibul
66b4735acd Replaced tabs with 4 spaces. 2012-04-27 09:32:35 +10:00
Norman Maurer
7c95d475d7 Use ThreadRenamingRunnable in Boss and Workers again. See #289 2012-04-26 21:52:13 +02:00
norman
7c5ae2787d Make sure netty detects the right java version when running on android. See #282 2012-04-26 15:31:04 +02:00
norman
1d4e5ac66d Make sure netty detects the right java version when running on android. See #282 2012-04-26 15:27:58 +02:00
norman
8777c3c02b OioWorker failed to fire channelConnected event for OioAcceptedSocketChannel which is fixed now. This also fix a race which can could lead to missing events. See #287 2012-04-26 14:41:47 +02:00
norman
880b01e45f OioWorker failed to fire channelConnected event for OioAcceptedSocketChannel which is fixed now. This also fix a race which can could lead to missing events. See #287 2012-04-26 14:30:20 +02:00
norman
86217b692a Fix formatting 2012-04-26 11:56:58 +02:00
norman
0a1c76b0f7 Add back UnsafeDynamicChannelBuffer to make it possible to use next netty release again in infinispan 2012-04-26 11:27:23 +02:00
vibul
802e5366b2 Backport post request body and file upload to 3.x branch 2012-04-26 10:44:37 +10:00