Home | History | Annotate | Download | only in http

Lines Matching refs:keep

338 	// "Connection: keep-alive" response header and a
672 // in order to keep a connection alive. If there are more bytes than
812 // it, even to zero. This helps HTTP/1.0 clients keep their
813 // "keep-alive" connections alive.
829 // If this was an HTTP/1.0 request with keep-alive and we sent a
830 // Content-Length back, we can make this a keep-alive response ...
833 if sentLength && header.get("Connection") == "keep-alive" {
844 setHeader.connection = "keep-alive"
1821 // handling a request and is in the keep-alive state, waiting
1918 // SetKeepAlivesEnabled controls whether HTTP keep-alives are enabled.
1919 // By default, keep-alives are always enabled. Only very
2126 // tcpKeepAliveListener sets TCP keep-alive timeouts on accepted