I don´t need the full size, but I´d like to have access to the ChannelBuffer that conveys the message. It would be really usefull on http proxies that only need to log and write the data as-is.<div><br></div><div>--<br clear="all">
Leandro Rodrigo Saad Cruz<br>
<br><br><div class="gmail_quote">On Tue, Jun 1, 2010 at 5:00 AM, "Trustin Lee (이희승)" <span dir="ltr"><<a href="mailto:trustin@gmail.com">trustin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Shay,<br>
<br>
At the moment, I can't think of an easy way to do that without modifying<br>
HttpMessageDecoder. Could you let me know why you need the full size?<br>
<br>
Thanks,<br>
<div class="im">Trustin<br>
<br>
Shay Banon wrote:<br>
> Hi,<br>
><br>
</div>> Is there a simple way to get the size (in bytes) of a full HTTP<br>
> message (header and body)? The body (content) is simple enough, the full<br>
> one seems tricky....<br>
<div><div></div><div class="h5">><br>
> cheers,<br>
> shay.banon<br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> netty-users mailing list<br>
> <a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
<br>
--<br>
what we call human nature in actuality is human habit<br>
<a href="http://gleamynode.net/" target="_blank">http://gleamynode.net/</a><br>
<br>
_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
</div></div></blockquote></div><br></div>