Commit Graph

3081 Commits

Author SHA1 Message Date
Veebs
43d937b39f updated autobahn test instructions 2012-10-29 04:11:02 -07:00
Norman Maurer
b1cfaad9bf Fix NPE which can accour when the Selector is closed but there are still timeout tasks to handle on client mode. The NPE does not have any bad side-effects, but its still ugly. See #685 2012-10-26 11:40:20 +02:00
Norman Maurer
8c2a1d1a64 [maven-release-plugin] prepare for next development iteration 2012-10-25 07:34:09 +02:00
Norman Maurer
dd58ff8bfc [maven-release-plugin] prepare release netty-3.5.9.Final 2012-10-25 07:34:00 +02:00
Trustin Lee
b9429c930f [#679] Netty 3.5.8 breaks app on startup with NPE
- Get system property when requested; do not cache it.
2012-10-24 10:38:23 -07:00
Norman Maurer
99698a5272 Fix NPE when System property os.name does not exist. See #669 and #679 2012-10-24 18:46:56 +02:00
Norman Maurer
e3cf41c9fb Upgrade to apiviz 1.3.2.GA. See #676 2012-10-23 13:20:02 +02:00
Norman Maurer
1e8b7d896a Fix comment 2012-10-17 15:47:21 +02:00
Norman Maurer
9c921b050f Some more optimization in HashedWheelTimer based on the comments of @viktorklang 2012-10-17 15:26:54 +02:00
Trustin Lee
543cb17acd Reduce synchronization overhead in HashedWheelTimer.start/stop() 2012-10-16 13:38:25 -07:00
Norman Maurer
b75ab6171c Only parse the packet length once per encrypted packet. See #658 2012-10-16 14:21:42 +02:00
Norman Maurer
52d64afa2f Fix the detection of encrypted data. See #655 2012-10-16 13:23:18 +02:00
Norman Maurer
0c82f5d2e5 Introduce helper method to detect if a buffer is encrypted. See #657 2012-10-16 13:22:41 +02:00
Norman Maurer
f5969778d0 Explicit close streams 2012-10-16 11:26:04 +02:00
Norman Maurer
e25d68238a Merge pull request #645 from ngocdaothanh/3
Uncomment the following lines if you want HTTPS
2012-10-08 23:09:36 -07:00
Ngoc Dao
fb5e199d9e Uncomment the following lines if you want HTTPS 2012-10-09 14:33:12 +09:00
Ngoc Dao
ae909f5d12 Uncomment the following line if you want HTTPS: add missing imports 2012-10-09 14:30:15 +09:00
Norman Maurer
2056882cfc Fire the IdleStateEvent and also the ReadTimeOutException / WriteTimeOutException from the Worker-Thread. See #641 2012-10-05 20:08:21 +02:00
Norman Maurer
8669732479 Fix checkstyle 2012-10-05 07:16:54 +02:00
Norman Maurer
4bca91786a Merge pull request #637 from losipiuk/3
Call ChunkedWriteHandler.flush() once again if tried when locked.
2012-10-04 02:54:31 -07:00
Norman Maurer
389cdb124f Add a test that I wrote while working on some OOME problem 2012-10-04 11:07:05 +02:00
Norman Maurer
a6e89aa142 Manually GC direct ByteBuffer that is used by the Worker's on releaseExternalResources() to free up memory asap. See #638 2012-10-04 09:02:53 +02:00
Lukasz Osipiuk
20509fb516 Call ChunkedWriteHandler.flush() once again if tried when locked.
Force recursive call of ChunkedWriteHandler.flush() if another thread
tried to call it when lock was held.
Solves problem of lost resumeTransfer() call.
2012-10-02 15:17:23 +02:00
Norman Maurer
6ca523a754 Merge pull request #631 from ngocdaothanh/3
Add CORS headers
2012-10-01 21:48:37 -07:00
Norman Maurer
4dc4664692 Fix year in header 2012-10-01 06:59:13 +02:00
Norman Maurer
8f4c583e40 Fix NPE in MemoryAwareThreadPoolExecutor and also add a testcase. See #634 2012-10-01 06:57:12 +02:00
Norman Maurer
04dc94575d [maven-release-plugin] prepare for next development iteration 2012-09-29 09:25:53 +02:00
Norman Maurer
84feb9f2e9 [maven-release-plugin] prepare release netty-3.5.8.Final 2012-09-29 09:25:45 +02:00
Ngoc Dao
605bbac15c Sort header names 2012-09-28 19:25:27 +09:00
Ngoc Dao
8c694b3bfb Add CORS headers
http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
https://developer.mozilla.org/en-US/docs/HTTP_access_control
2012-09-28 17:10:54 +09:00
Norman Maurer
da1f20915d [maven-release-plugin] prepare for next development iteration 2012-09-25 19:51:32 +02:00
Norman Maurer
fa2b018a24 [maven-release-plugin] prepare release netty-3.5.8.Final 2012-09-25 19:51:10 +02:00
Norman Maurer
2689b055fd Fix checkstyle 2012-09-25 18:18:48 +02:00
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