HttpChunkAggregator does not deal with 204 correctly

Trustin Lee tlee at redhat.com
Sun Mar 29 21:18:58 EDT 2009


Oh, OK.  Thanks for reporting the problem.

Could you list a set of status codes other than 204 which might cause
similar problems?  I want to fix them all.

Thanks,

— Trustin Lee, http://gleamynode.net/



On Sun, Mar 29, 2009 at 10:46 PM, steview <steve at jofti.com> wrote:
>
> Hi,
> I am using the library to construct client connections and I have the following setup on the pipeline
>
> pipeline.addLast("logger", new LoggingHandler());
> pipeline.addLast("decoder", new HttpResponseDecoder());
> pipeline.addLast("aggregator", new HttpChunkAggregator(1048576));
> pipeline.addLast("encoder", new HttpRequestEncoder());
> pipeline.addLast("handler", myHandler);
>
> The server is returning a 204 with a chunked encoding
>
> -RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=196, cap=1024) - (HEXDUMP:..)
> status:204 No Content
> Date:Sun, 29 Mar 2009 13:33:51 GMT
> Server:AmazonS3
> Transfer-Encoding:chunked
>
> This response is never propagated along the chain (as I assume the chunk aggregator is expecting further chunks) so my handler times-out waiting for a response. If I comment out the aggregator I receive the response correctly.
>
> This is the result of a delete request to the amazon s3 service BTW
>
> regards
> Steve
> --
> View this message in context: http://n2.nabble.com/HttpChunkAggregator-does-not-deal-with-204-correctly-tp2552576p2552576.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>




More information about the netty-users mailing list