Search squid archive

Re: squid 5.7 FTP upload fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2024-08-08 06:19, Matus UHLAR - fantomas wrote:
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.

Thank you for answering all of my questions.


Perhaps configuring proper debug_options, but which?

Yes, we should escalate triage to debugging log analysis. I am willing to study your ALL,9 cache.log collected from Squid v6 while reproducing the problem using a single transaction (or as few transactions as possible). Please share a pointer to compressed cache.log file (privately of needed). You probably do not need them, but there are a few relevant hints at https://wiki.squid-cache.org/SquidFaq/BugReporting#debugging-a-single-transaction


Thank you,

Alex.


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@xxxxxxxxxxx" 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@xxxxxxxxxxx/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


_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux