chase-moskal/renraku

socket error handling should be improved

chase-moskal opened this issue · 0 comments

  • we need a timeout mechanism for websocket requests
    • seems like ws does this automatically after 60 seconds
  • we need to make sure error responses with a request-id of -1 are handled gracefully
    this can happen when a request fails to parse to the extent the id cannot be recovered (including when the request body exceeds the maximum payload size)