Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ws-serve raises uncaught exceptions on internal threads #12

Open
endobson opened this issue Jun 3, 2017 · 0 comments
Open

ws-serve raises uncaught exceptions on internal threads #12

endobson opened this issue Jun 3, 2017 · 0 comments

Comments

@endobson
Copy link

endobson commented Jun 3, 2017

When reloading my client webpages that are using websockets to communicate with a racket websocket server I see error messages such as:

tcp-read: error reading
  system error: Connection reset by peer; errno=54
  context...:
   /Users/endobson/proj/racket/plt/racket/collects/racket/port.rkt:1156:4: try-again

in my terminal output.

These seem to be uncaught exceptions, and they dont seem to be coming from any of my provided code. The server internals should be handling these exceptions and not letting them get to the uncaught-exception-handler, especially since handling a reset tcp connection should not be an error condition for the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant