mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-29 15:59:58 +00:00
handleControlStream should not always return true
This commit is contained in:
parent
0626a3e505
commit
444bb5daec
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user