Skip to content
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

tests(http) try and reproduce timeout issue #138 #144

Merged
merged 2 commits into from
Sep 21, 2022
Merged

tests(http) try and reproduce timeout issue #138 #144

merged 2 commits into from
Sep 21, 2022

Conversation

Tieske
Copy link
Member

@Tieske Tieske commented Sep 18, 2022

adds some other commits encountered while writing the tests

@Tieske Tieske force-pushed the http branch 5 times, most recently from a51a7f4 to 87fb8f6 Compare September 18, 2022 12:43
@Tieske Tieske force-pushed the http branch 3 times, most recently from 3f0fd59 to 6b3e7f1 Compare September 21, 2022 13:29
With Lua 5.1 a pcall gets wrapped in another coroutine (by the coxpcall
library), the expired timeouts would resume the wrapped coroutine instead
of the original one. This caused one level to little on the stack, and
hence timeout errors would bubble up 1 level too many.

fixes #138
@Tieske Tieske merged commit 973b844 into master Sep 21, 2022
@Tieske Tieske deleted the http branch September 21, 2022 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant