Hashpack / hashconnect

Hashconnect library, readme in progress
BSD Zero Clause License
45 stars 38 forks source link

Relay can receive non-JSON messages but does not handle them gracefully #178

Closed subfallen closed 8 months ago

subfallen commented 1 year ago

WebSocketRelay.processMessage() assumes its stringified data will be parseable JSON, but in practice this is not a safe assumption and we may get e.g. "Draining backpressure" (see attached).

Screen Shot 2023-05-20 at 1 22 32 PM