mirror of
https://github.com/minio/minio.git
synced 2024-12-25 22:55:54 -05:00
b5177993b3
HTTP likes to slap an infinite read deadline on a connection and do a blocking read while the response is being written. This effectively means that a reading deadline becomes the request-response deadline. Instead of enforcing our timeout, we pass it through and keep "infinite deadline" is sticky on connections. However, we still "record" when reads are aborted, so we never overwrite that. The HTTP server should have `ReadTimeout` and `IdleTimeout` set for the deadline to be effective. Use --idle-timeout for incoming connections. |
||
---|---|---|
.. | ||
check_port_linux.go | ||
check_port_others.go | ||
check_port_test.go | ||
close.go | ||
dial_dnscache.go | ||
dial_linux.go | ||
dial_others.go | ||
headers.go | ||
lambda-headers.go | ||
listener_test.go | ||
listener.go | ||
request-recorder.go | ||
response-recorder.go | ||
server_test.go | ||
server.go | ||
transports.go |