Commit Graph

22 Commits

Author SHA1 Message Date
Trustin Lee
2d682dc2a3 Fixed NETTY-107 HttpMessageDecoder can not handle the content with no 'Content-Length' header.
* Added HttpMessage.getContentLength(int defaultValue)
* Renamed state enum values
2009-02-12 07:17:29 +00:00
Trustin Lee
602c99c532 Fixed a problem where the last chunk is decoded too early 2009-02-12 06:27:17 +00:00
Trustin Lee
ebe77cef21 Fixed a 'shouldn't reach here' error 2009-02-12 06:26:05 +00:00
Trustin Lee
5ee6da3892 Fixed a bug where HttpRequest message is decoded twice 2009-02-12 06:25:13 +00:00
Trustin Lee
44d56d2c1a Added HttpChunk message for users who want to receive the content chunk by chunk 2009-02-12 06:09:29 +00:00
Trustin Lee
b6c992de8b More optimistic initial line buffer size 2009-02-12 05:49:19 +00:00
Trustin Lee
a4fe52559b More robust CR/LF handling in chunked encoding 2009-02-12 05:48:25 +00:00
Trustin Lee
9125ff5616 Fixed more issues related with chunked encoding 2009-02-12 05:41:22 +00:00
Trustin Lee
fb74832dc8 * Removed the usage of unnecessary state variable
* Renamed READ_CRLF to READ_END_OF_CHUNK
2009-02-12 05:28:55 +00:00
Trustin Lee
66423e0c1d More robust chunk size parser 2009-02-12 05:23:39 +00:00
Trustin Lee
44498e067f * Improved the detection of chunked encoding
* Fixed broken chunk length parser
2009-02-12 05:16:38 +00:00
Trustin Lee
1243baa05b More robust HTTP message decoding 2009-02-12 05:10:25 +00:00
Trustin Lee
9cdc4a959e Better white space handling in HTTP 2009-02-12 05:02:22 +00:00
Trustin Lee
32738273e0 Related issue: NETTY-116 HTTP issues including chunked request / response patch
* Applied Dave's patch for HttpMessageDecoder
2009-02-12 04:37:48 +00:00
Trustin Lee
1fa791c4a4 Made sure all out-of-the-box encoders and decoders respect the ChannelBufferFactory configuration 2008-12-08 09:02:33 +00:00
Trustin Lee
fe98713cba * Added ChannelBufferFactory and its implementations
* Made sure ChannelBuffer implementations respect the associated ChannelBufferFactory
2008-12-08 08:20:34 +00:00
Trustin Lee
df2f9d9d50 Removed System.out.printlns 2008-12-05 02:05:42 +00:00
Trustin Lee
a30c36d8e2 * APIviz tagging
* Added missing @version tags
2008-12-03 09:00:29 +00:00
Trustin Lee
e213b54b71 Fixed a problem where HttpMessageDecoder doesn't finish decoding immediately when content-length is 0 (or there's no content) 2008-11-30 16:29:35 +00:00
Trustin Lee
d4348ab4d7 Fixed NETTY-86 (HttpResponseDecoder decodes the initial line incorrectly.) 2008-11-30 16:22:03 +00:00
Trustin Lee
8ac3b2905d StringBuffer -> StringBuilder 2008-11-20 08:15:20 +00:00
Trustin Lee
4ac032c657 Merged the HTTP branch into the trunk 2008-11-19 07:22:15 +00:00