Hi,

Pound v3 seems to have a problem with file sizes > 2GB, at least when running
on a 32bit OS (Slackware 14.2 in this case). On the very same system with the
very same file on the very same backend, Pound v2 (2.8) works fine as usual.

The symptom on the client side is that the transfer simply stalls after 2GB
and never finishes, you have to Ctrl+C (wget, curl) or cancel the download in
the browser. The size of the received file is always 2.147.483.647 bytes, which
looks suspiciously like 2*2^30-1.

The backend webserver doesn't notice any of this, it sends the full file and
then finishes the request properly. There are no remaining hanging connections
between it and the server running Pound. So it seems that Pound actually does
receive the whole file from the backend, but fails to pass it on to the client
in whole:


Pound v3 Log on the machine running Pound:

Jun  9 20:34:26 sphere pound: 88.198.217.189 - - [Thu Jun  9 20:34:26 2022] "GET 
/tmp/test-2g.bin HTTP/1.1" 200 -2147483359

Corresponding backend webserver access_log:

192.168.1.4 - - [09/Jun/2022:20:25:29 +0200] "GET /tmp/test-2g.bin HTTP/1.1" 
200 2148532224


Pound v2 Log on the machine running Pound:

Jun  9 18:27:22 sphere pound: www.zlatk0.net 88.198.217.189 - - [09/Jun/2022:18:18:27 +0200] "GET 
/tmp/test-2g.bin HTTP/1.1" 200 2148532224 "" "Wget/1.14 (linux-gnu)"

Corresponding backend webserver access_log:

192.168.1.4 - - [09/Jun/2022:18:18:27 +0200] "GET /tmp/test-2g.bin HTTP/1.1" 
200 2148532224


Pound v3 versions tested are 3.0.1 and 3.0.2, self-compiled on Slackware 14.2 
i686.
If you need any more information please let me know.

Thanks,
Thomas

--
pound mailing list
[email protected]
https://admin.hostpoint.ch/mailman/listinfo/pound_apsis.ch

Reply via email to