Skip to content

Infinite timeout no longer supported with winhttp client #353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
davidjward30 opened this issue Feb 11, 2017 · 0 comments
Open

Infinite timeout no longer supported with winhttp client #353

davidjward30 opened this issue Feb 11, 2017 · 0 comments

Comments

@davidjward30
Copy link

Hello,

2.6 used to support infiinite timeout (by passing 0), but the following commit loses this behaviour:

change http client timeout to support microseconds
master (#1) v2.9.1

v2.7.0
1 parent 9651b67 commit 118243b @kreuzerkrieg kreuzerkrieg committed on Jul 16, 2015

This line of code effectively switches from infinite timeout to 1 milliseconds.

milliseconds = std::max<decltype(milliseconds)>(milliseconds, 1);

Regards,

David.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant