Commit Graph

2265 Commits

Author SHA1 Message Date
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 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
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
vibul
763f22463e Issue #283 - Support max frame length for web socket to limit chance of DOS attack 2012-04-26 10:09:22 +10:00
norman
c6ce31db96 NioDatagramWorker.ChannelRegistionTask should handle ClosedChannelException gracefully. See #281 and #277 2012-04-25 09:21:33 +02:00
Norman Maurer
7e00f614d3 Remove benchmakr which use used as proof of concept 2012-04-24 20:20:17 +02:00
Norman Maurer
b4c00f0441 Merge pull request #280 from netty/cumulation_optimization
Make the cumulation usage more memory efficient
2012-04-24 11:15:45 -07:00
Norman Maurer
f0f152085a Merge pull request #271 from netty/gathering_write_support
Use gathering writes if java version is >= 7 . See #269
2012-04-24 11:06:30 -07:00
norman
79f3efd89f Remove unused import 2012-04-24 13:03:58 +02:00
norman
c9da4931c7 Add the factory to create the buffer 2012-04-24 13:01:49 +02:00
norman
bfeb9ffd9a No need for a dynamicbuffer anymore 2012-04-23 13:17:30 +02:00
norman
d126059fb4 Correctly calculate the writable bytes and use a heap buffer to hold the bytes that are left 2012-04-23 11:41:27 +02:00
norman
33715ede50 Make the cumulation usage more efficient in terms of memroy usage 2012-04-23 10:25:05 +02:00
Norman Maurer
172f24cfa8 Upgrade and Connection header must be matched in a case-insensitive manner in WebSocket 08 and 13. See #278 2012-04-22 12:53:00 +02:00
Norman Maurer
0b26a5a2f0 Fix possible NPE. See #274 2012-04-21 16:13:27 +02:00
Norman Maurer
c134a522c3 Allow to specify the local address when connect. See #276 2012-04-21 15:51:51 +02:00
Norman Maurer
f83ba2feb9 Make sure we always cleanup once ReplayingDecoder handles a message. See #259 2012-04-20 20:10:50 +02:00
Norman Maurer
670c4fa42f Enable gathering writes by default. See #269 2012-04-19 17:52:35 +02:00
Norman Maurer
510692d7e7 Add benchmark for gathering writes. See #269 2012-04-19 17:45:41 +02:00
Norman Maurer
5dbc207b5b Correctly handle the stripping of the zoneId / scopeId in all cases. See #267 2012-04-19 16:40:02 +02:00
Norman Maurer
1779032218 Use LinkedTransferQueue that ships with java7 when running on java >= 7. See #273 2012-04-19 13:24:46 +02:00
Norman Maurer
c5ab2f5dad Use gathering writes in CompositeChannelBuffer if jdk >= 7. See #267 2012-04-19 13:12:28 +02:00
Norman Maurer
1a53f9e0bd Allow to disable the use of sun.misc.Unsafe via a System property. See #272 2012-04-19 11:58:33 +02:00
Norman Maurer
2cea0dee73 Only log if logging level is enabled 2012-04-19 11:39:50 +02:00
Norman Maurer
cbb8654193 Use gathering writes if java version >= 7 and the ChannelBuffer is an instanceof CompositeChannelBuffer. See #267 2012-04-18 21:49:28 +02:00
Norman Maurer
3d762a7594 Make it configurable if the HttpClientCodec should throw an exception on close when the response and request count does not match. Default is false. See #266 2012-04-17 20:15:20 +02:00
Norman Maurer
3002a684df Fallback to LegacyLinkedTransferQueue if using LinkedTransferQueue fails. See #268 2012-04-17 14:04:16 +02:00