Commits on Aug 3, 2011
  1. @trustin

    NETTY-429 IllegalArgumentException when an HTTP server sends a '100 C…

    …ontinue' response to HttpContentDecoder.
    
    * Fixed a silly coding mistake where I sent the event in the opposite direction
    trustin committed Aug 3, 2011
Commits on Aug 2, 2011
  1. @trustin

    NETTY-428 SslHandler does not trigger an exceptionCaught event for so…

    …me handshake failure cases.
    
    * Made sure SslHandler.handshake() and SslHandler.close() trigger an exceptionCaught event when failed
    trustin committed Aug 2, 2011
  2. @trustin
  3. @trustin

    NETTY-408 ChunkedStream generates 1-byte chunks for wrapped input str…

    …eams that does have sane implementation of available() method
    
    * Updated JavaDoc so that users don't specify an InputStream with poor available() implementation.
    trustin committed Aug 2, 2011
  4. @trustin

    NETTY-384 Another deadlock in ChunkedWriteHandler

    ChunkedWriteHandler.discard() do not issue write requests to trigger exceptionCaught events and to notify write futures anymore.  Instead, it triggers exceptionCaught events and notifies write futures by itself.  Therefore, no write lock is involved during discard(), avoiding the reported dead lock.
    
    However, this is a temporary solution, and eventually Netty must introduce more robust event thread model.
    trustin committed Aug 2, 2011
Commits on Aug 1, 2011
  1. @trustin

    NETTY-422 Add getPipeline() to CodecEmbedder so that a user can modif…

    …y the pipeline dynamically.
    trustin committed Aug 2, 2011
  2. @trustin
  3. @trustin

    NETTY-420 HttpClientCodec doesn't handle HEAD requests with Transfer-…

    …Encoding: chunked responses
    
    * Reverted back the workaround for servers that sends unnecessary zero-byte chunk in a HEAD response because it actually breaks the codec when the server that conforms to the RFC.
    trustin committed Aug 2, 2011
  4. @trustin

    NETTY-419 ObjectEncoder/ObjectDecoder fails with NPE when deserializi…

    …ng the java.lang.Class instance of an interface type
    
    * Fixed a bug where deserializing an interface class fails due to wrong lookup.
    * Implemented class lookup caching
    trustin committed Aug 2, 2011
  5. @trustin

    NETTY-417 client channel still open after close and wait

    * Fixed a bug in SslHandler where a write attempt made after SSLEngine is closed result in unnotified future.  Fixed by respecting the case where SslEngineResult.Status == CLOSED
    trustin committed Aug 2, 2011
  6. @trustin

    NETTY-417 client channel still open after close and wait

    * Fixed a race condition where NioSocketChannel's state variable is updated *after* its close future is notified
    * Removed unnecessary use of ChannelFutureListeners in NioSocketChannel and AbstractChannel
    trustin committed Aug 2, 2011
  7. @trustin

    Fixed a bug where the future associated with the close request is not…

    … notified when the channel was closed already when SslHandler attempts to send a closure_notify.
    
    This shouldn't be a problem to most applications because they usually do not specify their own future object for the close request.
    trustin committed Aug 2, 2011
  8. @trustin

    do not encode if empty content

    Felix Trepanier committed with trustin Aug 1, 2011
  9. @trustin

    NETTY-415 ChannelFuture.setFailure() not called when exception thrown…

    … handling Channel.close()
    
    * Made sure the ChannelFuture associated with a downstream event is marked as failure when an exception is raised before it reaches at ChannelSink.
    trustin committed Aug 2, 2011
