Commit Graph

2777 Commits

Author SHA1 Message Date
Norman Maurer
e3fa9810f8 Fix race 2012-03-30 16:24:08 +03:00
Norman Maurer
732b11e7d5 Fix race 2012-03-30 16:23:10 +03:00
norman
4afd038fc0 Fix race 2012-03-30 15:21:26 +02:00
norman
c3e51af849 Check before casting 2012-03-30 14:29:26 +02:00
norman
a85f22e173 Code cleanup 2012-03-30 11:21:26 +02:00
norman
a60eecaa0c Refactor sctp to share code with nio 2012-03-30 11:07:43 +02:00
Trustin Lee
070c92906d Add missing Redis client example 2012-03-30 17:05:18 +09:00
Trustin Lee
a065b1cee2 Issue #242: Add the ability to send many commands with a single call
Also:
* Code cleanup
* Hide internal constants from a user
2012-03-30 17:03:02 +09:00
Trustin Lee
fd0b0a4e2b Code cleanup 2012-03-30 12:48:28 +09:00
Norman Maurer
6184456689 Fix usage of SctpNotificationHandler. See #245 2012-03-29 18:22:50 +02:00
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