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

parser bug(s) #1

Open
Delphi-Coder opened this issue Dec 4, 2022 · 0 comments
Open

parser bug(s) #1

Delphi-Coder opened this issue Dec 4, 2022 · 0 comments

Comments

@Delphi-Coder
Copy link

Delphi-Coder commented Dec 4, 2022

There is no guaranty that we receive Content-type right before Content-length, such sequences might vary from server to server so the function(s) parse_resp_hdrs and parse_hdr_content in parser.c not seems to implemented properly.
There is also problem with get_next_line because double CRLF not always mean end of text, It could be seen also in the middle of response text and in this case code wont work.

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

1 participant