mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-08-11 20:01:46 +00:00
feat(wip): test reworks (need to add back traffic logger tests)
This commit is contained in:
@@ -109,12 +109,12 @@ func (c *clientImpl) connect() error {
|
||||
_ = conn.CloseWithError(closeErrCodeProtocolError, "")
|
||||
}
|
||||
_ = pktConn.Close()
|
||||
return &coreErrs.ConnectError{Err: err}
|
||||
return coreErrs.ConnectError{Err: err}
|
||||
}
|
||||
if resp.StatusCode != protocol.StatusAuthOK {
|
||||
_ = conn.CloseWithError(closeErrCodeProtocolError, "")
|
||||
_ = pktConn.Close()
|
||||
return &coreErrs.AuthError{StatusCode: resp.StatusCode}
|
||||
return coreErrs.AuthError{StatusCode: resp.StatusCode}
|
||||
}
|
||||
// Auth OK
|
||||
udpEnabled, serverRx := protocol.AuthResponseDataFromHeader(resp.Header)
|
||||
|
Reference in New Issue
Block a user