mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
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_test.go | ||
bufconn.go | ||
conn_bug_21133.go | ||
listen_nix.go | ||
listen_others.go | ||
listener_test.go | ||
listener.go | ||
server_test.go | ||
server.go | ||
timeoutconn.go |