修复在连接读写优化模式下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

@@ -111,7 +111,7 @@ func (this *HTTPRequest) doWebsocket(requestHost string, isLastRetry bool) (shou
requestClientConn, ok := requestConn.(ClientConnInterface)
if ok {
requestClientConn.SetIsWebsocket(true)
requestClientConn.SetIsPersistent(true)
}
clientConn, _, err := this.writer.Hijack()