Commits on Jul 31, 2011
  1. @trustin

    NETTY-418 isCompleteFailure() and isCompleteSuccess() are both true a…

    …t the same time
    
    * Fixed incorrect isPartialSuccess(), isPartialFailure(), isCompleteFailure() implementation
    trustin committed Aug 1, 2011
  2. @trustin

    NETTY-425 ChannelBuffers.compare does not handle unsigned bytes corre…

    …ctly
    
    * Fixed a bug where signed comparison is made where unsigned comparison is expected
    trustin committed Aug 1, 2011
  3. @trustin

    NETTY-426 Prevent a user from reusing an upstream MessageEvent to write

    something
    
    Modified the pipeline implementations so that it rejects the attempt to
    send an UpstreamMessageEvent to downstream
    trustin committed Aug 1, 2011
  4. @trustin

    NETTY-410 NioWorker write deadlock

    Applied the patch provided by Greg Dhuse.
    trustin committed Aug 1, 2011
  5. @trustin

    NETTY-406 ProtobufEncoder should also support Message.Builder

    * Added support for Message.Builder
    trustin committed Aug 1, 2011
  6. @trustin

    NETTY-389 java.lang.ClassCastException: org.jboss.netty.channel.FileR…

    …egion cannot be cast to org.jboss.netty.buffer.ChannelBuffer
    
    * Updated JavaDoc to let users know that not all transports support FileRegion
    * Added FIXME for future improvement
    trustin committed Aug 1, 2011
  7. @trustin

    NETTY-410 NioWorker write deadlock

    Applied the patch provided by Greg Dhuse.
    trustin committed Aug 1, 2011
Commits on Jul 29, 2011
  1. @reines @trustin

    Small fix to the http tunnel to prevent null pointer is attempt is ma…

    …de to close channel twice
    reines committed with trustin Jul 1, 2011
  2. @trustin

    Fixed code format

    trustin committed Jul 29, 2011
  3. @nibin @trustin

    * Fixed the bug in CookieEncoder if there are no cookie's set while

    calling encode(). Without the fix, it ended up in calling the
    exception "java.lang.StringIndexOutOfBoundsException".
    * Also added test case to verify the patch
    
    Change-Id: Ib96425e07ab50be027ade7be0748cceb6438a586
    nibin committed with trustin Jul 26, 2011
Commits on Jun 29, 2011
  1. @trustin

    Added FIXME

    trustin committed Jun 29, 2011
Commits on Jun 9, 2011
  1. @fredericBregier @trustin
Commits on May 26, 2011
  1. @trustin
Commits on May 11, 2011
  1. @trustin

    Tabs to spaces

    trustin committed May 11, 2011
  2. @trustin

    NETTY-295 HTTP header getters/setters for date headers

    * Added get/setDateHeader() methods that works with custom date
    headers
    * Removed get/setDateInMilliseconds() methods because they can be
    simply represented with a chained getTime() call
    * Fixed the inconsistent behavior & contract of
    HttpHeaders.getContentLength() which does not throw an exception when
    the header is missing or ill-formatted unless a default value is
    specified
    * Added clearHeaders() and removeHeader() to HttpHeaders
    * Tabs to spaces
    trustin committed May 11, 2011
  3. @Rogiel @trustin

    NETTY-295 - HTTP header getters and setters for date headers

    * Merged CookieDateFormat into HttpHeaderDateFormat, which can parse all
    known date format variants related with HTTP
    * Added HttpHeaders.get/setDate()
    Rogiel committed with trustin May 11, 2011
Commits on May 4, 2011
  1. @trustin

    Made IdleStateHandler @Sharable and removed unnecessary lazy

    initialization in ReadTimeoutHandler
    trustin committed May 4, 2011
  2. @trustin

    NETTY-401 - NullPointerException when ReadTimeoutHandler is

    concurrently initialized and destroyed
    
    * Made ReadTimeoutHandler @Sharable
    * Updated the UptimeClient again
    ** no static fields for global state - just reuse the handlers.
    trustin committed May 4, 2011
  3. @trustin
  4. @waywardmonkeys @trustin

    Close bold tag.

    waywardmonkeys committed with trustin May 2, 2011
Commits on May 3, 2011
  1. @trustin

    Fixed various compiler warnings

    * Missing @Override annotations
    * Indirect access to a private member from inner classes
    * Incorrect @see javadoc tags (should not use the @link tag)
    * ..
    trustin committed May 3, 2011