Call the callback on connectStream socket creation failure.
The callback must *always* be called at some point, because the generic async->sync logic in vibe-core otherwise has no way to know whether to expect a callback or not.
This commit is contained in:
parent
0044946413
commit
02de8341aa
3 changed files with 8 additions and 2 deletions
|
@ -570,6 +570,7 @@ enum ConnectStatus {
|
|||
refused,
|
||||
timeout,
|
||||
bindFailure,
|
||||
socketCreateFailure,
|
||||
unknownError
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue