wusj / pywebsocket

Automatically exported from code.google.com/p/pywebsocket
0 stars 0 forks source link

pywebsockets/apache closes websocket but not tcp socket on error. #114

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. An assertion error causes a websocket to close 
2.no message is returned to the client and apache will return keep alive 
messages.

What is the expected output? What do you see instead?
Before the server closes a socket it should attempt to send a message to the 
client. Barring this the tcp socket should be closed by apache.

What version of the product are you using? On what operating system?
The latest pywebsockets as of 24Oct2011 on 64bit CentOs.

Please provide any additional information below.
This is a fairly random problem but occurs with frustrating frequency. If this 
is normal I need to know....

Original issue reported on code.google.com by sdid...@gmail.com on 25 Oct 2011 at 12:00

GoogleCodeExporter commented 9 years ago
First, is it checked out from svn?

Could you elaborate the case? Are you raising AssertionError intentionally in 
your handler? What message do you expect to be returned to the client?

Original comment by tyoshino@chromium.org on 25 Oct 2011 at 2:35