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

Accept LF terminated headers #141

Open
mbr opened this issue Mar 20, 2018 · 1 comment
Open

Accept LF terminated headers #141

mbr opened this issue Mar 20, 2018 · 1 comment

Comments

@mbr
Copy link

mbr commented Mar 20, 2018

While it seems that CRLF line-endings are the only ones acceptable by the standard, just LF line-endings often end up being used as well (e.g. using nc to test and forgetting the -C parameter).

Using a sole \n as the header terminator results in rouille just being stuck (probably waiting for the first line to end), which is very confusing when debugging. Could/should we add the recommended "tolerance" for these kinds of line endings?

@mbr mbr changed the title Accept \n terminated headers Accept LF terminated headers Mar 20, 2018
@kolbma
Copy link

kolbma commented Jan 31, 2024

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

No branches or pull requests

2 participants