Commit Graph

3269 Commits

Author SHA1 Message Date
Trustin Lee
099e689338 Make build success with checkstyle violations temporarilly 2012-01-11 20:22:54 +09:00
Trustin Lee
32dda06da3 Fix a compilation error 2012-01-11 20:19:01 +09:00
Trustin Lee
ebfc4513e0 Apply checkstyle to the build
Please note that the build will fail at the moment due to various checkstyle
violations which should be fixed soon
2012-01-11 20:16:14 +09:00
Trustin Lee
c38e6c77c2 Generate all-in-one JAR 2012-01-10 12:48:24 +09:00
Norman Maurer
999343e8cf Fix possible JavaDoc error in QueryStringEncoder. Type mismatch. See
#139
2012-01-08 21:54:31 +01:00
Norman Maurer
7c412848ef Fix NPE which is triggered if the destory method is called
before channelOpen(..). See #143
2012-01-07 19:42:00 +01:00
Trustin Lee
521bf83d0f Issue #141: hashdos security vulnerability in QueryStringDecoder and possibly other components
* Limited maximum number of parameters to 1024 by default and made the
limitation configurable
* QueryStringDecoder is now able to handle an HTTP POST content
2011-12-30 17:58:51 +09:00
Trustin Lee
8663716d38 Issue #60: Make the project multi-module
Split the project into the following modules:
* common
* buffer
* codec
* codec-http
* transport
* transport-*
* handler
* example
* testsuite (integration tests that involve 2+ modules)
* all (does nothing yet, but will make it generate netty.jar)

This commit also fixes the compilation errors with transport-sctp on
non-Linux systems.  It will at least compile without complaints.
2011-12-28 19:44:04 +09:00
Vibul Imtarnasan
8ad4cd0528 Merge pull request #136 from veebs/WsTests
More Web Socket tests from palmerabollo
2011-12-18 13:56:10 -08:00
vibul
0e449ed704 Change test names to web socket wire version 2011-12-19 08:49:51 +11:00
vibul
1323675392 Merge branch 'master' of https://github.com/palmerabollo/netty into WsTests
Conflicts:
	src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker13Test.java
2011-12-19 08:33:42 +11:00
Guido García
8791376d88 Tests for web sockets hybi-00 and hybi-10
Add tests for websockets specifications
draft-ietf-hybi-thewebsocketprotocol-00 and
draft-ietf-hybi-thewebsocketprotocol-10.

