Commit Graph

1001 Commits

Author SHA1 Message Date
Trustin Lee
b9cd9de5ed Fixed issue: NETTY-176 ByteBufferBackedBuffer.toByteBuffer() and slice() do not respect byte order 2009-06-17 07:57:14 +00:00
Trustin Lee
e04d8e9de1 Javadoc 2009-06-17 06:37:36 +00:00
Trustin Lee
8b5a652883 Javadoc 2009-06-17 05:39:19 +00:00
Trustin Lee
28511fcb9e * Javadoc
* Added EstimatableObjectWrapper and make ChannelEventRunnable implement it to avoid an evil circular dependency
2009-06-17 05:28:53 +00:00
Trustin Lee
73853f1b04 Javadoc 2009-06-17 05:12:18 +00:00
Trustin Lee
1826b88622 Javadoc 2009-06-17 05:09:45 +00:00
Trustin Lee
262fd48e28 Typo 2009-06-17 05:01:09 +00:00
Trustin Lee
10a110c564 Javadoc 2009-06-17 05:00:48 +00:00
Trustin Lee
8943926625 Javadoc 2009-06-17 04:58:25 +00:00
Trustin Lee
373cd52012 Fixed a problem in ChunkedWriteHandler where channelInterestOpsChanged event is not propagated properly 2009-06-16 10:44:03 +00:00
Trustin Lee
4f4cf07760 Removed duplicate file separator replacement 2009-06-16 10:16:36 +00:00
Trustin Lee
51b6e05b0d Added missing return in the example 2009-06-16 10:14:43 +00:00
Trustin Lee
575973863f Added missing exit condition 2009-06-16 10:07:46 +00:00
Trustin Lee
887e0b6de7 Oops wrong variable 2009-06-16 10:06:33 +00:00
Trustin Lee
aec7fe1704 Update offset sooner (Before getting any exceptions) 2009-06-16 10:06:14 +00:00
Trustin Lee
6e4331d9f7 Added a static file web server example 2009-06-16 09:27:46 +00:00
Trustin Lee
e8d42cbc46 Updated author tags and version tags 2009-06-16 08:39:50 +00:00
Trustin Lee
f9c38bb76b * Reorganized HTTP examples (will add file server example later)
* Fixed configuration errors in the HTTP tunneling transport example
2009-06-16 08:35:43 +00:00
Trustin Lee
b19d488312 Related issue: NETTY-175 Large Data Transfer
* Added ChunkedStream
* Moved ChunkedFile.DEFAULT_CHUNK_SIZE to ChunkedStream
2009-06-16 08:21:50 +00:00
Trustin Lee
bba5b7bd42 More validation 2009-06-16 08:09:12 +00:00
Trustin Lee
c2169f2b73 Renamed ChunkStream to ChunkedInput
Renamed ChunkStreamWriteHandler to ChunkedWriteHandler
Renamed FileChunkStream to ChunkedFile
2009-06-16 08:06:00 +00:00
Trustin Lee
c08e7dd397 Issue NETTY-175 - Large data transfer
* Added ChunkStream and FileChunkStream
* Added ChunkStreamWriteHandler
2009-06-16 07:04:20 +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
d76bfe72b5 Fixed issue: NETTY-174 Always use 'ASCII' charset when encoding HTTP messages. 2009-06-15 07:50:53 +00:00
Trustin Lee
e39d8720d2 Applied composite buffer consolidation to NioDatagramWorker too 2009-06-15 07:32:51 +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
e410abed02 Fixed issue: NETTY-173 Do not use Class.isArray() in ReplayingDecoder and FrameDecoder
* Modified FrameDecoder and ReplayingDecoder not to use Class.isArray() anymore.
2009-06-15 07:29:12 +00:00
Trustin Lee
5ae0adbfaa Made sure composite buffer consolidation happens only once by converting CompositeChannelBuffer to an ordinary buffer 2009-06-15 07:26:05 +00:00
Trustin Lee
5fb8e8069b Tiny optimization that makes header addition faster in most cases 2009-06-15 07:06:53 +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
f22f0b2035 CompositeChannelBuffer.toByteBuffer() should return the ByteBuffer with the same order 2009-06-15 06:13:50 +00:00
Daniel Bevenius
40bf0a63f1 Unittest and javadoc. 2009-06-13 11:30:02 +00:00
Trustin Lee
666f57a35e Fixed a bug where a wrong channel is closed on connection failure 2009-06-12 08:42:44 +00:00
Trustin Lee
ad8bb7eaf6 Removed an unnecessary empty line 2009-06-12 08:41:00 +00:00
Trustin Lee
ef40ba7941 Added a proxy example which is asked pretty often 2009-06-12 08:39:04 +00:00
Trustin Lee
7a4f00201a Renamed NioUdpWorker to NioDatagramWork 2009-06-12 02:47:57 +00:00
Trustin Lee
08107683b3 Less memory copy for OIO datagram transport 2009-06-12 02:08:58 +00:00
Trustin Lee
ee3ae043dc Fixed NPE in OioDatagramWorker.writeNow() 2009-06-12 01:52:02 +00:00
Trustin Lee
01d8de26cf Fixed NPE in NioUdpWorker.writeNow() 2009-06-12 01:48:00 +00:00
Trustin Lee
d42ea03799 Fixed incorrect or missing event order in Bootstraps and NIO UDP transport 2009-06-12 01:43:26 +00:00
Trustin Lee
0a5019385c * Added detailed explanation on NETTY-114 (not to forget why I woke up selector again) 2009-06-11 16:47:55 +00:00
Trustin Lee
e9d07c3c2e OioDatagramWorker now honors buffer factory's default byte order 2009-06-11 07:16:10 +00:00
Trustin Lee
8f4e0b524c NioUdpWorker.read() now honors buffer factory's default byte order 2009-06-11 07:14:40 +00:00
Trustin Lee
fa3eb52f4e Fixed NotYetConnectedException on setInterestOps by backporting the fix applied to NioWorker 2009-06-11 07:01:14 +00:00
Trustin Lee
899b16678f * Merged recent changes in the trunk to the NIO UDP transport
* Other miscellaneous modifications like typo fix
2009-06-11 06:10:46 +00:00