Commit Graph

3167 Commits

Author SHA1 Message Date
Jeff Pinner
79648026ff SPDY: refactor SpdyHttpDecoder to allow subclasses to access messageMap 2013-05-03 20:44:57 +02:00
Norman Maurer
a00f9f0b70 [#1322] Correctly handle the removal of Transfer-Encoding: chunked in HttpChunkAggregator 2013-04-30 20:54:07 +02:00
Trustin Lee
b21b8aef2f Add TCP_NODELAY flag to HttpSnoopServer example 2013-04-25 09:30:32 +09:00
Trustin Lee
e9c5f4fa9a Add more safe-to-ignore exception messages for SslHandler
... which covers the 'Software caused connection abort: recv failed' from Windows and UDT channels
2013-04-24 18:07:21 +09:00
Trustin Lee
79301c650c Fix incorrect name validation in AbstractHttpData
- Fixes #1228
2013-04-23 19:26:50 +09:00
Trustin Lee
16113779c5 Fix a bug where LineBasedFrameDecoder does not handle too long lines correctly
- Related: #1287
2013-04-19 12:48:09 +09:00
Dao Ngoc
babc2b23a1 sendUnsupportedWebSocketVersionResponse should return ChannelFuture 2013-04-16 17:37:30 +09:00
Trustin Lee
ba7b7e785e Fix typo in documentation 2013-04-15 20:18:55 +09:00
Trustin Lee
44027aebbc Better exception message when tickDuration is too big
- Related: #1246
- Fix misc inspector warnings
2013-04-10 13:44:05 +09:00
Norman Maurer
524007efe0 [maven-release-plugin] prepare for next development iteration 2013-04-09 10:18:55 +02:00
Norman Maurer
1ad09202c9 [maven-release-plugin] prepare release netty-3.6.5.Final 2013-04-09 10:18:47 +02:00
Norman Maurer
c9f4bb41ac [#1246] Correctly convert to nanos 2013-04-08 10:26:48 +02:00
Norman Maurer
71362beff1 [#1246] Fix cpu-spinning regression in HashedWheelTimer
Also remove the usage of System.currentTimeMillis() completely here to make it more consistent and correct
2013-04-08 07:13:52 +02:00
Trustin Lee
8ded23fba5 Fix a bug in AbstractTrafficShapingHandler.getTimeToWait() where it doesn't work OK when system time goes back. 2013-04-05 13:44:51 +09:00
Trustin Lee
08ec96e4f4 [maven-release-plugin] prepare for next development iteration 2013-04-05 09:21:17 +09:00
Trustin Lee
06418640a1 [maven-release-plugin] prepare release netty-3.6.4.Final 2013-04-05 09:21:05 +09:00
Trustin Lee
a723a1d7df Potential fix for SslHandler dead lock
- Related with: #1181
2013-04-02 12:56:32 +09:00
Prajwal Tuladhar
9d2ceb82c6 upgrade to maven 3.0.5
As Netty is using its own CI now
2013-03-28 22:04:33 +01:00
Norman Maurer
bad316b05f [#1036] Use special ConnectTimeoutException if a connection timeout happens while using NIO. Not use it for OIO as it may would break users app that detect SocketTimeoutException here 2013-03-27 12:28:02 +01:00
Norman Maurer
04334dbefb [#744] Add test which I missed to commit before 2013-03-27 12:04:15 +01:00
Norman Maurer
cb13e78342 [#744] Port fixes from Akka to HashedWheelTimer
port fix from Akka with following commits:
* cb4e3536b0
* 7e590f3071

And also use constants for worker state for time instead of numeric.
2013-03-27 11:51:43 +01:00
Norman Maurer
982c3ee9ee [#1143] Also stop timer when call releaseExternalResources() 2013-03-27 09:33:46 +01:00
Norman Maurer
bce398819a [#1120] Make sure releaseExternal() can not cause a deadlock if the ExecutorService is shared 2013-03-27 09:30:25 +01:00
Henning Schmiedehausen
7013315fd4 Allow ThreadNameDeterminer everywhere.
Find a couple of places where threads are created but no
ThreadNameDeterminer can be passed in to control the name of the
threads created. Keep all existing c'tors for backwards compatibility.
2013-03-19 17:14:27 +09:00
Trustin Lee
bea6f57011 Add some diagnostic messages to track down why IpFilterRuleTest fails intermittently 2013-03-18 17:36:09 +09:00
Trustin Lee
2f811b723e Fix indentation 2013-03-18 13:32:35 +09:00
Trustin Lee
6a94a086f6 Fix inspector warnings 2013-03-18 13:14:29 +09:00
ursa
32a783cf1b Fix bug in memory-based HTTP data content initialization with input stream, add test.
- Fixes #1169
2013-03-18 13:13:29 +09:00
Trustin Lee
a8b6756554 Ignore a non-deterministic test in SslHandlerTest
- Sometimes, random can generate a seemingly legit SSL record.
2013-03-18 11:15:01 +09:00
Trustin Lee
ecb134b0dc Fix sporadic failure in ThreadRenamingRunnableTest
- Make sure the ThreadNameDeterminer is reset to the default after each test to avoid the side effect between tests
2013-03-16 18:12:13 +09:00
Norman Maurer
33c988b129 [#1159] Make sure we not produce an empty buffer on decodeLast(..) 2013-03-14 13:42:08 +01:00
ursa
afdac5611e Fix life-cycle aware handlers processing in the default pipeline, add tests. 2013-03-14 11:19:34 +01:00
Jared Kuolt
ed6b3b5d0e Fix for issue when a worker pool Executor with N threads where N is < than SelectorUtil.DEFAULT_IO_THREADS is passed into NioServerSocketChannelFactory constructor. 2013-03-14 11:15:21 +01:00
Trustin Lee
45f937f62b Use switch-case 2013-03-14 18:12:59 +09:00
Trustin Lee
def55f5358 Fix an infinite loop in SslHandler due to mysterious BUFFER_OVERFLOW state
- Fixes #1134
2013-03-14 18:12:12 +09:00
Trustin Lee
067a0a8a78 Fix checkstyle 2013-03-13 17:07:47 +09:00
hepin1989
f7f6e69bb6 add support for protobuf 2.5.0 2013-03-13 16:43:36 +09:00
Trustin Lee
a49c1047f5 Travis CI branch whitelisting 2013-03-11 09:54:35 +09:00
Trustin Lee
638ca52337 Add Travis CI configuration 2013-03-11 09:47:57 +09:00
Trustin Lee
ec012c0f81 Require Maven 3.0.4 2013-03-11 09:41:13 +09:00
Trustin Lee
5d0d309f98 Fix intermittent test failure in UnsupportedMessageTest 2013-03-04 16:18:02 +09:00
Trustin Lee
16a9dc6224 Fix potential resource leak in SslHandler (part 2)
- Fix a non-sense check
2013-03-04 16:01:03 +09:00
Trustin Lee
e15ca4947e Fix potential resource leak in SslHandler
- Fixes: #1116
2013-03-04 14:41:27 +09:00
Norman Maurer
c4f372b111 [#1097] Make sure the HashedWheelTimer is also stopped on shutdown() 2013-02-27 15:41:20 +01:00
Trustin Lee
b796e5d919 Require Maven 3.0.5 which fixes security issues in the previous versions 2013-02-23 21:11:40 -08:00
Trustin Lee
a5188b9d25 Tell what the remote address was when ConnectException occurs.
- Fixes #1082
2013-02-22 13:29:35 -08:00
Norman Maurer
6ed2a5d82d [maven-release-plugin] prepare for next development iteration 2013-02-21 14:31:08 +01:00
Norman Maurer
d70e3c1561 [maven-release-plugin] prepare release netty-3.6.3.Final 2013-02-21 14:30:57 +01:00
Norman Maurer
cf61cc4a0a [#989] Fix possible deeadlock on close in SslHandler 2013-02-13 09:43:39 +01:00
Trustin Lee
984276355c Use InternalLogger in our code / Use jul in examples 2013-02-11 20:37:31 +09:00