-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.
Description
There doesn't seem a way to specify, on a server, after a client connection has been accepted, a read timeout so as to close the client connection after a while when no client headers have been sent at all. See for instance the ReadTimeout from GoLang’s HTTP Server class where you can configure this.
The http1_header_read_timeout method only starts the timer when the first line of the http1 header is sent. So if I just netcat into my hyper http server and don't send anything, the connection is kept open forever.
finnbear, PGIII and josecelano
Metadata
Metadata
Assignees
Labels
C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.