-
Notifications
You must be signed in to change notification settings - Fork 181
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
Requests sent twice #667
Comments
There are default retry options: Line 117 in 337a372
retry=false or retries=0 .
|
Ok I will try that and reopen if the problem resurfaces. Thanks Jacob |
Hmm, I seem to be getting a bunch of these now:
I am not sure why it would show "stream is closed". Currently I am using:
I wonder if this may be somehow related to the pipeline_limit=0? So what's the right fix for this? And is there any particular reason that this seems to happen on the server side? Note: I also updated to HTTP 0.9.2 because I've seen there were some commits on those lines, but that didn't seem to fix it. |
Ok, so this seems to happen notably when HTTP requests are done in quick succession, i.e.:
will ALWAYS result in the |
I think |
Pipelines have been removed for clients, #783 , which might fix this issue. Could you try this again with:
|
Any remaining issues here should be resolved in HTTP#master |
Julia 1.5.3
HTTP 0.9.1
In very rare circumstances the HTTP lib seems to send the same request TWICE using
r = HTTP.request("GET", url; verbose=0, connection_limit=500, pipeline_limit=0, readtimeout=60)
This happens maybe every 10,000 requests. Note that I am running this on spawned threads and that the double request is coming from the same thread.
I gonna try to create a reproduceable example but until then would anyone have an idea what the cause of that could be?
The text was updated successfully, but these errors were encountered: