Commit Graph

2396 Commits

Author SHA1 Message Date
Trustin Lee
674af6ae12 Fixed infinite loop in ProtobufVarint32FrameDecoder when too large varint length is received 2010-06-24 02:12:48 +00:00
Trustin Lee
ab0facdee5 * Discard too long frame in a more robust manner (i.e. should continue decoding after raising TooLongFrameException) 2010-06-24 01:53:51 +00:00
Trustin Lee
bae46eca49 Discard too long frame in a more robust manner 2010-06-24 01:45:32 +00:00
Trustin Lee
14a82cb6df [maven-release-plugin] prepare for next development iteration 2010-06-23 05:28:05 +00:00
Trustin Lee
ce2736b4ef [maven-release-plugin] prepare release netty-3.2.1.Final 2010-06-23 05:27:36 +00:00
Trustin Lee
c9555d01bf Added a TODO to ProtobufVariant32FrameDecoder 2010-06-23 05:22:57 +00:00
Trustin Lee
b2ebe26a25 * Improved protocol buffers integration javadoc
* Changed the localtime example to use the base128 variant length header which is popular among protobuf users
2010-06-23 05:16:47 +00:00
Trustin Lee
685153663e Fixed wrong content length for websocket handshake messages 2010-06-22 07:02:27 +00:00
Trustin Lee
7df28adfe3 Fixed wrong content length for websocket handshake messages 2010-06-22 07:01:47 +00:00
Trustin Lee
e0545ba583 Fixed issue: NETTY-330 HttpMessageDecoder cannot decode new handshake messages
* HttpHeaders.getContentLength() returns 10 and 18 for WebSocket handshake messages
* Updated the WebSocket server example to support the new handshake method
2010-06-21 09:39:49 +00:00
Trustin Lee
c35c9eb1c3 Mention WebSocket 2010-06-21 08:16:31 +00:00
Trustin Lee
5f3fe47392 Excluded examples from the JAR 2010-06-21 08:12:08 +00:00
Trustin Lee
f88108e876 Fixed a bug: NETTY-329 ChannelBuffer.slice(index, length) returns a slice with wrong reader/writerIndex
* HeapChannelBuffer.slice(index, length) and ByteBufferBackedChannelBuffer.slice(index, length) should update indexes when they created a slice using duplicate()
* Added relevant test cases
2010-06-21 07:00:03 +00:00
Trustin Lee
575b7fb073 More Javadoc based on community feed back 2010-06-17 14:23:59 +00:00
Trustin Lee
de90cd6a3c System call needs to be made at least once so that it can fail when a user attempts to write on a closed channel 2010-06-16 03:33:29 +00:00
Trustin Lee
752e60a723 Suppress system calls when a user attempts to write an empty buffer 2010-06-16 03:28:30 +00:00
Trustin Lee
f753dc2b83 Replaced SslHandler.pendingEncryptedWrites with the thread-safe one 2010-06-16 03:12:00 +00:00
Trustin Lee
f2d490ef9f Suppress system calls when a user attempts to write an empty buffer 2010-06-16 03:10:19 +00:00
Trustin Lee
4b0219ee9b Potential fix for rare failure:
javax.net.ssl.SSLException: renegotiation attempted by peer; closing the connection
	at org.jboss.netty.handler.ssl.SslHandler.handleRenegotiation(SslHandler.java:967)
	at org.jboss.netty.handler.ssl.SslHandler.wrapNonAppData(SslHandler.java:810)
	at org.jboss.netty.handler.ssl.SslHandler.handshake(SslHandler.java:347)
