Commit Graph

3256 Commits

Author SHA1 Message Date
Trustin Lee
cd69bd4e2c Backport the pull request #174 to fix #163 2012-02-02 15:52:06 +09:00
Norman Maurer
9c0aa0cf13 FixedLengthFrameDecoder should used a optimizated initialSize when
creating the cumulative ChannelBuffer. See #170
2012-01-31 20:53:46 +01:00
Norman Maurer
02f49af3a1 Allow to @override the cumulative ChannelBuffer creation. See #169 2012-01-31 20:17:09 +01:00
Norman Maurer
5a91bd36c4 Fix small typo 2012-01-31 19:19:10 +01:00
Norman Maurer
28a8bb8b2e Remove StaticChannelPipeline. See #168 2012-01-31 15:50:35 +01:00
Norman Maurer
fda1524953 Remove unused import 2012-01-31 15:45:42 +01:00
Norman Maurer
8c6820be64 Fix possible NPE which will be thrown if the Buffer was set to null and after that Exception was thrown. See #166 2012-01-31 11:10:32 +01:00
Norman Maurer
dbc37c1e19 Merge pull request #162 from ngocdaothanh/master
Fix style check error for UnsafeDetectUtil.java
2012-01-26 06:20:49 -08:00
Ngoc Dao
4396b421f1 Fix style check error for UnsafeDetectUtil.java 2012-01-26 23:01:51 +09:00
Norman Maurer
6c68773ad4 Remove not-needed call of ByteBuffer.clear(). See #161 2012-01-24 20:47:30 +01:00
Norman Maurer
245342d202 Merge pull request #159 from jpinner/zlib_decoder_preset_dict
ZlibDecoder preset dictionary
2012-01-24 08:03:57 -08:00
Jeff Pinner
3822e8b49e Fix #157: ZlibDecoder does not support preset dictionary 2012-01-21 16:11:34 -08:00
Norman Maurer
b96768c9a6 Merge pull request #155 from jrask/android_unsafe_fix
UnsafeDetectUtil checks that the Unsafe class has the field theUnsafe
2012-01-19 12:22:48 -08:00
Johan Rask
fbb1432e8e UnsafeDetectUtil also checks that the Unsafe class has the field theUnsafe to make it work on Android platform. 2012-01-19 16:14:00 +01:00
Trustin Lee
40ef4d2ccf Fix #153: Add ChannelFuture.rethrowIfFailed() 2012-01-19 13:33:37 +09:00
Trustin Lee
c1aa8b4c7b Clean up the new WebSocket package 2012-01-19 13:12:45 +09:00
Trustin Lee
59e5f2f262 Upgrade to netty-build-4 2012-01-17 18:37:15 +09:00
Norman Maurer
3ca0705c59 Merge pull request #152 from zhen9ao/gitignore
ignore .idea folder
2012-01-16 00:50:21 -08:00
zhen9ao
8533edc30d ignore .idea/ folder 2012-01-16 16:01:00 +08:00
Norman Maurer
e9490dcaa4 Merge pull request #151 from zhen9ao/zhen9ao_fix
Fix for issue #149
2012-01-15 22:51:13 -08:00
zhen9ao
2fff088480 fix for issue #149 2012-01-16 12:52:08 +08:00
Trustin Lee
783a7e5f9a Fix all remaining checkstyle violations 2012-01-15 02:08:31 +09:00
Trustin Lee
0007e91923 RXTX -> Rxtx for consistent naming convention 2012-01-15 01:09:17 +09:00
Trustin Lee
b9b2366361 Fix checkstyle violations / Renaming RXTX -> Rxtx 2012-01-15 01:08:00 +09:00
Trustin Lee
a3efcaf043 Add missing package-info.java 2012-01-15 00:44:16 +09:00
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