Skip to content

v7 backport pr2417,2420#2422

Open
squidadm wants to merge 2 commits into
squid-cache:v7from
squidadm:v7-backport-pr2417
Open

v7 backport pr2417,2420#2422
squidadm wants to merge 2 commits into
squid-cache:v7from
squidadm:v7-backport-pr2417

Conversation

@squidadm
Copy link
Copy Markdown
Collaborator

@squidadm squidadm commented May 21, 2026

rmetrich and others added 2 commits May 21, 2026 00:20
Legacy helper responses start with a URL instead of `OK rewrite_url=...`
and such. 2016 commit ddc77a2 introduced two bugs when handling legacy
responses:

* Response parsing code triggered MemBuf assertions when 0-terminating
  the parsing buffer for certain URLs. The bug affected legacy helper
  responses with and without space characters.

* Squid code attempted to accept/use helper-returned URLs with embedded
  space character(s), despite a WARNING implying that the post-space
  characters are not going to become a part of the new URL.
…-cache#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.
@squid-anubis
Copy link
Copy Markdown
Collaborator

Cannot create a git commit message from PR title and description.

Error while parsing PR description body: the line is too long 76>72

Problematic parser input:

- **Honor reply_header_max_size for received FTP control responses (#2417)**

Please see PR title and description formatting requirements for more details.

This message was added by Anubis bot. Anubis will add a new message if the error text changes. Anubis will remove M-failed-description label when there are no corresponding failures to report.

@squid-anubis squid-anubis added M-failed-description https://github.com/measurement-factory/anubis#pull-request-labels and removed M-failed-description https://github.com/measurement-factory/anubis#pull-request-labels labels May 21, 2026
@kinkie kinkie changed the title v7 backport pr2417 v7 backport pr2417,2420 May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants