Norman Maurer
b98516536e
Introduce the JdkChannel interface and implementation. This will allow
...
us to also share all our nio code in the SCTP implementation.
2012-03-29 17:07:19 +02:00
Norman Maurer
73f3a45e97
Merge pull request #244 from netty/thread_model_refactor
...
Thread model refactoring, which remove the usage of a boss thread. See #240
2012-03-29 05:05:22 -07:00
norman
b145a8a0d4
add some todo and comment a failing test on windows. This test also
...
fails in master branch. See #240
2012-03-29 13:51:40 +02:00
norman
77e1ef72cd
Re-enable ssl tests. See #240
2012-03-29 12:06:00 +02:00
norman
dded63b22c
Make sure we use the same Worker in the client during its lifetime. See
...
#240
2012-03-29 12:02:29 +02:00
Vibul Imtarnasan
30fabea5cd
Merge pull request #241 from veebs/KeepAlive
...
Return "Connection: keep-alive" header in the HTTP response
2012-03-28 22:57:18 -07:00
Norman Maurer
60d9364604
First round of remove the boss-thread. See #240
2012-03-28 20:19:39 +02:00
vibul
64f5299452
Unless the Connection: keep-alive header is present in the HTTP response, apache benchmark (ab) hangs on keep alive connections.
...
This is as per HTTP 1.1 spec: http://www.w3.org/Protocols/HTTP/1.1/draft-ietf-http-v11-spec-01.html#Connection
2012-03-28 15:50:17 +11:00
norman
0c3a33f83b
Add no-args constructor for simple use-cases
2012-03-27 09:29:43 +02:00
Norman Maurer
0082a15899
Fix javadocs warnings
2012-03-26 19:50:39 +03:00
Norman Maurer
2766133a4d
Fix javadocs warnings
2012-03-26 19:50:01 +03:00
Trustin Lee
c28137b0b2
Improve ChannelBufferInputStream documentation
2012-03-26 18:10:16 +09:00
Trustin Lee
a81fa75c59
Fix #239 : IdleStateHandler starts two timers
...
1) ReadTimeoutHandler is also affected by this bug - fixed
2) Reverted IdleStateHandler.beforeAdd() and channelConnected() -
without isAttached() check, timeout can be inaccurate if beforeAdd() is
called long before channelConnected().
2012-03-22 16:03:58 +09:00
Trustin Lee
f8253e031d
Fix #239 : IdleStateHandler starts two timers
...
1) Do not rely on ChannelPipeline.isAttached() to ensure initialize() is
called once.
2) Fix a race condition where initialize() can schedule timeouts after
destroy() is called.
2012-03-22 15:56:43 +09:00
Norman Maurer
32ff810b64
Correctly handle Hixie 76 websocket handshake response. See #222
2012-03-21 19:00:32 +01:00
norman
e8ddc3cf00
remove unnecessary check. See #222
2012-03-20 15:44:59 +01:00
norman
8d9f78c84d
Correctly handle responses with return code of 1xx. See #222
2012-03-20 15:40:34 +01:00
norman
d68b104969
Make sure AbstractNioWorker.setInterestOps(..) will notify the future
...
and the handlers in all cases. See #238
2012-03-20 15:18:33 +01:00
Norman Maurer
6e68577d54
Merge pull request #225 from netty/workerpool
...
Support of sharing a WorkerPool between Factories
2012-03-20 01:44:28 -07:00
norman
fd3d98cf62
Fix UDP Multicast writes. See #237
2012-03-20 09:43:00 +01:00
Norman Maurer
b28ef57705
Merge branch 'master' of ssh://github.com/netty/netty
2012-03-15 14:33:02 +01:00
Norman Maurer
b09bf5b1fb
Tasks added to OrderedMemoryAwareThreadPoolExecutor may be lost in some
...
cases. See #234
2012-03-15 14:31:01 +01:00
Norman Maurer
f938765d6e
Update README.md
2012-03-14 14:33:12 +01:00
Norman Maurer
18c037d88b
Merge pull request #230 from veebs/Issue222Part2
...
Added README
2012-03-14 06:31:46 -07:00
norman
0fb4dc5431
Use java6+ methods
2012-03-12 13:25:19 +01:00
norman
5830e5a7fb
Merge branch 'master' of git@github.com:netty/netty.git
2012-03-12 12:28:27 +01:00
norman
0a6f7395f3
Merge redis codec to master branch. See #201
2012-03-12 12:28:07 +01:00
vibul
91463cad47
Added README
2012-03-12 15:13:41 +11:00
Norman Maurer
cb931bfb92
Correctly handle HTTP Patch. See #227
2012-03-11 11:54:54 +01:00
Norman Maurer
c061ddbf14
Merge pull request #226 from veebs/Issue222Part2
...
Issue #222 part 2 - Removed unnecessary websocket code and retested with Autobahn v0.4.10.
2012-03-10 23:38:08 -08:00
vibul
b56c17769c
Retested Websockets with Autobahn v0.4.10.
2012-03-11 11:35:33 +11:00
vibul
afcd033123
Issue #222 . Remove WebSocketHttpResponseDecoder hack.
2012-03-11 11:35:12 +11:00
Trustin Lee
279d859c7e
Issue #220 - Treat content as non-empty on 101 Web Socket upgrade response
2012-03-09 11:07:26 +09:00
norman
92a907c4d7
Merge branch 'master' of github.com:netty/netty
2012-03-08 08:09:17 +01:00
norman
09b41b28ea
Correctly handle earlier versions of websockets. See #222
2012-03-08 08:08:36 +01:00
Norman Maurer
30ef214677
Make sure ...Decompressor.end() is called even on Exception. See #224
2012-03-07 21:14:48 +01:00
Norman Maurer
59ff76bd66
add javadocs
2012-03-07 17:55:37 +01:00
Norman Maurer
875d5ce513
Allow to force the execution of the Runnable in a async fashion even if
...
the IO-Thread is the current Thread
2012-03-07 17:52:49 +01:00
norman
e207af30a3
Make sure AbstractNioWorker gets started if needed
2012-03-07 15:37:33 +01:00
norman
62028f0042
execute the wrapped Runnable
2012-03-07 14:15:42 +01:00
norman
6375b84c9d
Change Worker.executeInIoThread() to not need a Channel as paramater
2012-03-07 14:13:48 +01:00
norman
e8c64ea593
Make classes public
2012-03-07 13:30:45 +01:00
norman
0b0edea6bc
Make classes public
2012-03-07 13:29:55 +01:00
Trustin Lee
70e0eba894
Replace SpdyHeaderBlockJZlibDecompressor with java.util.zip.Inflater-based one
...
It should be fine because the Inflater-based one uses only JDK 1.5 API
2012-03-07 20:09:05 +09:00
Trustin Lee
2109fdedb6
Fix cherry-pick where git was not very smart
2012-03-07 20:07:12 +09:00
Jeff Pinner
304eee1db4
SPDY: use java.util.zip for header block decompressor
2012-03-07 20:05:25 +09:00
Trustin Lee
cf02ad2a1e
Add DetectionUtil which replaces UnsafeDetectUtil / Improve SpdyHeaderBlockJZlibDecompressor
2012-03-07 19:54:44 +09:00
Norman Maurer
fd7e165fb6
Commit missing file
2012-03-06 20:06:29 +01:00
Norman Maurer
caff7c941b
Checkstyle fixes
2012-03-06 19:31:47 +01:00
Norman Maurer
bc47850bbe
Allow to obtain the Worker that was used to serve the IO of a Channel
2012-03-06 19:26:32 +01:00