fix(response): panic on Hijack/CloseNotify when wrapper unsupported (#4645)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* response_writer: don't panic on Hijack/CloseNotify when wrapper unsupported Closes #4638. http.TimeoutHandler's writer doesn't implement http.Hijacker/CloseNotifier; mirror Flush's graceful degradation. * response_writer: keep Written() false when Hijack is unsupported Signed-off-by: Sai Asish Y <say.apm35@gmail.com> ---------
authored by Sai Asish Y · committed by GitHub · parent 8d0468f · Browse files · 2 files+20 added−10 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
- Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Diff stats
2 files+20 added−10 removed
- other:+20 added−10 removed