Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not increment reqstate when headers are incomplete. #825

Merged
merged 1 commit into from
Oct 2, 2018

Conversation

bbockelm
Copy link
Contributor

If the server got incomplete headers (I was able to reliably trigger this with connection reuse), the reqstate variable was still incremented.

This resulted in the request state becoming inconsistent - notably, for master, we saw HEAD requests believed they always included a checksum. There are likely other strange XrdHttp behaviors that could have been triggered due to the same bug, hence the request for backport to the stable branch.

(cherry picked from commit 88dad6a; backport of relevant fix in #822)

If the server got incomplete headers (I was able to reliably trigger
this with connection reuse), the reqstate variable was still incremented.

This resulted in the request state becoming inconsistent - notably,
HEAD requests believed they always included a checksum.  There are
likely other strange XrdHttp behaviors that could have been triggered
due to the same bug.

(cherry picked from commit 88dad6a)
@xrootd-dev
Copy link

xrootd-dev commented Sep 13, 2018 via email

@bbockelm
Copy link
Contributor Author

Hi Andy,

This is simply a backport of #822. We put other (more complex) backports into stable without Fabrizio - why do we need him now?

Brian

@xrootd-dev
Copy link

xrootd-dev commented Sep 17, 2018 via email

@simonmichal simonmichal merged commit 60f9600 into xrootd:stable-4.8.x Oct 2, 2018
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.

None yet

3 participants