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
Trustin Lee
8b7efa5db4
Fixed wrong byte order in gzip crc32 and isize field
2009-10-21 11:23:52 +00:00
Trustin Lee
05525065b2
Fixed a bug where FNAME and FCOMMENT fields are not decoded correctly
2009-10-21 11:04:32 +00:00
Trustin Lee
e10cc133f5
Fix for compilation error
2009-10-21 10:31:56 +00:00
Trustin Lee
96cb575986
Complete support for DEFLATE based wrappers - zlib, gzip, no wrapper
2009-10-21 10:26:41 +00:00
Trustin Lee
8e6e996392
Added complete GZIP wrapper support to JZlib
2009-10-21 10:06:33 +00:00
Trustin Lee
a5ae29df26
Constant reordering
2009-10-21 09:10:55 +00:00
Trustin Lee
9cab17effe
Preliminary GZIP implementation (no CRC32 and ISIZE checksum yet)
2009-10-21 09:08:38 +00:00
Trustin Lee
1b178477d6
Refactored jzlib to support more wrapper types. zlib is the only wrapper at the moment though
2009-10-21 07:54:47 +00:00
Trustin Lee
96d3726a38
Removed unnecessary memory bandwidth consumption
2009-10-21 07:35:31 +00:00
Trustin Lee
d8119d65fe
Updated the copyright header
2009-10-21 07:31:42 +00:00
Trustin Lee
a7e7d12443
JZlib code cleanup
2009-10-21 07:27:59 +00:00
Trustin Lee
eeb98c5f97
* Forked JZlib to support GZIP format
...
* Added CompressionException to hide ZStreamException
* Better javadoc on compression level
* Better compression level validation
2009-10-21 06:07:26 +00:00
Trustin Lee
57c0600b90
OneToOneDecoder now understands null - improve ZlibDecoder
2009-10-21 05:07:37 +00:00