remove ReadBufferCount; rename WriteBufferCount into WriteQueueSize (#384)

This commit is contained in:
Alessandro Ros
2023-08-26 12:21:05 +02:00
committed by aler9
parent 5d8f742d60
commit b97aed00fe
4 changed files with 15 additions and 35 deletions

View File

@@ -885,7 +885,7 @@ func (ss *ServerSession) handleRequestInner(sc *ServerConn, req *base.Request) (
// inside the callback.
if ss.state != ServerSessionStatePlay &&
*ss.setuppedTransport != TransportUDPMulticast {
ss.writer.allocateBuffer(ss.s.WriteBufferCount)
ss.writer.allocateBuffer(ss.s.WriteQueueSize)
}
res, err := sc.s.Handler.(ServerHandlerOnPlay).OnPlay(&ServerHandlerOnPlayCtx{