diff --git a/config.go b/config.go index 21830c3..d85a48c 100644 --- a/config.go +++ b/config.go @@ -15,7 +15,6 @@ package quickws import ( - "net/http" "time" "github.com/antlabs/wsutil/enum" @@ -37,7 +36,6 @@ type Config struct { maxDelayWriteNum int32 // 最大延迟包的个数, 默认值为10 delayWriteInitBufferSize int32 // 延迟写入的初始缓冲区大小, 默认值是8k maxDelayWriteDuration time.Duration // 最大延迟时间, 默认值是10ms - bindClientHttpHeader *http.Header // 握手成功之后, 客户端获取http.Header, } func (c *Config) initPayloadSize() int {