diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-01-20 14:44:54 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-01-23 14:38:11 +0300 |
commit | 59a86f5ea854475b365679bd8d7604e50b724783 (patch) | |
tree | c04573b6b75783c1751c3e45e81e7ee596c04e59 /bpkg/fetch.hxx | |
parent | 8085f0f8ae4520fcd9ac9bf1ec9ac7ec5f1aad90 (diff) |
Fix unexpected 'unable to read HTTP response status line' fetch error
Diffstat (limited to 'bpkg/fetch.hxx')
-rw-r--r-- | bpkg/fetch.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bpkg/fetch.hxx b/bpkg/fetch.hxx index 78e77a7..6578f0d 100644 --- a/bpkg/fetch.hxx +++ b/bpkg/fetch.hxx @@ -156,7 +156,9 @@ namespace bpkg // whether stderr is redirected by checking process::in_efd. // // In contrast to start_fetch() always fetch to stdout, which can be read by - // the caller from the specified stream. + // the caller from the specified stream. On HTTP errors (e.g., 404) this + // stream may contain the error description returned by the server and the + // process may exit with 0 code. // // If the quiet argument is true, then, if stderr is redirected, minimize // the amount of diagnostics printed by the fetch program by only printing |