websocket-driver icon indicating copy to clipboard operation
websocket-driver copied to clipboard

HANDLER-CASE causes loops

Open phoe opened this issue 4 years ago • 1 comments

https://github.com/fukamachi/websocket-driver/blob/2d20d81f5257111426873b9879795827e4625b83/src/ws/base.lisp#L215-L218

This code catches all errors, not just I/O timeout errors, and therefore may cause infinite loops e.g. in case the stream argument is not a stream, or if read-sequence signals an end of file.

phoe avatar Apr 24 '20 13:04 phoe

~~Please link a context that includes an unambiguous source location; the github linking appears to be mistargeted [specifically: clicking 2d20d81 takes you to a patch that does not modify any of the lines in question].~~

Nevermind, it appears that this problem has existed in the code ab initio, and git tooling is uselessly helpful here.

adlai avatar Mar 10 '21 23:03 adlai