Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to run skipper for SSE backends #1782

Open
szuecs opened this issue May 26, 2021 · 0 comments
Open

Document how to run skipper for SSE backends #1782

szuecs opened this issue May 26, 2021 · 0 comments

Comments

@szuecs
Copy link
Member

szuecs commented May 26, 2021

As shown in #1041 (comment) and easily testable with https://github.com/SubChord/go-sse/blob/master/example/send_to_client_using_reference.go , there is an issue if -write-timeout-server is set to not equal to 0 or to a very high value.

Doc of WriteTimeout:

	// WriteTimeout is the maximum duration before timing out
	// writes of the response. It is reset whenever a new
	// request's header is read. Like ReadTimeout, it does not
	// let Handlers make decisions on a per-request basis.
	WriteTimeout time.Duration

Clients can also try to send heartbeat requests with only request headers to the same backend handler to refresh the write timeout.

Idle timeouts #1041 (comment) :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant