[squid-users] squid 5.7 FTP upload fails

Matus UHLAR - fantomas uhlar at fantomas.sk
Thu Aug 8 10:19:51 UTC 2024


>On 2024-08-07 13:05, Matus UHLAR - fantomas wrote:
>>after we upgraded squid 4.13 to squid 5.7 (debian 11 to 12)
>>our user reported that attempring to uploading bigger files fails.

On 07.08.24 14:31, Alex Rousskov wrote:
>Thank you for sharing access.log records. Any relevant messages in 
>cache.log?

No. Perhaps configuring proper debug_options, but which?

>There were a few bug fixes related to FTP and uploads, but I do not 
>see some of them in (unsupported) v5. Does your test work with Squid 
>v6+?

I tried with squid 6.10 (manually backported from debian unstable).
The same behaviour.

>># time curl -v --no-progress-meter -x 10.X.Y.Z:port -T 
>>gnome-cards-data_3.22.23-1_all.deb -u "anonymous:proxy1 at example.com" 
>>ftp://example.net/incoming/
>>*   Trying 10.X.Y.Z:port...
>>* Connected to 10.X.Y.Z (10.X.Y.Z) port port (#0)
>>* Server auth using Basic with user 'anonymous'
>>>PUT ftp://anonymous:proxy1%40example.com@example.net/incoming/gnome-cards-data_3.22.23-1_all.deb 
>>>HTTP/1.1
>>>Host: example.net:21
>>>Authorization: Basic YW5vbnltb3VzOnByb3h5MUB2c3pwLnNr
>>>User-Agent: curl/7.74.0
>>>Accept: */*
>>>Proxy-Connection: Keep-Alive
>>>Content-Length: 10526800
>>>Expect: 100-continue
>>>
>>* Done waiting for 100-continue
>>} [65536 bytes data]
>>* Recv failure: Connection reset by peer
>>* Closing connection 0
>>curl: (56) Recv failure: Connection reset by peer
>>
>>real    0m1.043s
>>user    0m0.004s
>>sys     0m0.012s

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The early bird may get the worm, but the second mouse gets the cheese.


More information about the squid-users mailing list