libwebsockets icon indicating copy to clipboard operation
libwebsockets copied to clipboard

lwsts[2821]: choked before able to send whole file (post)

Open bluebluesky opened this issue 12 years ago • 7 comments

Dear,

I downloaded the latest libwebsocket from github, yes, it supports http post now, but when i run libwebsocket-test-server and access to http://localhost:7681/test.html, i got lwsts[2821]: choked before able to send whole file (post), and the server won't give any response any more. But the former released version has no this issue, could u tell me how to solve this issue?

Thanks in advance jessie

bluebluesky avatar Dec 06 '13 01:12 bluebluesky

Sorry, i forgot to mention i used firefox, IE from windows to access the http://localhost:7681/test.html, i will get this critical error, on linux mozilla to do the same test, it's ok.

bluebluesky avatar Dec 06 '13 01:12 bluebluesky

On 06/12/13 09:28, the mail apparently from bluebluesky included:

Dear,

I downloaded the latest libwebsocket from github, yes, it supports http post now, but when i run libwebsocket-test-server and access to http://localhost:7681/test.html, i got lwsts[2821]: choked before able to send whole file (post), and the server won't give any response any more. But the former released version has no this issue, could u tell me how to solve this issue?

Is this happening on an ARM platform?

-Andy

Thanks in advance jessie

— Reply to this email directly or view it on GitHub https://github.com/warmcat/libwebsockets/issues/35.

ghost avatar Dec 08 '13 13:12 ghost

Dear warmcat,

Thanks for your feedback :-) I made and ran the libwebsocket-test-server on ubuntu 10.04, and then if i browsed the test.html with ubuntu mozilla ,it's ok, but if i browsed the test.html with window firefox, i got this critical error.

Thanks jessie

bluebluesky avatar Dec 09 '13 01:12 bluebluesky

On 09/12/13 09:23, the mail apparently from bluebluesky included:

Dear warmcat,

Thanks for your feedback :-) I made and ran the libwebsocket-test-server on ubuntu 10.04, and then if i browsed the test.html with ubuntu mozilla ,it's ok, but if i browsed the test.html with window firefox, i got this critical error.

I've seen the same behaviiour myself after a report saying it's broken on ARM and working on Intel.

With the same Chrome I can get the problem on ARM but not on my laptop.

Maybe it's to do with server speed.... I am planning on looking into it in the next hours.

-Andy

Thanks jessie

— Reply to this email directly or view it on GitHub https://github.com/warmcat/libwebsockets/issues/35#issuecomment-30100242.

ghost avatar Dec 09 '13 01:12 ghost

Dear warmcat,

Waiting for your good news! It's really difficult for me to solve this problem, i tried to read the source code,but no any idea...

jessie

bluebluesky avatar Dec 09 '13 02:12 bluebluesky

On 09/12/13 10:01, the mail apparently from bluebluesky included:

Dear warmcat,

Waiting for your good news! It's really difficult for me to solve this problem, i tried to read the source code,but no any idea...

I believe this solves it

http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/commit/?id=aa084920213d0f3bfc05a2868a2391c2f9a91dc4

-Andy

jessie

— Reply to this email directly or view it on GitHub https://github.com/warmcat/libwebsockets/issues/35#issuecomment-30101205.

ghost avatar Dec 09 '13 03:12 ghost

Dear warmcat,

Yes, this solves it , Thanks a lot!

jessie

bluebluesky avatar Dec 10 '13 02:12 bluebluesky