Cruz Bishop
ec9bcbd553
Removed @version tags and did some documentation
...
Some test classes are now documented
2011-12-01 21:34:25 +10:00
Craig P. Motlin
e84571a5f2
Remove unnecessary semicolons.
2011-11-12 13:14:16 -05:00
Craig P. Motlin
1213dc5ace
Remove unnecessary enum modifier.
2011-11-11 07:53:12 -05: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
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
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
1c6813a06d
Fixed issue: NETTY-337 Multi-line headers truncated
2010-07-07 06:43:34 +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
b210c36ef9
Do not remove 'Content-Length' header even for a message with empty content - HEAD requires that
2010-03-31 02:50:19 +00:00
Trustin Lee
a462d0e85e
Removed volatile from some internal state member variables in decoders because they are always either:
...
1) modified from the same threads or
2) protected by happens-before condition that is met by Executor's internal synchronization constructs
2010-02-19 09:00:00 +00:00
Trustin Lee
4ac906d417
enum -> static enum
2010-01-26 09:55:22 +00:00
Trustin Lee
edfc15424e
Fixed Javadoc error
2010-01-26 09:43:20 +00:00
Trustin Lee
3362114248
* Replaced e-mail addresses into homepage/blog URL anywhere possible
...
* Added Amit to COPYRIGHT.txt
2010-01-26 09:04:19 +00:00
Trustin Lee
d0e886c344
Resolved issues: NETTY-280 Add convenient getters and setters for HTTP headers
...
Resolved issues: NETTY-281 Allow non-string values for HTTP header values
2010-01-26 04:31:54 +00:00
Trustin Lee
44ab3dd94a
HttpMessageDecoder.message doesn't need to be 'protected'
2009-11-21 15:51:21 +00:00
Trustin Lee
8c39e2823e
* HttpMessage.isChunked() checks the 'Transfer-Encoding' header
2009-11-17 07:39:02 +00:00
Trustin Lee
40597002e9
resolved issue: NETTY-250 HttpMessageDecoder violates HTTP/1.0 by converting a message into chunked encoding
...
* HttpMessageDecoder does not add the 'Transfer-Encoding' header anymore
* Added HttpMessage.setChunked()
* The semantic of the HttpMessage.chunked has been changed
2009-11-17 07:19:28 +00:00
Trustin Lee
ce48ab0058
* Changed the semantic of HttpMessage.isChunked()
...
* updated the Javadoc of HttpMessageDecoder
2009-11-17 06:02:42 +00:00
Trustin Lee
4ce65f3621
Resolved issue: NETTY-251 Add support for HTTP trailing headers
...
* Modified HttpMessageDecoder to generate HttpChunkTrailer with trailing headers
* Trailing headers are not merged into HttpMessage anymore for correctness
2009-11-17 05:39:01 +00:00
Trustin Lee
ebb10d3267
Related issue: NETTY-251 Add support for HTTP trailing headers
...
* Added the preliminary support - the trailing headers are simply merged to the HttpMessage. The last chunk type should be added, too.
2009-11-17 04:55:56 +00:00
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