Skip to content

Connect timeout defaults to 10 seconds, not indefinite #118

Closed
@djones6

Description

@djones6

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.

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomerskind/bugFeature doesn't work as expected.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions