onet icon indicating copy to clipboard operation
onet copied to clipboard

`ServiceProcessor.RegisterStreamingHandler` fails to return error to the client when failing to start.

Open tharvik opened this issue 5 years ago • 0 comments

When a streaming handler returns a non-nil error, it is logged but the client is not informed of the call's failure.

s.RegisterStreamingHandler(func(*struct{}) (chan *struct{}, chan bool, error) { return nil, nil, errors.New("") })

blocks the client until the channel is closed via timeout.

See #668 for a test case triggering it.

tharvik avatar Dec 14 '20 19:12 tharvik