You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, in practice the client will produce a NIO.ChannelError.connectTimeout(.nanoseconds(10000000000)) - ie. 10 seconds - by default if the connection is not accepted within that time.
Setting this to a larger (or smaller) value does seem to work however.
The text was updated successfully, but these errors were encountered:
We should probably clean up the documentation. Defaulting to no timeout is a bad idea, IMO, but we should definitely clearly say what the actual behaviour is.
Motivation:
Right now documentation states that timrout defaults to no timeout, this
is no actually true, if timeout is not set NIO bootstrap defaults to 10
seconds connect timeout.
Modifications:
Updates documentation comment.
Result:
Closesswift-server#118
Motivation:
Right now documentation states that timrout defaults to no timeout, this
is no actually true, if timeout is not set NIO bootstrap defaults to 10
seconds connect timeout.
Modifications:
Updates documentation comment.
Result:
Closes#118
The documentation for HTTPClient.Configuration.timeout suggests that the default behavior is not to time out.
However, in practice the client will produce a
NIO.ChannelError.connectTimeout(.nanoseconds(10000000000))
- ie. 10 seconds - by default if the connection is not accepted within that time.Setting this to a larger (or smaller) value does seem to work however.
The text was updated successfully, but these errors were encountered: