Commit Graph

3350 Commits

Author SHA1 Message Date
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
Jeff Pinner
bd54b516b7 SPDY: add SPDY/3.1 support
- with Michael Schore <mschore@twitter.com>
2013-09-26 21:48:58 -07:00
Jeff Pinner
fec0987cca Merge pull request #1866 from jpinner/spdy_uni_dir_settings
SPDY: make MAX_CONCURRENT_STREAMS unidirectional
2013-09-26 09:57:46 -07:00
Jeff Pinner
dcced96bee SPDY: make MAX_CONCURRENT_STREAMS unidirectional 2013-09-25 15:10:15 -07:00
Yuta Okamoto
5a44162c52 Fixes bugs when the backed array's offset is not zero. 2013-09-21 20:19:50 +02:00
Norman Maurer
ca2ee88d19 [#1833] Replace ; with & only in the QueryString and not the whole URI. Also add test-case 2013-09-14 12:28:31 +02:00
Trustin Lee
a2532de2c7 Fix build error 2013-09-13 14:07:57 -07:00
Trustin Lee
34a21d3c35 Add the hello world HTTP server example to compare the performance against Netty 4 2013-09-13 13:53:43 -07:00
bgallagher
a512c099ca fail future before firing exception event 2013-09-09 12:37:26 -07:00
Trustin Lee
df97732483 [maven-release-plugin] prepare for next development iteration 2013-09-05 23:14:49 +09:00
Trustin Lee
5b2cb54bb6 [maven-release-plugin] prepare release netty-3.7.0.Final 2013-09-05 23:14:39 +09:00
Trustin Lee
05ffb0bbe5 Ensure that SelectorUtil is initialized when AbstractNioSelector is initialized
- Related issue: #1701
- The dead lock reported in #1701 is basically because SelectorUtil's logger is initialized in a different thread, so I hope this will fix this specific issue.
2013-09-05 17:38:47 +09:00