Commit Graph

3065 Commits

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