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

XrdHttp: Fix empty PUT #1390

Merged
merged 1 commit into from
Feb 1, 2021
Merged

XrdHttp: Fix empty PUT #1390

merged 1 commit into from
Feb 1, 2021

Conversation

bbockelm
Copy link
Contributor

If the remote client is trying to create an empty file, the state machine broke because it was waiting for more bytes from the bridge before advancing the query.

This short-circuits the wait and causes an immediate callback, allowing XrdHttp to immediately close the file.

Fixes #1365

If the remote client is trying to create an empty file, the state
machine broke because it was waiting for more bytes from the bridge
before advancing the query.

This short-circuits the wait and causes an immediate callback,
allowing XrdHttp to immediately close the file.
@abh3 abh3 merged commit a31d667 into xrootd:master Feb 1, 2021
@abh3
Copy link
Member

abh3 commented Feb 1, 2021

Thanks Brian. This will definitely be in 5.1.0.

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.

Cannot copy a zero-byte file with http
2 participants