fix: websocket headroom
This commit is contained in:
parent
6a89cc15c3
commit
cc3a9dd553
1 changed files with 4 additions and 0 deletions
|
@ -301,6 +301,10 @@ func (wsedc *websocketWithEarlyDataConn) SetWriteDeadline(t time.Time) error {
|
||||||
return wsedc.Conn.SetWriteDeadline(t)
|
return wsedc.Conn.SetWriteDeadline(t)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (wsedc *websocketWithEarlyDataConn) LazyHeadroom() bool {
|
||||||
|
return wsedc.Conn == nil
|
||||||
|
}
|
||||||
|
|
||||||
func (wsedc *websocketWithEarlyDataConn) Upstream() any {
|
func (wsedc *websocketWithEarlyDataConn) Upstream() any {
|
||||||
return wsedc.Conn
|
return wsedc.Conn
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue