summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2026-04-28 20:14:33 +0200
committerJerome Forissier <[email protected]>2026-05-06 11:07:22 +0200
commite093a4ecbe0a74083b1baf16ef7c67fcddc437db (patch)
tree7aaac05ed2a751ba2a10efd4173e4f420f88b697 /src
parent4877a07ed3cf75fd6fe1acef0b3140a7b76eb680 (diff)
net: lwip/wget: don't print content size twice
If wget_info->silent is set, we should not print anything. If wget_info->silent we print the received content size. Printing the value of the Content-Length header is redundant For chunked transfer no Content-Length header is sent. The content length is returned as HTTPC_CONTENT_LEN_INVALID by the LwIP library. In this case we were incorrectly printing '4 GiB'. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Jerome Forissier <[email protected]>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions