Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

Infinite timeout no longer supported with winhttp client #353

Description

@davidjward30

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 Ernest Zaslavsky (@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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions