Commit Graph

1647 Commits

Author SHA1 Message Date
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
Trustin Lee
11a1e9ae39 A preliminary implementation of HttpDecompressionHandler 2009-10-22 11:26:08 +00:00
Trustin Lee
b4d2056f28 Set the 'handshaking' flag before calling beginHandshake() so that any failed handshake attempt can make SslHandler.handshake(Channel) return a failed future immediately. 2009-10-22 10:29:39 +00:00
Trustin Lee
bf3da2d0e3 Fixed compilation error 2009-10-22 10:22:24 +00:00
Trustin Lee
2ac4719fae The asynchronous operations should not throw an exception directly 2009-10-22 10:21:20 +00:00
Trustin Lee
2fea789309 Rephrased the comments on compression handlers 2009-10-21 11:50:16 +00:00
Trustin Lee
6505a4e285 Fail when unsupported flags are set 2009-10-21 11:48:43 +00:00
Trustin Lee
df216c2b67 Fixed wrong byte order in the gzip xlen field 2009-10-21 11:30:55 +00:00
Trustin Lee
1dc34f0bfd Use GZIP in the Factorial example 2009-10-21 11:27:12 +00:00