Override new minimal HttpRequest.Timeout of 1 second?

0 votes
asked Nov 1 by mobile653 (790 points)

In the release notes for Rebex HTTPS for .NET there is one interesting change:

HTTP: Very small timeouts (<1000) in HttpRequest.Timeout are treated as 1000 (one second).

Can we override this behaviour? We use short timeouts (some milliseconds) to provoke timeouts in test scenarios, which catch HTTP request/response timeouts. Those one will fail with the new version.

Applies to: Rebex HTTPS

1 Answer

0 votes
answered Nov 2 by Lukas Pokorny (126,870 points)

Oops, sorry for the inconvenience! It's not possible to override this, but we'll do something about it. In the meantime, if you need a hotfix build with this change disabled, please contact us at support@rebex.net!

commented Nov 5 by mobile653 (790 points)
Thank you, we’ll wait for the next version, which (hopefully) allows shorter timeouts again.