Skip to content

v0.3.0

@ysyneu ysyneu tagged this 03 Jul 16:14
Adjust HTTP server timeouts to better support SSE streaming and improve security.

- Set ReadTimeout to 0 to prevent premature disconnection of SSE connections.

- Add IdleTimeout to prevent dangling connections.

- Set MaxHeaderBytes to a reasonable limit to mitigate memory exhaustion attacks.
Assets 2
Loading