Teach http client to abort channel streaming on context cancellation
When the response includes the X-Chunked-Output header, we treat that as channel output, and fire up a goroutine to decode the chunks. This routine need to look for context cancellation so that it can exit cleanly.
Showing
Please register or sign in to comment