[PATCH v2 0/5] Avoid hang if curl needs eof twice + minor related improvements
- From
Jiří Hruška <jirka@fud.cz>
- Date
- Nov 15, 2023, 03:34 UTC
- Message-ID
- <CAGE_+C4mUw8U6YK0m6hRvcqriv4pWdsELpyRJBCY-LrdHjWwgw@mail.gmail.com>
- In-Reply-To
- <CAGE_+C6DJMAO0bj5QHoKBBV3gMEMtZ-ajJ9ZnDGYq6eorr-oig@mail.gmail.com>
Proposed changes split into several commits for clarity
Jiri Hruska (5): remote-curl: avoid hang if curl asks for more data after eof remote-curl: improve readability of curl callbacks remote-curl: simplify rpc_out() - remove superfluous ifs remote-curl: simplify rpc_out() - less nesting and rename http: reset CURLOPT_POSTFIELDSIZE_LARGE between requests
http.c | 1 + remote-curl.c | 99 +++++++++++++++++++++++++++++---------------------- 2 files changed, 58 insertions(+), 42 deletions(-)
-- 2.42.1.5.g2f21867bd5