Commit Graph

2243 Commits

Author SHA1 Message Date
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
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
Norman Maurer
5a2793e317 Add workaround for connection problems with IPv6 link-local addresses and jdk < 7. See #267 2012-04-17 13:59:35 +02:00
Norman Maurer
3558eb7042 Add workaround for connection problems with IPv6 link-local addresses and jdk < 7. See #267 2012-04-17 09:49:35 +02:00
Norman Maurer
b1c2771801 Make sure PrematureChannelClosureException is not thrown incorrectly sometimes. See #266 2012-04-17 09:28:15 +02:00
Norman Maurer
ff5787266d Use Sec-WebSocket-Origin in WebSocketClientHandshaker08 as replacement for Origin. See #264 2012-04-16 15:29:27 +02:00
norman
951c275869 Add port to Origin HTTP Header if the port is non default (80/443). See
#262
2012-04-16 13:23:58 +02:00
norman
347772a1e9 Add port to Origin HTTP Header if the port is non default (80/443).
See #262
2012-04-16 13:15:04 +02:00
Norman Maurer
864167270d Add some javadocs notes that explain the behavior of CookieEncoder.encode(). See #94 2012-04-16 11:45:08 +03:00
norman
8bf84a8737 Throw IllegalStateException if DynamicChannelBuffer exceed the maximum
ChannelBuffer size of 2gb. See #258
2012-04-16 09:52:34 +02:00
Norman Maurer
fdc27db45d Add also tests for HttpClientCodec that tests handling chunked responses. See #256 amd #259 2012-04-15 20:54:57 +02:00
Norman Maurer
ad7c25866e Add test for HttpClientCodec that tests handling of missing responses. See #256 amd #259 2012-04-15 15:39:35 +02:00
Norman Maurer
d1ec95a320 Add test for HttpClientCodec that tests handling of missing responses. See #256 amd #259 2012-04-15 15:37:39 +02:00
norman
5696742f73 Throw a PrematureChannelClosureException if the channel was closed before all responses were received for the sent requests. See #256 2012-04-12 14:29:41 +02:00
norman
5240772424 Fix regression which I introduced this morning 2012-04-12 14:27:34 +02:00
norman
4c449e902f Accept all ready connections after select the keys. See #257 2012-04-12 09:27:34 +02:00
Trustin Lee
2c2d64a75e Merge branch '3' of github.com:netty/netty into 3 2012-04-12 14:15:02 +09:00
Trustin Lee
1d74c13fe7 Remove Redis client codec (will continue work on master) 2012-04-12 14:13:21 +09:00
norman
272b6b01bb Fix regression in Zlib which was introduced while refactoring the code. See #255 2012-04-11 10:23:52 +02:00
norman
4f3685b05a Make it compatible with java5. See #250 2012-04-10 14:17:22 +02:00
Norman Maurer
ef530698c5 Take care of releasing the local channel when releaseExternalResources() is called. See #235 2012-04-09 20:06:20 +02:00
Norman Maurer
403fdb2035 Add test case to show that issue #235 is due some incorrect usage 2012-04-09 16:30:36 +02:00
vibul
ac9d7ebe27 Issue #250. Implement web socket close frame status code and reason text. 2012-04-09 14:33:58 +10:00
Norman Maurer
16c3d4bc3c Make sure Future get notified before event is fired. See #254 2012-04-07 22:01:36 +02:00