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

phr_parse_headers is not working #85

Open
naushadck opened this issue Jul 12, 2024 · 0 comments
Open

phr_parse_headers is not working #85

naushadck opened this issue Jul 12, 2024 · 0 comments

Comments

@naushadck
Copy link

Hello,

Used the phr_parse_headers in the similar way of phr_parse_request.
phr_parse_request works fine. Where as the phr_parse_headers returns -1.
Code is given below.

num_headers = sizeof(headers) / sizeof(headers[0]);
ret = phr_parse_headers(REQ, strlen(REQ), headers, &num_headers, 0);

Any suggestions. Thanks....

@naushadck naushadck changed the title phr_parse_headers is not wprking phr_parse_headers is not working Jul 12, 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

1 participant