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
Norman Maurer
63a234ba12
Correctly detect if the Selector.select(..) unblocks because of a manual wakup or because of a closed channel. See #327
2012-08-31 02:23:31 +02:00
Norman Maurer
883af62c92
Correctly set wakeup.compareAndSet(..) before wakeup the Selector. See #578
2012-08-31 00:36:12 +02:00
norman
e18959f836
[maven-release-plugin] prepare for next development iteration
2012-08-30 11:31:29 +02:00
norman
9717b2f62a
[maven-release-plugin] prepare release netty-3.5.6.Final
netty-3.5.6.Final
2012-08-30 11:31:21 +02:00
Trustin Lee
03c85db163
Attach javadoc
2012-08-30 14:50:53 +09:00
Norman Maurer
252b1414bf
Correctly convert to nanos. See #565
2012-08-30 07:25:36 +03:00
Norman Maurer
eddca7583e
Merge branch '3' into jdk_epoll_bug_workaround
...
Conflicts:
src/main/java/org/jboss/netty/channel/socket/nio/SelectorUtil.java
2012-08-29 07:48:59 +02:00
Norman Maurer
49ad538aef
Log on warn level if the selector was recreated and remove multiple calls to SelectionKey.cancel()
2012-08-29 07:43:14 +02:00
Norman Maurer
6bd6be0b09
Fix checkstyle and broken method call. Part of #569 and #572
2012-08-28 18:19:31 +02:00
Norman Maurer
0522c4ffc4
Merge pull request #572 from fredericBregier/3
...
3 - fix for issue #569
2012-08-28 09:08:22 -07:00
Frédéric Brégier
148fc841ac
Second part of fix for issue #569
...
When moving to take into account arrayOffset, it should have been taken into account also in setReadPosition and other places. Fix it now...
Also fix mismatch algorithm between SeekAheadOptimize and not SeekAheadOptimize (standard) versions.
2012-08-28 16:39:47 +03:00
Frédéric Brégier
a3cedc8b47
First part of fix for issue #569
...
When moving to take into account arrayOffset, it should have been taken into account also in setReadPosition and other places. Fix it now...
2012-08-28 16:23:35 +03:00
Norman Maurer
dc56905630
Merge pull request #545 from jaens/3-fix-spdy-compress
...
Do not write compressed SPDY frames out-of-band in another thread
2012-08-28 05:38:58 -07:00
Norman Maurer
e685e535f9
Introduce a new abstract class called OneToOneStrictEncoder which helps to ensure strict ordering. This should be used if that is needed like in the case of ZIP. See ##546
2012-08-28 13:32:38 +02:00
Norman Maurer
dc8ff7e173
Correctly convert to nanos
2012-08-28 13:04:59 +02:00
norman
039c7563cf
Cleanup
2012-08-27 11:21:05 +02:00
norman
292a186d16
Add workaround for epoll bug that cause 100% cpu usage also in the NioClientSocketPipelineSink
2012-08-27 11:12:15 +02:00
norman
db1a72c02e
Handle ClosedChannelException on re-create of the selector
2012-08-27 11:11:34 +02:00
norman
f8a99a0108
Use nanos to detect the jdk epoll bug. Also use 80% of the select timeout to detect it to be more save. Thanks to @kimchy for spot this
2012-08-27 10:20:40 +02:00
Norman Maurer
798390fc4d
Switch to System.nanoTime() to calculate block time of Selector.select(..)
2012-08-26 18:48:50 +02:00
Norman Maurer
8b4f593397
Allow to adjust timeout of Selector.select(timeout) via org.jboss.netty.selectTimeout property. See #568
2012-08-26 09:02:59 +02:00