Trustin Lee
eca6033456
Updated author information. I want to get messages about Netty in my gmail account.
2009-10-14 05:46:40 +00:00
Trustin Lee
3179d8094e
Fixed issue: NETTY-226 IndexOutOfBoundsException on empty HTTP header value.
...
* Skipped substring operation for an HTTP header value if there's nothing after a colon (:).
2009-09-10 10:34:49 +00:00
Trustin Lee
b67688fd0f
Fixed documentation error
2009-09-07 03:27:26 +00:00
Trustin Lee
b11ef6ca9b
Relicensed to Apache License v2
2009-08-28 07:15:49 +00:00
Trustin Lee
f15db3a65e
Updated APIviz tags and improved Javadoc of the HTTP codec
2009-07-20 03:37:35 +00:00
Trustin Lee
caf0a97ba3
Fixed license headers
2009-06-19 17:48:17 +00:00
Trustin Lee
54dd31c449
Javadoc
2009-06-19 16:45:30 +00:00
Trustin Lee
6058cf3981
Javadoc
2009-06-19 15:35:19 +00:00
Trustin Lee
ee8ffec265
Optimized HttpMessageDecoder.readHeader()
2009-06-15 09:06:56 +00:00
Trustin Lee
bda2f0a852
Fixed incorrect state management for HTTP header size
2009-06-15 08:45:39 +00:00
Trustin Lee
aeb7903be8
Fixed a mistake during optimization
2009-06-15 08:35:24 +00:00
Trustin Lee
12acb2cf09
Fixed a NPE in HttpMessageDecoder.readHeaders() on a particular malformed header
2009-06-15 08:13:52 +00:00
Trustin Lee
f059f91ff4
Code simplification / optimization
2009-06-15 08:05:27 +00:00
Trustin Lee
160866e1a0
HttpMessageDecoder does not use regular expressions to decode the initial line and headers anymore so that it performs better
2009-06-15 07:30:07 +00:00
Trustin Lee
8debedf6b6
Removed the slow Class.isArray() call by returning Object[] instead of HttpChunk[]
2009-06-15 06:33:30 +00:00
Trustin Lee
a979433f91
Tiny optimization in HttpMessageDecoder.readHeaders()
2009-06-15 06:29:45 +00:00
Trustin Lee
02ba3b553a
Removed an unnecessary empty line
2009-06-04 06:01:08 +00:00
Trustin Lee
3c79744064
Fixed issue: NETTY-151 HTTP Content-Length
...
* HttpMessage.getLength() now returns a long integer
2009-05-08 12:45:10 +00:00
Trustin Lee
4a27c83c04
Removed code duplication
2009-03-30 02:19:11 +00:00
Trustin Lee
c6b707c442
Fixed issue: NETTY-137 HttpChunkAggregator should not wait for content when the response status code implies empty content.
...
* Applied the same fix to HttpMessageDecoder
2009-03-30 02:14:11 +00:00
Trustin Lee
e523b8ec0f
Added default constructors with sensible default values
2009-03-10 08:57:02 +00:00
Trustin Lee
23a73f20d6
Fixed a bug where HttpMessage's content becomes an EMPTY_BUFFER after messageReceive event is already fired to process chunked encoding
2009-03-10 08:37:45 +00:00
Trustin Lee
a5ebbfb111
* all limit parameters are mandatory to create HTTP decoders now for better security
...
* chunks are not merged anymore for better security
* modified HTTP client example to handle HTTP chunks
2009-03-10 07:53:15 +00:00
Trustin Lee
4a72aafd56
Resolved issue: NETTY-133 Limit the length of HTTP header lines.
...
* Added maxHeaderSize option
* Added maxInitialLineLength option
* Overall HTTP code cleanup
2009-03-10 07:20:27 +00:00
Trustin Lee
832ed0c198
Fixed NETTY-130 (Chunked encoding emulation for a large non-chunked HTTP request)
...
* Replaced mergeChunks option with maxChunkSize
* if maxChunkSize is greater than 0 and any content or chunk larger than maxChunkSize is received, it's split into multiple chunks as if a chunked request is received.
* Added unfold option to FrameDecoder and ReplayingDecoder
2009-03-09 08:50:24 +00:00
Trustin Lee
1781e0e1dd
Fixed find bugs warnings
2009-03-04 14:15:59 +00:00
Trustin Lee
4979cb6a21
A little bit of code clean up
2009-03-04 13:50:19 +00:00
Trustin Lee
6200d39bdd
Reverted the unnecessary changes related with shutting FindBug up
2009-02-26 09:08:34 +00:00
Andy Taylor
fea082e689
fixed cookie support
2009-02-17 17:13:13 +00:00
Andy Taylor
1a96b48026
added ClientSocketChannelFactory to ServletClientSocketChannelFactory constructor
2009-02-16 10:21:44 +00:00
Trustin Lee
db18337762
* Fixed most Find Bugs warnings
...
* Added UnreplayableOperationException
2009-02-13 10:21:28 +00:00
Trustin Lee
7e8a1cd9c2
Code cleanup
2009-02-13 08:55:06 +00:00
Trustin Lee
431151b8e5
Fixed issue: NETTY-107 - HttpMessageDecoder can not handle the content with no 'Content-Length' header.
2009-02-12 07:32:53 +00:00
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