Prepare deadline interface

This commit is contained in:
世界
2023-04-19 21:48:54 +08:00
parent a5322850b3
commit 4382093868
14 changed files with 86 additions and 36 deletions

View File

@@ -360,6 +360,10 @@ func (c *VisionConn) unPadding(buffer []byte) [][]byte {
return buffers
}
func (c *VisionConn) NeedAdditionalReadDeadline() bool {
return true
}
func (c *VisionConn) Upstream() any {
return c.Conn
}