Trustin Lee
a77664bf8f
* Fixed compiler warnings
...
* HttpTunnelAddress should have proper hashCode, equals, and compareTo
2009-02-17 07:13:47 +00:00
Andy Taylor
1a96b48026
added ClientSocketChannelFactory to ServletClientSocketChannelFactory constructor
2009-02-16 10:21:44 +00:00
Trustin Lee
4f391f5bbc
ReplayingDecoder should not throw an IllegalStateException even if a decoder implementation returns null when state transition occurred at least.
2009-02-15 12:47:12 +00:00
Trustin Lee
c153fd5bd0
Fixed an infinite recursion in Base64
2009-02-13 10:37:10 +00:00
Trustin Lee
db18337762
* Fixed most Find Bugs warnings
...
* Added UnreplayableOperationException
2009-02-13 10:21:28 +00:00
Trustin Lee
7e8a1cd9c2
Code cleanup
2009-02-13 08:55:06 +00:00
Trustin Lee
431151b8e5
Fixed issue: NETTY-107 - HttpMessageDecoder can not handle the content with no 'Content-Length' header.
2009-02-12 07:32:53 +00:00
Trustin Lee
2d682dc2a3
Fixed NETTY-107 HttpMessageDecoder can not handle the content with no 'Content-Length' header.
...
* Added HttpMessage.getContentLength(int defaultValue)
* Renamed state enum values
2009-02-12 07:17:29 +00:00
Trustin Lee
5faa7e9ea8
Removed unnecessary boxing / unboxing
2009-02-12 07:09:51 +00:00
Trustin Lee
e787378024
US-ASCII -> ASCII
2009-02-12 07:03:35 +00:00
Trustin Lee
912c66b931
Forgot to encode the last chunk correctly
2009-02-12 07:01:26 +00:00
Trustin Lee
2a555082bb
Implemented chunked encoding support for the HTTP encoder
2009-02-12 06:37:22 +00:00
Trustin Lee
602c99c532
Fixed a problem where the last chunk is decoded too early
2009-02-12 06:27:17 +00:00
Trustin Lee
ebe77cef21
Fixed a 'shouldn't reach here' error
2009-02-12 06:26:05 +00:00
Trustin Lee
5ee6da3892
Fixed a bug where HttpRequest message is decoded twice
2009-02-12 06:25:13 +00:00
Trustin Lee
2ac8d11a34
Fixed a problem where DefaultHttpChunk.isLast returns a wrong value
2009-02-12 06:22:06 +00:00
Trustin Lee
44d56d2c1a
Added HttpChunk message for users who want to receive the content chunk by chunk
2009-02-12 06:09:29 +00:00
Trustin Lee
b6c992de8b
More optimistic initial line buffer size
2009-02-12 05:49:19 +00:00
Trustin Lee
a4fe52559b
More robust CR/LF handling in chunked encoding
2009-02-12 05:48:25 +00:00
Trustin Lee
9125ff5616
Fixed more issues related with chunked encoding
2009-02-12 05:41:22 +00:00
Trustin Lee
fb74832dc8
* Removed the usage of unnecessary state variable
...
* Renamed READ_CRLF to READ_END_OF_CHUNK
2009-02-12 05:28:55 +00:00
Trustin Lee
66423e0c1d
More robust chunk size parser
2009-02-12 05:23:39 +00:00
Trustin Lee
44498e067f
* Improved the detection of chunked encoding
...
* Fixed broken chunk length parser
2009-02-12 05:16:38 +00:00
Trustin Lee
01b0beab50
Typo
2009-02-12 05:14:16 +00:00
Trustin Lee
1243baa05b
More robust HTTP message decoding
2009-02-12 05:10:25 +00:00
Trustin Lee
9cdc4a959e
Better white space handling in HTTP
2009-02-12 05:02:22 +00:00
Trustin Lee
0198da7b6c
Related issue: NETTY-116 HTTP issues including chunked request / response patch
...
* Applied Dave's patch for QueryStringDecoder
2009-02-12 04:39:17 +00:00
Trustin Lee
32738273e0
Related issue: NETTY-116 HTTP issues including chunked request / response patch
...
* Applied Dave's patch for HttpMessageDecoder
2009-02-12 04:37:48 +00:00
Trustin Lee
3acbe08eac
Code clean up
2009-02-11 09:24:28 +00:00
Trustin Lee
3f009da453
Resolved issue: NETTY-124 Clean the constants in HttpHeaders
...
* Reorganized HttpHeaders and added a bunch of constants
2009-02-11 08:48:39 +00:00
Trustin Lee
f44d9eced8
Added a TODO item
2009-02-11 06:14:07 +00:00
Trustin Lee
9445fd1b6f
Fixed issue: NETTY-123 couple of errors in ReplayingDecoderBuffer.java
...
* Fixed a problem where ReplayingDecoderBuffer.indexOf ignores the specified parameters
2009-02-09 00:50:41 +00:00
Trustin Lee
874fc7db77
Deprecated ChannelConfig.writeTimeoutMillis in favor of WriteTimeoutHandler
2009-02-05 07:07:02 +00:00
Trustin Lee
eb522dcd56
Reverted back recent changes related with TrafficMonitor
2009-02-05 05:03:34 +00:00
Trustin Lee
acfa2b1ce0
Fixed compilation errors
2009-02-05 04:23:41 +00:00
Trustin Lee
90c4999c74
Removed unnecessary parameters of the convenient methods in org.jboss.netty.channel.Channels and deprecated old ones.
2009-02-02 05:47:20 +00:00
Trustin Lee
5a2491576c
* Introduced a common interface 'ExternalResourceReleasable'
...
* All types that depend on an external resource (e.g. Executor specified in the constructor) implements ExternalResourceReleasable now
* EmbeddedChannelFactory.releaseExternalResources() shouldn't throw an exception.
2009-01-19 05:02:22 +00:00
Trustin Lee
bd403bdb98
Fixed incorrect exception messages
2009-01-07 12:56:11 +00:00
Trustin Lee
5a9d99743d
Sanity check
2009-01-07 12:55:44 +00:00
Trustin Lee
fc2b456b98
Oops - silly mistake
2009-01-07 12:52:53 +00:00
Trustin Lee
3d5a35e45f
Added lengthIncludesLengthFieldLength option
2009-01-07 12:51:20 +00:00
Trustin Lee
e62c9c1aec
Simplified the protobuf example in javadoc using LengthFieldPrepender
2009-01-07 12:48:36 +00:00
Trustin Lee
d1838f4af7
Added ChannelPipelineCoverage annotation to LengthFieldPretender
2009-01-07 04:06:17 +00:00
Trustin Lee
5f15d91c41
Added LengthFieldPrepender to prepend a length field easily
2009-01-07 02:14:12 +00:00
Trustin Lee
8e94c0cd60
Fixed wrong encoder setup in protobuf javadoc
2009-01-07 01:48:49 +00:00
Trustin Lee
75234e4cea
Updated protobuf example in javadoc
2009-01-06 06:01:18 +00:00
Trustin Lee
8bba7ccb5b
Merged LengthPrefixedFrameDecoder into LengthFieldBasedFrameDecoder by introducing initialBytesToStrip option
2009-01-06 05:59:42 +00:00
Trustin Lee
73a6716c4b
Added LengthPrefixedFrameDecoder
2009-01-06 05:47:41 +00:00
Trustin Lee
5d6ef046cd
Removed unnecessary 'else'
2009-01-06 05:32:44 +00:00
Trustin Lee
247251420a
More robust exception handling for incorrect length and too large frames
2009-01-06 05:31:59 +00:00