mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
conn: change TCPBufSize to 32K as the golang standard lib did
This commit is contained in:
1 parent
cd78995cd4
commit
904757052d
7 files changed
+31
-52
No files matched your search
+1
-1
@@ -85,7 +85,7 @@ func (c *ClientConn) Handshake(host, path string) error {
|
||||
|
||||
_, code, _, ok := parseFirstLine(line)
|
||||
if !ok || code != "101" {
|
||||
return errors.New("[ws] error in ws handshake parseFirstLine")
|
||||
return errors.New("[ws] error in ws handshake parseFirstLine: " + line)
|
||||
}
|
||||
|
||||
respHeader, err := tpr.ReadMIMEHeader()
|
||||
|
||||
Reference in new issue
Block a user