Minor changes in javadoc.
2011-12-17 00:39:11 +01:00
norman
7be8d05461 Remove comment 2011-12-16 15:04:15 +01:00
norman
f7be7ba735 HttpPostRequestDecoder should handle "a&b=c" in
application/x-www-form-urlencoded content. See #134
2011-12-16 15:03:09 +01:00
Vibul Imtarnasan
f05b7b0b7e Merge pull request #132 from veebs/WebSocketVersion
Changed tabs to spaces and added some docs for websocket packages.
2011-12-15 03:52:30 -08:00
vibul
c5d21f4cef Some more conversion of tab to spaces and doc update. 2011-12-15 22:42:13 +11:00
vibul
073521d37d Change tabs to spaces. Damn you auto code format! 2011-12-15 22:25:40 +11:00
norman
f977f476cf Use ChannelEventRunnable where possible. #111 2011-12-15 09:41:08 +01:00
norman
b089864650 Add missing classes. See #111 2011-12-15 09:36:46 +01:00
norman
af730c11f9 Merge seda implementation with "generic" Executor. See #111 2011-12-15 09:36:43 +01:00
Trustin Lee
a6f5985ace Do not call setPipelineFactory() unnecessarilly 2011-12-15 17:01:37 +09:00
Trustin Lee
62446827df Fix #129: Memory leak when setOptions() fails while accepting a new connection 2011-12-15 16:38:45 +09:00
Trustin Lee
f779a4415c Do not use ObjectStreamClass.lookupAny() to resolve interfaces
Fixes #130
2011-12-15 16:37:21 +09:00
Vibul Imtarnasan
f38bf74f3e Merge pull request #128 from veebs/WebSocketVersion
Use WebSocketVersion enum rather than string literal
2011-12-14 21:57:41 -08:00
vibul
16bf84dac1 Use WebSocketVersion enum rather than string literal 2011-12-15 16:42:25 +11:00
Vibul Imtarnasan
9978d999e7 Merge pull request #126 from veebs/WebSocketVersion
Use websocket wire protocol version rather than specification version
2011-12-14 21:18:11 -08:00
vibul
812a79fd52 Use websocket wire protocol version rather than specification version 2011-12-15 16:09:09 +11:00
Vibul Imtarnasan
f01d8a4841 Merge pull request #123 from rshelley/master
Added support for custom headers on websocket client connections
2011-12-14 20:14:05 -08:00
Ryan Shelley
7037d995c9 Added support for custom headers to be added to websocket client connections 2011-12-14 19:00:36 -08:00
Vibul Imtarnasan
5398a5274a Merge pull request #121 from veebs/MasterEasyMockTidyUp
Removed compile warnings as displayed in Eclipse
2011-12-14 18:27:52 -08:00
vibul
d9b14a0b37 Removed compile warnings. 2011-12-13 12:20:51 +11:00
Vibul Imtarnasan
8e78bd9db6 Merge pull request #119 from palmerabollo/master
Test WebSocketServerHandshaker17
2011-12-12 17:08:00 -08:00
norman
86d39274c6 Exclude scpt from the build for now until it is moved to an extra
sub-module. See #120
2011-12-12 14:59:34 +01:00
norman
a4bfc4011d Some cleanup and javadocs for the SEDA implementation. Also fixes a bug
in the ExecutionHandler which I introduces while working on SEDA. See
#111
2011-12-12 13:18:27 +01:00
Guido García
4092fd0efc Test WebSocketServerHandshaker17
Tests that the HTTP headers (SEC_WEBSOCKET_ACCEPT,
SEC_WEBSOCKET_PROTOCOL) are ok in this version of the websocket
protocol.
2011-12-12 12:59:52 +01:00
norman
75a6414639 Add FineGrainedSedaExecutor which makes it easy to use different
Executors for different events. The idea is the same is in
SimpleChannelHandler. See #111
2011-12-12 08:41:50 +01:00
norman
b9e869545c Add special subclasses of MemoryAwareThreadPoolExecutor and
OrderedMemoryAwareThreadPoolExecutor which should be used for SEDA
processing. See #111
2011-12-12 08:21:53 +01:00
Jestan Nirojan
34152857ce merged with upstream master 2011-12-11 23:08:47 +05:30
Vibul Imtarnasan
7397bba454 Merge pull request #117 from veebs/WSTidyUp
WebSocket tidy up
2011-12-11 03:07:47 -08:00
vibul
5be24a0943 Improve encoder/decoder "replace" in Web Socket Client handshake. 2011-12-11 21:55:36 +11:00
vibul
dc1655890e Removed io.netty.example.http.websocket because
io.netty.codec.http.websocket has been removed.
2011-12-11 21:13:26 +11:00
vibul
7438a9ac87 Merge remote-tracking branch 'upstream/master' 2011-12-11 21:09:15 +11:00
Vibul Imtarnasan
e4642f557f Merge pull request #115 from ngocdaothanh/master
Use channel instead of context and cleanup unused method argument
2011-12-11 02:07:22 -08:00
Ngoc Dao
5b9aa76efd Fix #116 2011-12-11 20:13:35 +11:00
Ngoc Dao
209ad9278f Use channel instead of context and cleanup unused method argument 2011-12-11 20:13:35 +11:00
Norman Maurer
427b784c6e DefaultChannelPipeline.replace() does not correctly replace a
ChannelHandler if name is preserved. See #113
2011-12-11 09:21:29 +01:00
Ngoc Dao
0f0f7b7fa9 Fix #116 2011-12-11 12:13:20 +09:00
Ngoc Dao
a225fdeea5 Use channel instead of context and cleanup unused method argument 2011-12-11 08:47:07 +09:00
Norman Maurer
5c4702245c Start to add handler for simple SEDA support. This handler supports to
offload upstream and downstream events. The SedaExecutor is responsible
for offload the events to different Executors. See #111
2011-12-10 21:28:18 +01:00
Trustin Lee
c591707592 Attach Javadoc (it really works this time) 2011-12-09 19:05:14 +09:00