johanbrandhorst / protobuf

GopherJS Bindings for ProtobufJS and gRPC-Web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wsproxy: context cancellation does not propagate across websocket transport

johanbrandhorst opened this issue · comments

It should be possible to trigger a closing of the connection in order to propagate the context cancellation.

Turns out this is not what was happening, the context cancellation was working across the websocket connection but the proxy side wasn't closing the client stream like it should have.