Commit Graph

2631 Commits

Author SHA1 Message Date
Trustin Lee
d40bd5e7f2 Rename IOStream example / Code cleanup 2012-01-15 00:43:28 +09:00
Trustin Lee
4cff6b56ff Rename HTTP upload example classes for disambiguation 2012-01-15 00:31:02 +09:00
Trustin Lee
b7cfc6b7f0 Rename HTTP snoop example classes for disambiguation 2012-01-15 00:28:25 +09:00
Trustin Lee
1b02743367 Overall code cleanup
* Fixes based on checkstyle feed back
* Simplify WebSocket client example (needs more work)
* Rename Autobahn test server classes
2012-01-15 00:17:20 +09:00
Trustin Lee
36bba6b29d Reverting the previous commit which makes no sense 2012-01-13 20:49:18 +09:00
Trustin Lee
b9386e7be8 Do not count a ChannelDownstreamEventRunnable
* MATPE is only for upstream events.
2012-01-13 20:48:18 +09:00
Trustin Lee
fde6789f41 Cleanup / Modify MATPE to reject a downstream event 2012-01-13 20:35:46 +09:00
Trustin Lee
958ffa50e3 Make ChannelUp/DownstreamEventRunnable non-final / Move the classes in execution.filter to execution 2012-01-13 18:04:06 +09:00
Trustin Lee
303c1b5f79 Overall cleanup / Add lost old jzlib headers 2012-01-13 17:41:18 +09:00
norman
e714ec12b8 Remove close(..) call which gave us troubles with
ClosedChannelException. See #142 and #138
2012-01-11 16:56:31 +01:00
Trustin Lee
26bb9576da Use a separate netty-build release 2012-01-11 21:02:46 +09:00
Trustin Lee
ca4b2ed800 Make netty-build independent from netty-parent
* Also remove a unused file
2012-01-11 20:30:13 +09:00
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