[documentation] Issues with curl 7.64 and HTTP/2 POST requests #26
Labels
No Label
bug
feature
good-beginner-bug
needs-test
question
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: electricdusk/rushlink#26
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Minnozz experienced strange timeouts when
POST
ing files usingcurl 7.64.1 (x86_64-apple-darwin19.0) libcurl/7.64.1 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.39.2
.These timeouts did not occur when using
curl 7.67.0 (x86_64-pc-linux-gnu) libcurl/7.67.0 OpenSSL/1.1.1d zlib/1.2.11 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh2/1.9.0 nghttp2/1.39.2
Some (curl 7.64.1) debuglogs from nginx later (curl 7.67.0), it seems we may be hitting this fixed bug.
The current spread of
curl
versions in production (scales to number of pastes):The bug was fixed since 7.65.2. It might be good to document a workaround (e.g. using
--http1.1
in the request).Just add
--http1.1
to the examples on the index page for now?We could also (temporarily?) disable HTTP/2 on the nginx side. I don't think HTTP/2 has many advantages over HTTP/1.1 for rushlink.
Latest spread of
curl
versions:We should add the curl
--http1.1
to @mara 's upload script, maybe even with a check if the curl is version<7.65.2
.