Commit Graph

3411 Commits

Author SHA1 Message Date
Frederic Bregier
b037eda614 Fix try to delete file while it does not exist anymore (see #2102 and #1713) in reference to this issue (3.9) 2014-01-21 14:15:22 +09:00
Trustin Lee
743c035ebb Backport the HttpPostRequestEncoder fixes by @igstan / Inspector warning 2014-01-19 22:29:53 +09:00
Trustin Lee
1012160288 Fix incorrect documentation about thread model
- Fixes #2130
2014-01-19 14:00:32 +09:00
Trustin Lee
ca4eb04dc5 Add README.md 2014-01-16 14:40:07 +09:00
Trustin Lee
2c6be36647 Fix inspector warnings 2014-01-13 23:07:03 +09:00
Trustin Lee
d29e155648 Fix inspector warnings 2014-01-13 22:45:49 +09:00
Trustin Lee
cc842817a1 Fix inspector warnings 2014-01-13 18:18:43 +09:00
wgallagher
4c35b593c1 Fix a bug where SpdyHeaderBlockZlibDecoder fails to decompress
- Fixes #2077
2014-01-13 18:04:01 +09:00
Trustin Lee
2bc252f22b Deprecate specifying an alternative Executor for delegated tasks for SslHandler / Fix a problem where SslHandler consumes too much CPU until the delegated task is finished. 2014-01-09 17:58:51 +09:00
Trustin Lee
013b57f1c1 Fix Java 5 source compatibility issue / Inspector warnings 2014-01-09 15:16:30 +09:00
Trustin Lee
8198f23dbb Fix a regression in SslHandler where delegated tasks run in a different executor makes the session hang
- Fixes #2098
2014-01-09 15:13:31 +09:00
Trustin Lee
fc9a794613 [maven-release-plugin] prepare for next development iteration 2013-12-22 19:45:29 +09:00
Trustin Lee
a06d4dddd5 [maven-release-plugin] prepare release netty-3.9.0.Final 2013-12-22 19:45:19 +09:00
Trustin Lee
f438eb348a Use LinkedHashSet for HttpHeaders.names() and add Javadoc about the performance of names() and entries() 2013-12-22 19:21:07 +09:00
Trustin Lee
7347bfec50 Optimize SslHandler.unwrap() so that it doesn't produce unnecessarily many buffers
- Adapted from 4c7fa950cc
- Related issue: #1905
2013-12-16 21:01:24 +09:00
Frederic Bregier
92bcbcd0e1 Add support for 'charset' property for multipart boundaries
- Fixes #2004
2013-12-16 14:32:34 +09:00
Koen Serry
07f41e8db3 [#1996] Remove bogus jboss-beans.xml 2013-12-14 14:13:15 +01:00
Norman Maurer
2e6c22d272 Merge pull request #2063 from jpinner/spdy_minor_version
SPDY: add SETTINGS_MINOR_VERSION
2013-12-14 05:11:41 -08:00
Jeff Pinner
d4bdcefe17 SPDY: add SETTINGS_MINOR_VERSION 2013-12-13 12:09:45 -08:00
Daniel Norberg
f81b65a0ea empty channel buffer: fix tests
* Add @RunWith annotation to ensure that
  @Theory methods run.

* Assert critical invariants after every test and
  after every out of bounds exception.
2013-12-10 06:58:05 +01:00
Daniel Norberg
8b4152dbe0 channel buffer: bytesBefore bounds checking 2013-12-10 06:58:05 +01:00
Daniel Norberg
d210702b4e channel buffer: fix writerIndex increment bug
Ensure that writeByte(int) does not increment
writerIndex if the write was out of bounds.
2013-12-10 06:58:05 +01:00
Daniel Norberg
fb9aa5fa5c Specialized EMPTY_BUFFER class
EmptyChannelBuffer never writes its indices,
which avoids contention when the EMPTY_BUFFER
singleton is used concurrently.
2013-12-05 08:11:32 +01:00
Norman Maurer
a30be3e73e [#2013] Fix a race which could happen to have the worker Thread interrupted during close(...) when using OIO 2013-12-03 08:07:50 +01:00
Trustin Lee
1fc171b58d [maven-release-plugin] prepare for next development iteration 2013-11-07 18:18:42 +09:00
Trustin Lee
6e67ddeed7 [maven-release-plugin] prepare release netty-3.8.0.Final 2013-11-07 18:18:34 +09:00
Trustin Lee
cdf24a161c Fix some inspector warnings 2013-11-04 17:50:40 +09:00
Frederic Bregier
eadf5b3d10 Split HttpPostRequestDecoder into HttpPostStandardRequestDecoder and HttpPostMultipartRequestDecoder / Add HttpData.maxSize
- Related issues: #1937 #1938 and #1946
- Add InterfaceHttpPostRequestDecoder and Make HttpPostRequestDecoder
  implement it
- HttpPostRequestDecoder actually delegates itself to
  HttpPostStandardRequestDecoder or HttpPostMultipartRequestDecoder
- Deprecate IncompatibleDataDecoderException because it's not thrown
  anywhere now
2013-11-04 17:50:07 +09:00
Trustin Lee
e215f91d8f Fix a bug where ChannelFutureProgressListener.operationProgressed() isn't something invoked
- Fixes #1950
- Use writtenBytes instead of localWrittenBytes so that operationProgressed() is triggered even when write operation was split into multiple system calls.
2013-11-02 20:37:50 +09:00
Norman Maurer
0e3ac74889 [#1959] Include a test-case 2013-10-31 06:26:12 +01:00
Norman Maurer
fb6d301090 [#1959] Proposed fix to correctly handle timeouts that overflow the ticks in the wheel 2013-10-31 06:13:27 +01:00
Trustin Lee
6d436948a7 Make all mutable fields in WebSocketClientHandshaker volatile
- Fixes #1945
2013-10-24 17:37:39 +09:00
Trustin Lee
3b324e9515 More robust pipeline manipulation while upgrading to WebSocket
- This commit allows a user to write its first web socket frame right after calling WebSocketServerHandshaker.handshake() rather than adding a listener to the future it returns.
- Should fix #1933
2013-10-18 19:35:38 +09:00
Trustin Lee
68e3b52a2a Add missing @Deprecated annotations 2013-10-18 17:47:40 +09:00
Jeff Pinner
2e5cbeabc4 Backport HttpHeaders / SpdyHeaders from Netty 4. 2013-10-18 16:18:50 +09:00
Jeff Pinner
f739579339 Merge pull request #1929 from wgallagher/netty3spdybuf
avoid holding onto temporary buffers in SpdyFrameCodec
2013-10-17 11:45:37 -07:00
Bill Gallagher
cb02aa3b61 Merge branch '3' into netty3spdybuf
Conflicts:
	src/main/java/org/jboss/netty/handler/codec/spdy/SpdyHeaderBlockZlibDecoder.java
2013-10-17 14:38:54 -04:00
Bill Gallagher
570e136189 avoid holding onto temporary buffers in SpdyFrameCodec
Conflicts:
	src/main/java/org/jboss/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoder.java
	src/main/java/org/jboss/netty/handler/codec/spdy/SpdyHeaderBlockZlibDecoder.java
2013-10-17 14:18:59 -04:00
Jeff Pinner
a84dacdf0a Merge pull request #1927 from jpinner/spdy_cleanup
SPDY: code cleanup
2013-10-17 08:47:58 -07:00
Trustin Lee
597f40e0d9 Better fix for #1817 - do not close immediately on concurrent closeOutboundAndChannel() 2013-10-18 00:03:13 +09:00
Jeff Pinner
eb84e45e64 SPDY: code cleanup 2013-10-17 07:47:58 -07:00
Trustin Lee
d3c3b1dc89 Fix a dead lock which occurs when multiple threads attempt to close the same SSL connection
- Fixes #1817
2013-10-17 23:41:56 +09:00
Trustin Lee
9278b29ea4 Fix a bug where the warning message is logged in wrong occasion. 2013-10-17 21:22:09 +09:00
Trustin Lee
b2d624a3ba Warn if boss/worker threads are not up within 10 seconds
.. because it is very likely to be a user mistake.

- Fixes #1304
2013-10-17 21:12:03 +09:00
Trustin Lee
cc9c7d1607 Bump the version number to 3.8.0.Final 2013-10-17 20:31:19 +09:00
Jeff Pinner
75b52ac334 SPDY: remove SPDY/2 support 2013-10-17 20:29:05 +09:00
Trustin Lee
525dad5d01 Fix the problem where HashedWheelTimer puts a timeout into an incorrect place
- the stopIndex of a timeout is calculated based on the start time of the worker thread and the current tick count for greater accuracy
2013-10-07 17:17:12 +09:00
Jeff Pinner
49951b27c1 Merge pull request #1871 from jpinner/fix_write_stream_id
SPDY: create partial data frames using writeStreamId
2013-09-27 10:24:26 -07:00
Jeff Pinner
c96f732c9b SPDY: create partial data frames using writeStreamId 2013-09-27 10:12:36 -07:00
Jeff Pinner
a0a6c9ed26 Merge pull request #1867 from jpinner/netty_3_spdy_3_1
SPDY/3.1
2013-09-27 07:45:11 -07:00