Norman Maurer
66af2de8c1
Merge pull request #627 from veebs/3spdy
...
Corrected typo for #626
2012-09-24 05:29:29 -07:00
Veebs
612e6ff9af
Corrected typo
2012-09-24 04:05:46 -07:00
Norman Maurer
c70ea8250c
Add a new handler which is called SpdyHttpResponseStreamIdHandler and takes care of adding the right STREAM_ID if non is present. This makes it possible to reuse http only handlers with spdy. See #626
2012-09-23 22:46:31 +02:00
Norman Maurer
d497ca97ce
Add a new handler which is called SpdyHttpResponseStreamIdHandler and takes care of adding the right STREAM_ID if non is present. This makes it possible to reuse http only handlers with spdy. See #626
2012-09-23 22:42:50 +02:00
Norman Maurer
e6d5e25733
Fix visibility. See #626
2012-09-23 20:18:41 +02:00
Norman Maurer
6355abfde3
Add SpdyOrHttpChooser which handles the setup the ChannelPipeline for SPDY or HTTP (based on the protocol). Users can extend this to make it easier. See #626
2012-09-23 19:53:30 +02:00
Norman Maurer
03ae711b0a
Cleanup imports
2012-09-23 18:29:42 +02:00
Norman Maurer
530b72fad7
Fix IndexOutOfBoundException when using CompositeChannelBuffer and the readerIndex is at the last position and an empty array is passed to read to. See #474
2012-09-22 18:33:33 +02:00
Norman Maurer
ef0ee5f7ba
Add javadocs and cleanup. Part of #613
2012-09-21 20:25:18 +02:00
Norman Maurer
0ee4bbf8e7
Merge pull request #613 from netty/timeout_improvement
...
Use a TimerTask to trigger handling of timeouts, so we can raise the sel...
2012-09-21 08:33:42 -07:00
Norman Maurer
396e2cc458
Merge pull request #621 from losipiuk/3
...
Fix StackOverflowError in ChunkedWriteHandler; issue #620
2012-09-21 07:46:36 -07:00
Lukasz Osipiuk
5362842548
Fix StackOverflowError in ChunkedWriteHandler; issue #620
2012-09-21 14:56:31 +02:00
Norman Maurer
a7d205075b
Merge pull request #618 from stefanmk/patch-2
...
Bug in BufferedWriteHandler fixed
2012-09-19 12:22:36 -07:00
stefanmk
3de2d06971
Update src/main/java/org/jboss/netty/handler/queue/BufferedWriteHandler.java
...
fix bug, flush variable was never reset
2012-09-19 17:50:25 +03:00
Norman Maurer
bd99d0f3e4
Allow to pass in the Timer via constructor and also stop it when the bootstrap was shutdown
2012-09-18 20:44:39 +02:00
Norman Maurer
b1f846b0d7
Use the correct delay to schedule the task and remove not necessary if check
2012-09-18 08:47:31 +02:00
Norman Maurer
68777158a4
Use a TimerTask to trigger handling of timeouts, so we can raise the select timeout again and so solve the problems with heavy context-switches
2012-09-18 08:21:53 +02:00
norman
c3af4427bb
Correctly handle exceptions when doing the handshake. See #593
2012-09-14 14:00:16 +02:00
norman
67f6513183
Cleanup
2012-09-14 13:58:04 +02:00
norman
d82b929e21
Make sure the WebSocketClientHandshaker* work also with non Heap ChannelBuffers. See #602
2012-09-14 13:55:47 +02:00
norman
1ddc19bbca
Include apiviz jar in dist. See #599
2012-09-14 09:51:06 +02:00
norman
07187bccee
Also notify ChannelFuture of PendingWrite when the SSLEngine was closed. See #601
2012-09-14 09:44:54 +02:00
norman
f1e00947a6
Make sure we only create an Iterator during processSelectedKeys(..) if there is really something key to process. This cut down unneeded garbage that needs to get handled by the GC later. See #597
2012-09-13 09:45:55 +02:00
Norman Maurer
79c33bdfc4
Merge pull request #593 from danbev/websocket-enhancements-3.x
...
WebSocket enhancements for 3.x
2012-09-11 03:44:16 -07:00
Daniel Bevenius
aca94691da
Removing @Override annotations.
2012-09-11 12:15:08 +02:00
Daniel Bevenius
7c79d6f7b1
Fixes after feedback from Norman.
2012-09-11 11:01:35 +02:00
Daniel Bevenius
21b9dd00cd
WebSocket enhancements for 3.x
2012-09-11 08:51:15 +02:00
Norman Maurer
051b062530
ClientBoostrap#bind() Javadoc fix. See #588
2012-09-10 05:32:12 +02:00
Norman Maurer
c534864e3f
Remove @Override annotation
2012-09-10 05:21:22 +02:00
Norman Maurer
8f4f6a1f1f
Merge pull request #589 from sprsquish/upgrading-websocket-connections
...
Upgrade connection after completed response
2012-09-09 09:27:25 -07:00
Jeff Smick
324ba369e0
Upgrade connection after completed response
...
Channel handlers above the HttpEncoder may delay the repsonse being
written to the socket. We need to wait for the response to complete
before upgrading the pipeline.
2012-09-09 08:50:31 -07:00
norman
f9afd7d44b
[maven-release-plugin] prepare for next development iteration
2012-09-05 10:03:55 +02:00
norman
2386073bb4
[maven-release-plugin] prepare release netty-3.5.7.Final
netty-3.5.7.Final
2012-09-05 10:03:46 +02:00
norman
3d441821a9
Throw an RejectedExecutionException if someone tries to register a Channel to an AbstractNioWorker that was shutdown before. Part of #582
2012-09-04 07:40:07 +02:00
Norman Maurer
3bdccc633a
Remove @deprecated use of allowShutDownOnIdle in the AbstractNioWorker and AbstractNioWorkerPool implementation. See #583
2012-09-03 21:21:24 +02:00
Norman Maurer
64b9e8fb40
Don't create Selector in a lazy fashion, just create it in the constructor. See #582
2012-09-03 21:14:00 +02:00
norman
378ea8e475
Fix a race which could lead to an exception on windows when try to release resources. See #395
2012-09-03 14:37:55 +02:00
Trustin Lee
1ac9930e39
Fix incorrect Java 7 detection
2012-09-03 16:15:33 +09:00
Trustin Lee
32c58354fa
Add SystemPropertyUtil.refresh() / Remove DebugUtilTest
...
- DebugUtilTest does not pass at all unless a new VM is not launched for
every test method
2012-09-03 16:12:02 +09:00
norman
a61403de53
Calculate the 80% the right way. See #327
2012-09-03 08:58:33 +02:00
Trustin Lee
f87bd9fd81
Split too long lines
2012-09-01 16:51:08 +09:00
Trustin Lee
79371e632c
Fix typo
2012-09-01 16:50:38 +09:00
Trustin Lee
bd3000858d
Move system property parse/access operations to SystemPropertyUtil
2012-09-01 16:49:22 +09:00
Trustin Lee
1369ba55b4
Use class names instead of fields to detect Java version
...
.. because some use patched JDK with backported fields.
2012-09-01 13:09:24 +09:00
Trustin Lee
b28244772c
Remove unused internal classes
2012-09-01 12:59:32 +09:00
Norman Maurer
4759a43c4d
Check if loglevel is enabled before log
2012-08-31 21:59:08 +02:00
Norman Maurer
45829ff721
Disable epoll bug workaround by default. It can be enabled via -Dorg.jboss.netty.epollBugWorkaround=true. It will be enabled by default later if it has proven to be stable. See #327
2012-08-31 21:55:14 +02:00
Norman Maurer
db98b9fe29
Port latest fixes for the epoll(..) workaround. See #327
2012-08-31 12:44:42 +02:00
Norman Maurer
e2464a14a4
Handle CancelledKeyException. See #327
2012-08-31 12:44:17 +02:00
Norman Maurer
fee1492c6b
Address comments of @trustin and @kimchy. See #327
2012-08-31 11:58:59 +02:00