Trustin Lee
6aa4d147d8
Adds port to the host header value in WebSocket client handshake.
...
Due to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.23 the port should be added if it differs from the default port. To simplify the code we just always add the port.
Backported from 82176bed76
2013-06-25 11:08:33 +09:00
Jeff Pinner
0ec12dcc60
SPDY: replace exception in SpdyHeaderBlockZlibEncoder with EMPTY_BUFFER
2013-06-25 11:08:33 +09:00
Trustin Lee
e0aabbddf2
Next version will be 3.7.0.Final
2013-06-25 11:08:33 +09:00
Mike Schore
e04df90698
SPDY: better encapsulation of header encoding/decoding
2013-06-25 11:08:26 +09:00
Jeff Pinner
e279803587
SPDY: update object hierarchy
2013-06-18 07:29:48 +09:00
Jeff Pinner
0b4adc0889
SPDY: always enqueue data frames if stream is stalled
2013-06-05 08:52:56 +02:00
Norman Maurer
6e1c5926ee
[ #1384 ] Cache HttpHeaderDateFormat in ThreadLocal
2013-05-27 06:57:15 +02:00
Norman Maurer
97332f6436
[ #1383 ] [ #1381 ] Encode / Decode the cookie expire data the same on all jvms
2013-05-22 14:01:38 +02:00
Norman Maurer
ca51aabc41
[ #1374 ] Allow users to all all subprotocols by using * as wildcard
2013-05-17 22:06:22 +02:00
Norman Maurer
7364317a01
[maven-release-plugin] prepare for next development iteration
2013-05-15 08:04:54 +02:00
Norman Maurer
90e1eb23ea
[maven-release-plugin] prepare release netty-3.6.6.Final
2013-05-15 08:04:43 +02:00
Norman Maurer
fd75994b16
[ #1358 ] Fix Encoding of multipart attribute names and filenames for non ASCII chars
2013-05-14 15:44:25 +02:00
Norman Maurer
1e380851bd
[ #1299 ] Make sure a handshake error will not trigger fireExceptionCaught two times
2013-05-12 13:36:38 +02:00
Norman Maurer
56c34214f8
[ #1338 ] Respect default ByteOrder of ChannelBufferFactory when using ProtoBufEncoder
2013-05-12 13:10:49 +02:00
Norman Maurer
23a919cdcd
[ #1007 ] HttpObjectAggregator should only throw one TooLongFrameException per full HTTP message
2013-05-09 20:03:02 +02:00
Norman Maurer
985b450182
Correctly handle multipart disposition
2013-05-08 21:59:00 +02:00
Frederic Bregier
1615009f5a
[ #1313 ] Fix for Multipart name and value that should not be encoded, except charset if specified
2013-05-08 10:29:28 +02:00
Norman Maurer
60695012ab
[ #1310 ] Fix deadlock which can happen if limit of MemoryAwareThreadPoolExecutor was exceed and an exceptionCaught(..) is triggered by a write
2013-05-06 13:54:25 +02:00
Norman Maurer
960067c78a
[ #1310 ] Fix deadlock which can happen if limit of MemoryAwareThreadPoolExecutor was exceed and a close is triggered by a write
...
* Close must be handled from outside the write lock to fix a possible deadlock
which can happen when MemoryAwareThreadPoolExecutor is used and the limit is exceed
and a close is triggered while the lock is hold. This is because the close(..)
may try to submit a task to handle it via the ExecutorHandler which then deadlocks.
2013-05-06 12:45:13 +02:00
Frederic Bregier
3371f4693b
Fix for #1313 & #1332
...
For issue #1313 , partial fix: enhance coding/deconding to missing part.
Now filename is correctly undecoded. Name and Value must be encoded to
allow parsing.
For issue #1332 , add text/plain to content-type as default type if not
specified.
2013-05-06 07:17:26 +02:00
Jeff Pinner
06756f3cf8
SPDY: SpdyHttpDecoder cleanup and set content length on last message
2013-05-04 19:30:35 +02:00
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