You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Cristian Lorenzetto <cr...@gmail.com> on 2016/09/04 20:52:24 UTC

probable bug

i m working on websocket with long messages.

I saw ... payload message length is wrong in the last frame.

Re: probable bug

Posted by Hassan Schroeder <ha...@gmail.com>.
On Sun, Sep 4, 2016 at 3:39 PM, Cristian Lorenzetto
<cr...@gmail.com> wrote:

useful:

   Tomcat version
   JVM version
   standalone reproducible test case

not useful:

>  final boolean mlast = message.isLast();
> final int mlen = message.getPayloadLength();
>
> *mlen is different in the last frame of the same message!!!!*

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: probable bug

Posted by Cristian Lorenzetto <cr...@gmail.com>.
 final boolean mlast = message.isLast();
final int mlen = message.getPayloadLength();

*mlen is different in the last frame of the same message!!!!*

2016-09-05 0:36 GMT+02:00 Hassan Schroeder <ha...@gmail.com>:

> On Sun, Sep 4, 2016 at 1:52 PM, Cristian Lorenzetto
> <cr...@gmail.com> wrote:
> > i m working on websocket with long messages.
> >
> > I saw ... payload message length is wrong in the last frame.
>
> ->  http://www.catb.org/esr/faqs/smart-questions.html
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan
> Consulting Availability : Silicon Valley or remote
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: probable bug

Posted by Hassan Schroeder <ha...@gmail.com>.
On Sun, Sep 4, 2016 at 1:52 PM, Cristian Lorenzetto
<cr...@gmail.com> wrote:
> i m working on websocket with long messages.
>
> I saw ... payload message length is wrong in the last frame.

->  http://www.catb.org/esr/faqs/smart-questions.html

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org