mirror of https://github.com/minio/minio.git
a536cf5dc0
It can happen with erroneous clients which do not send `Host:` header until 4k worth of header bytes have been read. This can lead to Peek() method of bufio to fail with ErrBufferFull. To avoid this we should make sure that Peek buffer is as large as our maxHeaderBytes count. |
||
---|---|---|
.. | ||
bufconn.go | ||
bufconn_test.go | ||
conn_bug_21133.go | ||
listen_nix.go | ||
listen_others.go | ||
listener.go | ||
listener_test.go | ||
server.go | ||
server_test.go | ||
timeoutconn.go |