Commit Graph

1661 Commits

Author SHA1 Message Date
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
e81d0e5414 Related issue: NETTY-251 Add support for HTTP trailing headers
* Added DefaultHttpChunkTrailer
* Moved header validation logic to HttpCodecUtil
2009-11-17 05:27:20 +00:00
Trustin Lee
e0ea707e92 Related issue: NETTY-251 Add support for HTTP trailing headers
* Added HttpChunkTrailer interface - need to write the default implementation
* HttpChunk.LAST_CHUNK implements HttpChunkTrailer
2009-11-17 05:12:55 +00:00
Trustin Lee
960bbe3879 Typo 2009-11-17 04:59:33 +00:00
Trustin Lee
e12d04da74 Optimized HttpChunk.LAST_CHUNK 2009-11-17 04:58:49 +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
2e47058fc7 typo 2009-11-17 04:16:24 +00:00
Trustin Lee
6075c50cf7 Resolved issue: NETTY-252 Remove the deprecated types and methods 2009-11-17 03:30:46 +00:00
Trustin Lee
74bbc819b9 Updated the dependencies and build plugins to the latest version except for XNIO, which needs additional work 2009-11-16 14:55:52 +00:00
Trustin Lee
eaa5da5aeb [maven-release-plugin] prepare for next development iteration 2009-11-16 11:51:07 +00:00
Trustin Lee
32a0bed729 [maven-release-plugin] prepare release netty-3.2.0.ALPHA1 2009-11-16 11:50:17 +00:00
Trustin Lee
9c5a14b0c2 Should close the channel explicitly on connection attempt failure 2009-11-16 05:21:51 +00:00
Trustin Lee
f8aea1547e * Removed the calls to SelectionKey.cancel() which takes places before calling Channel.close(), according to SelectableChannel Javadoc
* Fixed a bug where connect future is not notified if the channel is closed during the connection attempt
2009-11-16 05:14:36 +00:00
Trustin Lee
1f2d65ce54 Added missing annotation 2009-11-11 04:22:28 +00:00
Trustin Lee
464ea90492 Fixed some non-sense code as advised by FindBugs 2009-11-03 07:44:06 +00:00
Trustin Lee
ed3500373f Improved Javadoc 2009-11-03 07:11:52 +00:00
Trustin Lee
b3e938924c tlee@redhat.com -> trustin@gmail.com 2009-11-03 06:49:47 +00:00
Trustin Lee
e0132d5885 Updated the HTTP snoop example to fully utilize the compression handlers 2009-11-03 06:48:39 +00:00
Trustin Lee
b31f1429b6 * Better method naming
* Added HttpContentEncoder and HttpContentCompressor (needs javadoc update)
2009-11-03 06:47:30 +00:00
Trustin Lee
6e51084216 Changed constructor parameter order 2009-11-03 06:46:30 +00:00
Trustin Lee
26cdadda9e Simplified HttpContentDecoder using the new methods in CodecEmbedder 2009-11-03 02:59:18 +00:00
Trustin Lee
5eb56831e8 Optimized CompositeChannelBuffer creation 2009-11-03 02:34:54 +00:00
Trustin Lee
ec80daae01 Better pollAll implementation 2009-11-02 12:03:14 +00:00
Trustin Lee
6cb1a504fb Resolved issue: NETTY-245 More convenience methods in CodecEmbedder
* Added CodecEmbedder.size()
* Added CodecEmbedder.pollAll()
2009-11-02 12:01:19 +00:00
Trustin Lee
bc6b84e58b Added HttpContentDecoder.getTargetEncoding 2009-11-02 09:58:30 +00:00
Trustin Lee
d450f0a228 Renamed beginDecode() to newDecoder() 2009-11-02 09:35:33 +00:00
Trustin Lee
cdf1474059 * Slight code clean up
* Raised the default cancelled key clean up interval from 128 to 256
2009-11-02 09:21:41 +00:00
Trustin Lee
b105461383 Split HttpDecompressionHandler into HttpContentDecoder and HttpContentDecompressor 2009-11-02 09:21:13 +00:00
Trustin Lee
f0e766dcb3 Updated the QOTM example so that people do not ask questions about truncated packets 2009-11-02 06:38:53 +00:00
Trustin Lee
e92e10d6b0 Updated the QOTM example so that people do not ask questions about truncated packets 2009-11-02 06:34:16 +00:00
Trustin Lee
42c9242286 Resolved issue: NETTY-244 ReceiveBufferSizePredictorFactory
* Added ReceiveBufferSizePredictorFactory
* Added AdaptiveReceiveBufferSizePredictorFactory
* Added FixedReceiveBufferSizePredictorFactory
* Added get/setReceiveBufferSizePredictorFactory() to all related ChannelConfig interfaces and implementations
* More accurate documentation on the default predictors
* the default predictors are null internally and created lazily on demand to reduce footprint
2009-11-02 06:30:10 +00:00
Trustin Lee
f7bf2932d9 Wrong pointer - those tables were moved to ChannelEvent 2009-10-30 08:02:53 +00:00
Trustin Lee
a3c2efaff1 Wrong pointer - those tables were moved to ChannelEvent 2009-10-30 08:00:44 +00:00
Trustin Lee
075229ab10 Better Javadoc for beginners 2009-10-30 07:51:33 +00:00
Trustin Lee
0f8ae7923d Typo 2009-10-30 06:38:55 +00:00
Trustin Lee
d0f67f97fc Fixed unmatching quote in the hyperlink tag 2009-10-30 00:04:48 +00:00
Trustin Lee
db823d9041 Set 'Content-Encoding' to 'identity' if necessary 2009-10-28 00:42:29 +00:00
Trustin Lee
bf1fc6bc23 Added a FIXME as a reminder for API redesign 2009-10-27 12:03:47 +00:00
Trustin Lee
988089ed10 tab -> spaces 2009-10-27 09:54:00 +00:00
Trustin Lee
e06ab750cb Secondary fix for the file descriptor starvation problem 2009-10-27 09:27:54 +00:00
Trustin Lee
692c278cf9 Comments 2009-10-27 09:04:42 +00:00
Trustin Lee
4ec06f7c78 Fixed ConcurrentModificationException 2009-10-27 09:03:53 +00:00
Trustin Lee
2663f85936 Removed unnecessary conditional statement 2009-10-27 08:49:13 +00:00
Trustin Lee
698f8d54eb Applied the same fix for 'too many open files' to NioDatagramWorker 2009-10-27 07:22:33 +00:00
Trustin Lee
7f05275305 The thread that calls NioWorker.close() might not be in the selector loop 2009-10-27 06:20:45 +00:00
Trustin Lee
ff6cf1787e * Fixed failing shutdown time test 2009-10-27 06:11:47 +00:00
Trustin Lee
5edf0242e8 Removed unncessary parenthesis 2009-10-27 06:02:39 +00:00
Trustin Lee
f4a71f92ce Preliminary fix for the file descriptor starvation problem 2009-10-27 06:01:13 +00:00