websocket: frame: Insert blocking put-bytevector hack. wip-bug
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 22 Apr 2019 17:13:39 +0000 (19:13 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 22 Apr 2019 18:10:49 +0000 (20:10 +0200)
commit266a8f61a5fe151a9718feebdbb0b3d74465f6e2
tree602117c0dc2246ee0d8ba0ea6b29f63f45d51022
parenta72245949a88b631c97e39fec70313f855e21ec2
websocket: frame: Insert blocking put-bytevector hack.

HACK: Do not suspend writes to avoid

   `The connection to ws://localhost:1236/ was interrupted while the page was loading.' (icecat)`
   `could not decode a text frame as utf-8' (ungoogled chromium)

* 8sync/systems/websocket/frame.scm: Use blocking write for
put-bytevector.

bug
8sync/systems/websocket/frame.scm