Commit Graph

720 Commits

Author SHA1 Message Date
Trustin Lee
f700f9b14f Fixed misleading Javadoc in ReplayingDecoder 2010-11-09 05:35:24 +00:00
Trustin Lee
57dc0b3bc8 Fixed issue: NETTY-359 Missing support for HTTP 'Expect: 100-continue' header.
* Improved HttpHeaders.is100ContinueExpected() to conform to the RFC
* HttpChunkAggregator now sends "HTTP/1.1 100 Continue" response automatically.
* Added some TODO items which should be done in 4.0.
2010-10-19 05:40:44 +00:00
Trustin Lee
d093ed4a54 Fixed a potential thread safety issue in SslHandler.handleRenegotiation() - it seems to cause the first handshake attempt to fail rarely on some platform (Solaris SPARC?) 2010-10-19 04:05:28 +00:00
Trustin Lee
4fd034ab5d Fixed issue: NETTY-359 Missing support for HTTP 'Expect: 100-continue' header.
* Improved the snoop example to support the 100-continue header
* Fixed a problem in HttpClientCodec, HTtpContentDecoder and HttpContentEncoder where 100-continue response causes incorrect behavior
2010-10-18 08:19:03 +00:00
Trustin Lee
04430cd6d3 Fixed issue: NETTY-359 Missing support for HTTP 'Expect: 100-continue' header.
* Added HttpHeaders.is/set100ContinueExpected()
* HttpMessageDecoder converts unchunked messages into chunked ones if Expect: 100-continue header exists.
2010-10-17 18:34:03 +00:00
Trustin Lee
13a1b73cd1 Fixed issue: NETTY-356 WebSocket encoder regression
* Fixed a bug where WebSocketFrameEncoder does not set MSB of the length field
2010-09-09 10:59:22 +00:00
Trustin Lee
0cc728a9f0 Resolved issue: NETTY-346 ReplayingDecoderBuffer doesn't support array()
* Added ReplayingDecoder.internalBuffer() so that a brave user accesses the internal buffer directly at one's own risk
2010-08-30 06:02:08 +00:00
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
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
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
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
5518344bc3 NETTY-335 Remove deprecated elements 2010-06-30 05:48:23 +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
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
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
575b7fb073 More Javadoc based on community feed back 2010-06-17 14:23:59 +00:00
Trustin Lee
f753dc2b83 Replaced SslHandler.pendingEncryptedWrites with the thread-safe one 2010-06-16 03:12:00 +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
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
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
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
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
bdd213ec85 * Added missing Javadoc
* Proper getIntHeader() behavior
2010-05-06 07:50:19 +00:00
Trustin Lee
56cdf73cb9 Fixed issue: NETTY-314 ProtobufEncoder and ProtobufDecoder should accept MessageLite as well as Message. 2010-05-06 04:11:11 +00:00
Trustin Lee
d4049710bb * Fixed dangling HTTP header entries in the linked list
* Added a test case
2010-05-04 01:46:15 +00:00
Trustin Lee
b2f550cb3b Fixed a bug where RtspResponseDecoder generates a request object instead of a response object 2010-05-03 02:21:01 +00:00
Trustin Lee
5741721f71 Fixed a bug where HEAD response is not read completely if it's transfer encoding is 'chunked'. 2010-04-16 13:32:55 +00:00
Trustin Lee
2ac79dcb74 A little optimization 2010-04-16 06:53:12 +00:00