]> git.ipfire.org Git - thirdparty/squid.git/commit
Honor reply_header_max_size for received FTP control responses (#2417)
authorRicardo Ferreira Ribeiro <garb12@pm.me>
Tue, 12 May 2026 07:42:20 +0000 (07:42 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 20 May 2026 21:37:13 +0000 (21:37 +0000)
commit46f3f80c309059d77f7f777195f4dc1caebf13ce
tree3e18c8db1d4d403d62944b245a779e57c97a5a4c
parent5c1d937d2068e4861f206884cebb02d2958d3563
Honor reply_header_max_size for received FTP control responses (#2417)

2023 commit 801593a claimed that `reply_header_max_size` applied to "FTP
command responses". However, that misleading claim probably only covered
FTP command replies that were parsed while being loaded from cache[^1],
after being converted to HttpReply objects and written to Store. The
same claim now applies to all received/raw FTP command replies as well.

[^1]: Both store_client::parseHttpHeadersFromDisk() and
MemStore::copyFromShm() called HttpReply::parseTerminatedPrefix().

This is a Measurement Factory project.
src/clients/FtpClient.cc