ne0bot / delphionrails

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

Exception after client closes connection #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When closing a client connection, I often got Delphi exceptions in 
dorActionWebSocket.pas, TActionWebsocket.Output, line "Write(b, 1, 0);". It 
turns out that FStub.Source was nil, so perhaps checking FStub.Source for being 
nil would be good before attempting to call the Write method.

Same for the Write calls in TActionWebsocket.OutputMessage and 
TActionWebsocket.OutputStream (that one doesn't even have a try..finally around 
the Write call).

Original issue reported on code.google.com by schnaade...@gmail.com on 23 Feb 2012 at 3:42

GoogleCodeExporter commented 8 years ago
thanks

Original comment by hgourv...@gmail.com on 13 Feb 2014 at 4:30