Commit Graph

1905 Commits

Author SHA1 Message Date
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
Trustin Lee
20798ee429 This test case cannot reproduce the problem - removing 2009-10-27 04:11:43 +00:00
Trustin Lee
72a35e3e24 A workaround for 100% CPU consumption issue in NIO selectors, suggested by David M. Lloyd 2009-10-27 03:27:32 +00:00
Trustin Lee
d0890c1af0 Wrong author 2009-10-27 01:18:45 +00:00
Trustin Lee
c079291012 Added a test case that makes sure the workaround for the 'spinning selector' bug works. 2009-10-27 01:18:17 +00:00
Trustin Lee
52221931d5 A workaround for 100% CPU consumption issue in NIO selectors, suggested by David M. Lloyd 2009-10-26 16:41:56 +00:00
Trustin Lee
dabea9dfff Update the example to utilize the new HttpDecompressionHandler 2009-10-22 11:28:38 +00:00