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