2510 Commits

Author SHA1 Message Date
Trustin Lee
8a2d8f811d Make ReplayingDecoder.newCumulationBuffer() overridable / Make Replaying|FrameDecoder allocate at least 256 bytes by default 2012-02-29 10:02:20 -08:00
Trustin Lee
ea6ed5cb61 Optimize ReplayingDecoder even further
* If checkpoint is non-zero, do not copy the whole input into cumulation but copy only the part after the checkpoint
2012-02-29 09:41:35 -08:00
Trustin Lee
4df5752669 Fix - SslHandler does not use ChannelBufferFactory to create a new buffer 2012-02-29 09:20:30 -08:00
Trustin Lee
3e03347fee Remove shameful System.out.println 2012-02-28 16:46:49 -08:00
Trustin Lee
6fa3e325fc Remove an unused import 2012-02-28 16:40:04 -08:00
Trustin Lee
1eeb2da736 Optimize FrameDecoder and ReplayingDecoder
* Overall code cleanup on FrameDecoder and ReplayingDecoder
* FrameDecoder discards readableBytes only when it has to
* Replaced createCumulationDynamicBuffer with newCumulationBuffer with
  an additional hint
* ReplayingDecoder does not perform memory copy if possible
2012-02-28 16:30:00 -08:00
Trustin Lee
11f64b46b4 Run tests in random order 2012-02-28 10:35:18 -08:00
Norman Maurer
c33f8a9b91 Add empty line 2012-02-28 16:51:57 +01:00
Norman Maurer
5a97e53f68 Workaround for JDK NIO bug. See 2012-02-28 16:51:57 +01:00
Trustin Lee
1bc988f17c Decreased all selector timeout from 500 ms to 10 ms
See 
2012-02-27 13:02:12 -08:00
Trustin Lee
714ec984dd Fix - Increate the granularity of connect timeout in NIO
* Changed the Selector timeout from 500 to 10 so that the timeout is
* checked every 10 milliseconds
2012-02-27 12:59:00 -08:00
norman
a0f9afb1eb Check if loglevel is enabled before logging 2012-02-27 07:37:59 +01:00
Norman Maurer
3b1b2f0b1d Add OrderedDownstreamThreadPoolExecutor which can be used when using the
new feature of ExecutionHandler to also handle downstream events. This
is mainly useful for SEDA like stuff. See 
2012-02-26 11:04:20 +01:00
Trustin Lee
51dec6013b Fix build failure 2012-02-23 10:07:46 -08:00
Trustin Lee
cac8eb6058 Remove unnecessary plugin definitions from pom.xml 2012-02-23 10:06:46 -08:00
norman
af2f751fa8 Fix compilation issue due to jdk bug in older jdk versions. See 2012-02-21 08:11:05 +01:00
Trustin Lee
b25fed9220 Fix a build problem with m2e 2012-02-20 16:02:07 -08:00
norman
fc16ab2d64 Check if logging level is enabled before log. See 2012-02-17 10:58:03 +01:00
norman
0cc8153aa6 Make sure the 3.2 branch is usable with java5. This changes are based on
the pull request  with a modification to not break the API.
2012-02-16 07:59:15 +01:00
norman
c12717bfed Correctly decode URI in QueryStringDecoder. See 2012-02-15 08:35:53 +01:00
Norman Maurer
26871d2d05 Fix HttpSnoopClient. See 2012-02-12 12:34:18 +01:00
Norman Maurer
5663db690c Remove unused imports 2012-02-11 12:56:16 +01:00
Norman Maurer
b518a24700 Merge pull request from jpinner/spdy_http_layer_3_2
SPDY Protocol HTTP Layer
2012-02-11 03:45:08 -08:00
Jeff Pinner
bbe9e55afa SPDY Protocol HTTP Layer 2012-02-10 12:23:59 -08:00
Trustin Lee
a447fbd18a Use getHeader() instead of getHeaders() 2012-02-07 18:13:33 +09:00
Trustin Lee
6e8e836b2e Fix license headers 2012-02-07 17:40:16 +09:00
Norman Maurer
40f4f118cd Don't require HttpChunkAggregator to be present in pipeline for WS. See
2012-02-04 17:41:07 +01:00
Norman Maurer
50e76e1be5 [maven-release-plugin] prepare for next development iteration 2012-02-04 16:18:32 +01:00
Norman Maurer
08a8239655 [maven-release-plugin] prepare release netty-3.3.1.Final netty-3.3.1.Final 2012-02-04 16:18:19 +01:00
Norman Maurer
447366168f Remove unused imports 2012-02-04 16:05:17 +01:00
Norman Maurer
471269eabe Remove unused imports 2012-02-04 16:03:32 +01:00
Norman Maurer
7344c7d87c Some small code cleanup 2012-02-04 16:02:44 +01:00
Norman Maurer
88ecc388d3 Remove unused imports 2012-02-04 15:56:36 +01:00
Norman Maurer
a3d3e22271 Merge pull request from jpinner/spdy_framing_layer_3_2
Add SPDY Protocol Framing Layer. Thanks Twitter!
2012-02-04 06:47:50 -08:00
Jeff Pinner
3f9e89c17d Merge remote-tracking branch 'upstream/3.2' into spdy_framing_layer_3_2 2012-02-03 16:23:41 -08:00
Jeff Pinner
9fcb4643b1 SPDY Protocol Framing Layer Tests 2012-02-03 16:22:39 -08:00
Norman Maurer
188f01f317 Remove the child Executor with the right method so it will also work
when the channel is not the key.See 
2012-02-03 15:47:34 +01:00
Norman Maurer
01225b0a52 HttpMessageEncoder should add Header "Transfer-Encoding: chunked" if
HttpMessage.isChunked(). See 
2012-02-02 15:18:46 +01:00
Trustin Lee
0ee43f770f Remove a unused field 2012-02-02 16:18:27 +09:00
Trustin Lee
a7d419a481 Merge pull request from jpinner/http_accept_encoding_3_2
Fix : HttpContentCompressor accepts encodings whose qvalue is 0
2012-02-01 22:53:19 -08:00
Trustin Lee
eb81fd9393 Merge pull request from jpinner/jzlib_update_3_2
Fix : HttpContentCompressor consumes too much memory
2012-02-01 22:30:09 -08:00
Jeff Pinner
24baa9a2ac Fix : HttpContentCompressor consumes too much memory 2012-02-01 16:00:10 -08:00
Jeff Pinner
aecce011e8 Fix : HttpContentCompressor accepts encodings whose qvalue is 0 2012-01-31 14:34:21 -08:00
Norman Maurer
4116c44c77 FixedLengthFrameDecoder should used a optimizated initialSize
when creating the cumulative ChannelBuffer. See 
2012-01-31 21:02:00 +01:00
Jeff Pinner
cf8a4d627d SPDY Protocol Framing Layer 2012-01-31 12:00:21 -08:00
Norman Maurer
4d7c9b397d Allow to @override the cumulative ChannelBuffer creation. See 2012-01-31 20:57:23 +01:00
Norman Maurer
edc34c319d Mark StaticChannelPipeline @Deprecated. See 2012-01-31 13:03:53 +01:00
Norman Maurer
3b0f45c93c Fix possible NPE which will be thrown if the Buffer was set to null and
after that Exception was thrown. See 
2012-01-31 11:07:33 +01:00
Norman Maurer
12852a20fb Remove not-needed call of ByteBuffer.clear(). See 2012-01-24 20:39:42 +01:00
Norman Maurer
e4fa180478 Merge pull request from jpinner/zlib_decoder_preset_dict_3_2
ZlibDecoder preset dictionary 3.2
2012-01-24 08:03:45 -08:00