Commit Graph

2482 Commits

Author SHA1 Message Date
Trustin Lee
68c9b0feeb Fix NETTY-445 Memory leak in SslHandler
* Ensure SSLEngine.closeInbound() and closeOutbound() is called on
handshake failure.
* Ensure connection is closed when a closure request is issued and
handshake failed.
2011-10-21 14:04:44 -07:00
Norman Maurer
8fb34a4717 Merge pull request #32 from normanmaurer/master
Push fixes from 3.2 branch to master
2011-10-21 09:18:42 -07:00
norman
6dd77331ed Add support for FileRegion in OIOWorker. See NETTY-441 2011-10-21 18:11:06 +02:00
norman
c6e0162887 Make sure FileRegion.releaseExternalResources() is called after the
write was done. See NETTY-440
2011-10-21 18:06:00 +02:00
norman
783e7562c7 Fire ChannelConnected events in a Worker Thread. See NETTY-439 2011-10-21 18:04:18 +02:00
norman
7328cfe58f Commit javadocs update which was previous committed to the 3.2 branch 2011-10-21 17:56:43 +02:00
Veebs
b4b3d98f37 Added more example package documentation. 2011-10-17 16:49:35 +11:00
Veebs
12d93cca29 Fixed web service client. Added more package documentation. 2011-10-17 16:49:19 +11:00
Veebs
c60b1e28cb Forgot to checkin AutoBahn echo server for testing. 2011-10-17 15:12:37 +11:00
Veebs
10b88ceaa0 AutoBahn tests 9 working. All done :-) 2011-10-17 13:58:44 +11:00
Veebs
beb56878e4 WIP. AutoBahn tests 6 working. Needed to check if final string is UTF-8 compliant. 2011-10-17 13:48:42 +11:00
Veebs
234952a516 WIP. AutoBahn tests 1-5 working. Some tests in 6 and 9 still failing. 2011-10-16 23:39:27 +11:00
Veebs
91796814eb Used codec implementation of Base64 encoding. Thanks to Steven Osborn (steve918) 2011-10-16 21:02:14 +11:00
Veebs
6f9a886a36 Test against AutoBahn WebSocket testsuite. Work in progress 2011-10-16 17:01:24 +11:00
Jestan Nirojan
b22c7e4a08 1)refactored sctp server channel config 2)removed unsupported sctp socket options 2011-10-14 00:35:14 +05:30
Veebs
7057c59f3d Fixed bug in static file server timestamp comparision before sending back a 304 Not Modified. Only compare upto seconds. 2011-10-13 16:54:08 +11:00
Veebs
f8b96fe6b8 Support for FireFox websockets. They use window.MozWebSocket rather than window.WebSocket. 2011-10-13 10:17:49 +11:00
Jestan Nirojan
a20a2c1e17 1)implemented sctp socket options 2)refactored SctpChannel,SctpServerChannel & sctp factory impls 2011-10-13 01:55:51 +05:30
Trustin Lee
9dac941544 NETTY-438 Re-enable SSL re-negotiation by default
* Re-enabled renegotiation
* Updated Javadoc
2011-10-10 20:48:28 +09:00
Norman Maurer
509edd86f4 Add patch of NETTY-434 to the mix to fix Deadlock in
ChunkedWriteHandler. This patch was not written by me...
2011-10-10 18:00:25 +09:00
Evan Meagher
6ee3286784 Fix wording in "Summary" section. 2011-10-10 17:42:37 +09:00
Evan Meagher
79d660ca91 Fix wording in "Advanced Components for More Rapid Development" section. 2011-10-10 17:42:35 +09:00
Evan Meagher
490fc249f8 Fix wording in "Interceptor Chain Pattern" section. 2011-10-10 17:42:32 +09:00
Evan Meagher
4ea375362f Fix wording in "Universal Asynchronous I/O API" section. 2011-10-10 17:42:30 +09:00
Evan Meagher
0d6a5e004d Fix wording in "Rich Buffer Data Structure" section. 2011-10-10 17:42:26 +09:00
Jestan Nirojan
8f25312be8 Merge remote branch 'upstream/master' 2011-10-10 03:34:46 +05:30
Jestan Nirojan
2fe247b4ac Merge branch 'master' of github.com:jestan/netty 2011-10-10 03:23:04 +05:30
Jestan Nirojan
60f5b42693 Merge branch 'master' of github.com:jestan/netty 2011-10-10 03:14:54 +05:30
Jestan Nirojan
7b09f85d84 Merge branch 'master' of github.com:jestan/netty 2011-10-10 03:14:54 +05:30
Jestan Nirojan
a6d16daa08 1)added sctp echo example 2)refactored sctp channel impl classes 2011-10-10 02:58:20 +05:30
Jestan Nirojan
094834d9bf 1)added sctp echo example 2)refactored sctp channel impl classes 2011-10-10 02:58:20 +05:30
Veebs
33f548a8ae Added example ping/pong and closing frame. 2011-09-26 23:07:22 +10:00
Veebs
aa72c987e7 WebSocket hybi 10 support 2011-09-26 22:51:15 +10:00
Trustin Lee
9f1c394697 Fixed a compilation error in the example 2011-08-26 13:24:35 +09:00
Aaron Riekenberg
c2417c253c Cleanup failIfNecessary, fix comment. 2011-08-20 20:11:28 -05:00
Aaron Riekenberg
f474fc609a Add failImmediatelyOnTooLongFrameOption. 2011-08-20 19:58:23 -05:00
Trustin Lee
2fc18a00f6 Added a TooLongFrameException recovery test for DelimiterBasedFrameDecoder 2011-08-19 11:11:45 +09:00
Trustin Lee
f4ebcf7aed NETTY-435 LengthFieldBasedFrameDecoder fails to recover from TooLongFrameException
* Fixed a bug where TooLongFrameException is not raised immediately when the large frame was fully decoded at the first attempt
* Fixed a bug where LengthFieldBasedFrameDecoder does not reset its state completely after raising TooLongFrameException
2011-08-19 11:06:29 +09:00
Trustin Lee
83ad5fb07e Fixed a compilation error 2011-08-12 15:20:43 +09:00
Frédéric Brégier
d6ea072ccc Fix NPE when non chunked message with a large variable 2011-08-12 14:09:03 +09:00
Frédéric Brégier
6b3b3b7426 Fix of NPE when non chunked large variable is created 2011-08-12 14:08:50 +09:00
Trustin Lee
dbb2392034 NETTY-431 HashedWheelTimer's TimerTask may execute after call to Timeout.cancel()
* Replaced a volatile boolean flag and system date access with an atomic integer flag.
2011-08-12 14:04:14 +09:00
Trustin Lee
35258a5393 NETTY-430 ChunkedWriteHandler NPE 2011-08-12 13:39:55 +09:00
Trustin Lee
6156922ad6 NETTY-429 IllegalArgumentException when an HTTP server sends a '100 Continue' response to HttpContentDecoder.
* Fixed a silly coding mistake where I sent the event in the opposite direction
2011-08-03 21:25:20 +09:00
Trustin Lee
88d84c537c NETTY-428 SslHandler does not trigger an exceptionCaught event for some handshake failure cases.
* Made sure SslHandler.handshake() and SslHandler.close() trigger an exceptionCaught event when failed
2011-08-02 15:38:58 +09:00
Trustin Lee
21269fa073 SSLEngine.beginHandshake() can throw a RuntimeException. 2011-08-02 15:09:12 +09:00
Trustin Lee
dc0498d82b NETTY-408 ChunkedStream generates 1-byte chunks for wrapped input streams that does have sane implementation of available() method
* Updated JavaDoc so that users don't specify an InputStream with poor available() implementation.
2011-08-02 09:48:18 +09:00
Trustin Lee
73d1f3fe02 NETTY-384 Another deadlock in ChunkedWriteHandler
ChunkedWriteHandler.discard() do not issue write requests to trigger exceptionCaught events and to notify write futures anymore.  Instead, it triggers exceptionCaught events and notifies write futures by itself.  Therefore, no write lock is involved during discard(), avoiding the reported dead lock.

However, this is a temporary solution, and eventually Netty must introduce more robust event thread model.
2011-08-02 09:33:27 +09:00
Trustin Lee
d72b89db21 NETTY-422 Add getPipeline() to CodecEmbedder so that a user can modify the pipeline dynamically. 2011-08-02 08:47:56 +09:00
Trustin Lee
59a349031a NETTY-423 Add ChannelPipeline.getNames() 2011-08-02 08:43:10 +09:00