mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-05 21:27:35 +03:00
rename the SERVER_BUSY error to CONNECTION_REFUSED
This commit is contained in:
parent
05514ab375
commit
2e9b92ab69
5 changed files with 13 additions and 13 deletions
|
@ -13,7 +13,7 @@ type ErrorCode uint64
|
|||
const (
|
||||
NoError ErrorCode = 0x0
|
||||
InternalError ErrorCode = 0x1
|
||||
ServerBusy ErrorCode = 0x2
|
||||
ConnectionRefused ErrorCode = 0x2
|
||||
FlowControlError ErrorCode = 0x3
|
||||
StreamLimitError ErrorCode = 0x4
|
||||
StreamStateError ErrorCode = 0x5
|
||||
|
@ -53,8 +53,8 @@ func (e ErrorCode) String() string {
|
|||
return "NO_ERROR"
|
||||
case InternalError:
|
||||
return "INTERNAL_ERROR"
|
||||
case ServerBusy:
|
||||
return "SERVER_BUSY"
|
||||
case ConnectionRefused:
|
||||
return "CONNECTION_REFUSED"
|
||||
case FlowControlError:
|
||||
return "FLOW_CONTROL_ERROR"
|
||||
case StreamLimitError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue