johanbrandhorst / protobuf

GopherJS Bindings for ProtobufJS and gRPC-Web
MIT License
81 stars 16 forks source link

Wsproxy: context cancellation does not propagate across websocket transport #23

Closed johanbrandhorst closed 7 years ago

johanbrandhorst commented 7 years ago

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

johanbrandhorst commented 7 years ago

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.