修复在连接读写优化模式下fastcgi无法正常工作的Bug

This commit is contained in:
GoEdgeLab
2023-03-06 10:33:54 +08:00
parent 39e020fe6b
commit 2ba63a85c1
6 changed files with 21 additions and 11 deletions

View File

@@ -16,7 +16,7 @@ type BaseClientConn struct {
remoteAddr string
hasLimit bool
isWebsocket bool
isPersistent bool // 是否为持久化连接
isClosed bool
@@ -125,6 +125,6 @@ func (this *BaseClientConn) SetLinger(seconds int) error {
return nil
}
func (this *BaseClientConn) SetIsWebsocket(isWebsocket bool) {
this.isWebsocket = isWebsocket
func (this *BaseClientConn) SetIsPersistent(isPersistent bool) {
this.isPersistent = isPersistent
}