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

FSCK spurious logging #1

Open
wants to merge 1 commit into
base: HEAD~1
Choose a base branch
from
Open

FSCK spurious logging #1

wants to merge 1 commit into from

Conversation

bobtfish
Copy link
Owner

FSCK logs things back to the parent with 'debug Fixed FID XXXXX\n\r\n

This doesn't match the expected regex, and therefore gets split into two commands, which doesn't work as expected.

I have fixed both the spurious \n here, and also the fact that debug can log messages with \n in it.

This isn't a particularly nice solution, but currently the delete handler is really very dumb.
It parses the HTTP response _just_ to get the error code, and leaves any extra headers on the
socket. This means that with keepalive connections, subsequent requests will end up trying to
read in the headers for previous requests, which makes everything go horribly wrong.

The proper fix to this would be to use a proper HTTP client here, rather than a horrible hack.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant