mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-08-16 06:11:46 +00:00
handleControlStream should not always return true
This commit is contained in:
@@ -140,7 +140,7 @@ func (c *Client) handleControlStream(qs quic.Session, stream quic.Stream) (bool,
|
||||
if sh.OK && c.congestionFactory != nil {
|
||||
qs.SetCongestionControl(c.congestionFactory(sh.Rate.RecvBPS))
|
||||
}
|
||||
return true, sh.Message, nil
|
||||
return sh.OK, sh.Message, nil
|
||||
}
|
||||
|
||||
func (c *Client) handleMessage(qs quic.Session) {
|
||||
|
Reference in New Issue
Block a user