2010-06-16 00:21:31 +00:00
Trustin Lee
cbe26db0e4 Replaced email with homepage url 2010-06-14 11:07:44 +00:00
Trustin Lee
2571564eb2 * Updated the author tag
* Added svn:keywords property
2010-06-14 11:06:45 +00:00
Trustin Lee
800fcd0ca2 More tests 2010-06-14 11:03:14 +00:00
Trustin Lee
6d0fb256c6 Fixed issue: NETTY-325 (QueryStringDecoder doesn't properly handle missing query string values and other corner cases)
* Rewrote QueryStringDecoder based on Benoit's work
* Added a test case for QueryStringDecoder
2010-06-14 10:57:48 +00:00
Trustin Lee
5097009f8c * Fixed an infiniloop in NioDatagramWorker which is triggered when a user writes an empty buffer.
* Reduced system calls on empty buffer
2010-06-07 02:11:04 +00:00
Trustin Lee
c032708ed7 Updated Javadoc 2010-06-07 01:50:02 +00:00
Trustin Lee
659eedb970 Better package description 2010-06-03 09:04:56 +00:00
Trustin Lee
4a390a1983 More Javadoc 2010-06-03 09:01:46 +00:00
Trustin Lee
3a92fb8a9e Fixed NETTY-320 ReplayingDecoderBuffer.toByteBuffer(int, int) throws java.lang.IndexOutOfBoundsException
* Added missing checkIndex() call
2010-06-01 09:19:19 +00:00
Trustin Lee
a55a1c6e72 Removed unnecessary lock 2010-06-01 08:38:51 +00:00
Trustin Lee
62746e3e5e [maven-release-plugin] prepare for next development iteration 2010-05-28 05:15:50 +00:00
Trustin Lee
e2ac42975c [maven-release-plugin] prepare release netty-3.2.0.Final 2010-05-28 05:13:51 +00:00
Trustin Lee
a2ef43cf3d Streamline LinkedTransferQueue.isEmpty() 2010-05-28 02:59:17 +00:00
Trustin Lee
11705c9915 Removed System.out 2010-05-27 12:40:50 +00:00
Trustin Lee
0d0b0c56c3 Fixed NETTY-319 HttpMessageDecoder incorrect parsing status line
* Specified an empty reason phrase if no reason phrase was specified
2010-05-27 12:38:54 +00:00
Trustin Lee
7d11a5369f Proper validation for HttpResponseStatus 2010-05-27 12:34:44 +00:00
Trustin Lee
d65cd371e7 Fixed a bug where HttpTunnelingClientSocketChannel's closeFuture is not notified if the connection is closed by the client 2010-05-27 12:02:49 +00:00
Trustin Lee
be544fa899 Added a TODO for 4.0 (or 3.3?) 2010-05-19 12:23:44 +00:00
Trustin Lee
c64e6866f6 Added a FIXME for later releases 2010-05-19 11:31:25 +00:00
Trustin Lee
d51ccd2211 The fix for RtspResponseDecoder should be applied to all RTSP decoders 2010-05-19 07:51:38 +00:00
Trustin Lee
0c9202ab75 Fixed a bug where RtspResponseDecoder does not decode a response with no 'Content-Length' header properly 2010-05-19 07:42:21 +00:00
Trustin Lee
3847fb00e5 Fixed issue: NETTY-310 Memory leak in netty-3.2.0.BETA1.jar
* Added a special internal use only constructor to AbstractChannel, which bypasses ID allocation
* EmbeddedChannel calls the special purpose constructor to avoid leak
2010-05-19 06:29:43 +00:00
Trustin Lee
93f9c4a2d6 * Added LengthFieldBasedFrameDecoder.extractFrame()
* ObjectDecoder overrides extractFrame() to avoid memory copy
2010-05-13 14:13:07 +00:00
Trustin Lee
d19aa4924e Simplified and hardened ObjectDecoder by extending LengthFieldBasedFrameDecoder 2010-05-13 13:40:36 +00:00
Trustin Lee
688ec9d927 removed google analytics 2010-05-07 11:22:19 +00:00
Trustin Lee
23dfc03060 migrating to docs.jboss.org 2010-05-07 11:21:10 +00:00
Trustin Lee
65ee3d5579 Inserted Google Analytics code 2010-05-07 11:14:53 +00:00
Trustin Lee
4fc22e1a26 [maven-release-plugin] prepare for next development iteration 2010-05-07 01:22:44 +00:00
Trustin Lee
7620360e1f [maven-release-plugin] prepare release netty-3.2.0.CR1 2010-05-07 01:21:57 +00:00
Trustin Lee
14d27eb7c9 Removed the unused dependencies from NOTICE.txt 2010-05-07 01:02:29 +00:00
Trustin Lee
bdd213ec85 * Added missing Javadoc
* Proper getIntHeader() behavior
2010-05-06 07:50:19 +00:00