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

This commit is contained in:
刘祥超
2023-03-06 10:33:54 +08:00
parent 9709e45ad2
commit ab019b0bdc
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
}