go-zero
go-zero copied to clipboard
fix: ignore timeout on sse
@icecoffee531
Content-Type
must be text/event-stream
when using SSE
@icecoffee531 Content-Type must be text/event-stream when using SSE
@chenquan
I have set Content-Type
to text/event-stream
. Because of the timeoutHandler
will set context with cancel, http request
need skip timeoutHandler
to ingore context timeout like websocket to ensure keep-alive
connection
duplicate #2032
Bot detected the issue body's language is not English, translate it automatically. π―ππ»π§βπ€βπ§π«π§πΏβπ€βπ§π»π©πΎβπ€βπ¨πΏπ¬πΏ
duplicate #2032
Duplicate of #2041