Commit Graph

2992 Commits

Author SHA1 Message Date
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 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 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