Replies: 1 comment 3 replies
-
Yes, welcome to create PR. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I would like to point out to a race condition that my client program hits occasionally. It should be easy to fix.
I find my client in an infinite loop between lines:
https://github.com/joelee2012/api4jenkins/blob/main/api4jenkins/build.py#L26-L30
After doing strace on a hung client process, I found out the following:
It appears the client had read all the output from the build when the build was not quite done yet.
Then the client made another request only to find that there is no more output. At that point the client does not check about X-More-Data header and just loops back to make another request. It remain in this infinite loop :/.
Do you accept pull requests? Is this something you could fix?
Beta Was this translation helpful? Give feedback.
All reactions