netty

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge remote branch 'upstream/master'

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.

    • -703
    • +0
    ./buffer/AbstractChannelBuffer.java
    • -61
    • +0
    ./buffer/AbstractChannelBufferFactory.java
    • -140
    • +0
    ./buffer/BigEndianHeapChannelBuffer.java
    • -363
    • +0
    ./buffer/ByteBufferBackedChannelBuffer.java
    • -104
    • +0
    ./buffer/ChannelBufferFactory.java
    • -147
    • +0
    ./buffer/ChannelBufferIndexFinder.java
    • -243
    • +0
    ./buffer/ChannelBufferInputStream.java
    • -146
    • +0
    ./buffer/ChannelBufferOutputStream.java
    • -700
    • +0
    ./buffer/CompositeChannelBuffer.java
    • -200
    • +0
    ./buffer/DirectChannelBufferFactory.java
    • -212
    • +0
    ./buffer/DuplicatedChannelBuffer.java
    • -321
    • +0
    ./buffer/DynamicChannelBuffer.java
  1. … 1505 more files in changeset.
Merge branch 'master' of https://github.com/palmerabollo/netty into WsTests

Conflicts:

src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker13Test.java

  1. … 1 more file in changeset.
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.

  1. … 3 more files in changeset.
Remove comment

HttpPostRequestDecoder should handle "a&b=c" in application/x-www-form-urlencoded content. See #134

Some more conversion of tab to spaces and doc update.

  1. … 1 more file in changeset.
Change tabs to spaces. Damn you auto code format!

    • -93
    • +93
    ./example/http/websocketx/client/App.java
    • -20
    • +20
    ./example/http/websocketx/client/WebSocketClient.java
    • -19
    • +16
    ./example/http/websocketx/server/WebSocketServer.java
  1. … 33 more files in changeset.
Use ChannelEventRunnable where possible. #111

    • -2
    • +2
    ./handler/execution/OrderedMemoryAwareThreadPoolExecutor.java
Add missing classes. See #111

    • -0
    • +83
    ./handler/execution/ChainedExecutor.java
    • -0
    • +32
    ./handler/execution/filter/ChannelDownstreamEventRunnableFilter.java
    • -0
    • +33
    ./handler/execution/filter/ChannelUpstreamEventRunnableFilter.java
Merge seda implementation with "generic" Executor. See #111

    • -0
    • +47
    ./handler/execution/ChannelUpstreamEventRunnable.java
    • -4
    • +16
    ./handler/execution/ExecutionHandler.java
    • -11
    • +11
    ./handler/execution/MemoryAwareThreadPoolExecutor.java
    • -2
    • +2
    ./handler/execution/OrderedMemoryAwareThreadPoolExecutor.java
    • -65
    • +0
    ./handler/execution/seda/SedaExecutor.java
    • -58
    • +0
    ./handler/execution/seda/SedaHandler.java
    • -75
    • +0
    ./handler/execution/seda/SedaOrderedMemoryAwareThreadPoolExecutor.java
Do not call setPipelineFactory() unnecessarilly

    • -2
    • +0
    ./bootstrap/ConnectionlessBootstrap.java
Fix #129: Memory leak when setOptions() fails while accepting a new connection

    • -3
    • +20
    ./bootstrap/ConnectionlessBootstrap.java
Do not use ObjectStreamClass.lookupAny() to resolve interfaces

Fixes #130

Use WebSocketVersion enum rather than string literal

Use websocket wire protocol version rather than specification version

    • -9
    • +9
    ./example/http/websocketx/client/App.java
    • -30
    • +20
    ./example/http/websocketx/client/WebSocketClient.java
  1. … 37 more files in changeset.
Added support for custom headers to be added to websocket client connections

Some cleanup and javadocs for the SEDA implementation. Also fixes a bug in the ExecutionHandler which I introduces while working on SEDA. See #111

    • -4
    • +7
    ./handler/execution/ExecutionHandler.java
    • -2
    • +13
    ./handler/execution/seda/SedaHandler.java
    • -0
    • +16
    ./handler/execution/seda/SedaOrderedMemoryAwareThreadPoolExecutor.java
Add FineGrainedSedaExecutor which makes it easy to use different Executors for different events. The idea is the same is in SimpleChannelHandler. See #111

    • -0
    • +289
    ./handler/execution/seda/FineGrainedSedaExecutor.java
Add special subclasses of MemoryAwareThreadPoolExecutor and OrderedMemoryAwareThreadPoolExecutor which should be used for SEDA processing. See #111

    • -0
    • +61
    ./handler/execution/seda/SedaMemoryAwareThreadPoolExecutor.java
    • -0
    • +59
    ./handler/execution/seda/SedaOrderedMemoryAwareThreadPoolExecutor.java
Improve encoder/decoder "replace" in Web Socket Client handshake.

    • -3
    • +4
    ./example/http/websocketx/client/App.java
Removed io.netty.example.http.websocket because io.netty.codec.http.websocket has been removed.

    • -182
    • +0
    ./example/http/websocket/WebSocketServerHandler.java
DefaultChannelPipeline.replace() does not correctly replace a ChannelHandler if name is preserved. See #113

  1. … 1 more file in changeset.
Fix #116

Fix #116

Use channel instead of context and cleanup unused method argument

Use channel instead of context and cleanup unused method argument

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

    • -2
    • +13
    ./handler/execution/ExecutionHandler.java
    • -0
    • +40
    ./handler/execution/seda/ChannelDownstreamEventRunnable.java
    • -0
    • +65
    ./handler/execution/seda/SedaExecutor.java
    • -0
    • +47
    ./handler/execution/seda/SedaHandler.java
    • -0
    • +71
    ./handler/execution/seda/SimpleSedaExecutor.java
No need to specify a default value

Better handshaker naming / Remove deprecated example / Hide UTF8 classes from users

    • -2
    • +2
    ./handler/codec/http/websocketx/UTF8Output.java