Commit Graph

2520 Commits

Author SHA1 Message Date
Trustin Lee
2eb2901c1c Fixed a bug where the CodecEmbedder implementations do not generate the close request - this issue prevented some encoders like ZlibEncoder from generating the footer 2010-08-26 05:38:34 +00:00
Trustin Lee
d223c2905d Fixed issue: NETTY-345 HttpChunkAggregator doesn't support retrieving trailing headers
* Merge the trailing headers into the aggregated message
2010-08-26 05:06:40 +00:00
Trustin Lee
ffccf71fa5 Fixed issue: NETTY-350 Copy/paste error in org.jboss.netty.handler.codec.http.HttpMessageDecoder constructor 2010-08-26 04:18:53 +00:00
Trustin Lee
e8fcbd4e75 Fixed a bug where some ChannelPipelineSinks do not always release its shutdownLock on an Error 2010-08-26 03:13:14 +00:00
Trustin Lee
30d5136973 Fixed a dead lock where MemoryAwareThreadPoolExecutor does not release its semaphore completely 2010-08-26 02:55:10 +00:00
Trustin Lee
1c13d8c9f3 Fixed a bug where HttpMessage.chunked flag is not cleared by HttpChunkAggregator 2010-08-26 02:07:11 +00:00
Trustin Lee
d68c5160ed Added parentId to ThreadNamingRunnable 2010-08-25 02:31:00 +00:00
Trustin Lee
3659847859 More strict thread naming rule 2010-08-25 02:12:57 +00:00
Trustin Lee
4680cd0bb3 Improved performance of ProtobufDecoder using array directly when possible (Thanks Ian - iswett@yahoo.com) 2010-08-16 05:57:34 +00:00
Trustin Lee
21db320f0e Fixed issue: NETTY-342 Small typo in the user guide 2010-08-16 05:24:50 +00:00
Trustin Lee
e36d2dc3de Fixed issue: NETTY-331 (Regression NETTY-262: Server bootstrap bound channel pipeline has become immutable)
* ServerBootstrap now always uses the default pipeline instead of the static one
2010-07-07 07:55:37 +00:00
Trustin Lee
1c6813a06d Fixed issue: NETTY-337 Multi-line headers truncated 2010-07-07 06:43:34 +00:00
Trustin Lee
3156ed5dd5 * Added WebSocketFrame.CLOSING_HANDSHAKE
* WebSocketFrameDecoder discards data if closing handshake was received before
2010-07-07 05:07:39 +00:00
Trustin Lee
35351701ff More compact binary frame length encoding in WebSockets 2010-07-07 04:29:41 +00:00
Trustin Lee
d32e7ff865 Fixed wrong comment 2010-06-30 09:43:18 +00:00
Trustin Lee
8216a3fa5e Commented out System.out.println 2010-06-30 09:42:48 +00:00
Trustin Lee
6bebbdad55 Javadoc 2010-06-30 09:35:47 +00:00
Trustin Lee
9d89ad0837 * Resolved issue: NETTY-336 Fine-grained control over thread renaming
** Redefined ThreadNameDeterminer
* Improved caching in AbstractChannel.toString()
* Improved overall OIO thread naming (thread ID number is a large number which doesn't look good though.  will fix it later)
2010-06-30 09:17:08 +00:00
Trustin Lee
cd6e7f0c3e Missing dots 2010-06-30 05:58:51 +00:00
Trustin Lee
5c790b5e8a Fixed a documentation error 2010-06-30 05:54:47 +00:00
Trustin Lee
5518344bc3 NETTY-335 Remove deprecated elements 2010-06-30 05:48:23 +00:00
Trustin Lee
f4e83e0421 Begin 4.0 2010-06-30 05:31:48 +00:00
Trustin Lee
e3a5a8eea2 Do not change the readerIndex 2010-06-25 02:52:30 +00:00
Trustin Lee
56c0e6da07 larger -> wider 2010-06-24 02:13:12 +00:00
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