Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

add on_reason to fix issue #59 #60

Closed
wants to merge 3 commits into from
Closed

Conversation

toffaletti
Copy link

No description provided.

@toffaletti toffaletti closed this Aug 16, 2011
@toffaletti toffaletti reopened this Aug 16, 2011
@toffaletti
Copy link
Author

For some reason I can't update this pull request to include more commits. I made 2 commits, but this is only showing 1 of them.

@clifffrey
Copy link
Contributor

The general idea of this seems reasonable to me, but I'd love to hear from anyone else who would find this functionality useful.

If it were to actually be merged, I'd want to see updates to test.c as well.

@toffaletti
Copy link
Author

I've updated the tests to include the reason string, which helped me fix a bug. I also looked back through old issues to find people who might be using http-parser in a proxy server and sent them messages asking for feedback on the change.

CALLBACK(reason);
state = s_header_field_start;
break;
default:

This comment was marked as off-topic.

@bnoordhuis
Copy link
Member

This PR is pretty stale by now. Do we still want this functionality?

@bnoordhuis
Copy link
Member

Closing, no response in almost two weeks.

@bnoordhuis bnoordhuis closed this Feb 9, 2012
@williamkapke
Copy link

FWIW- I'm another person that dug into the code to find out where that darn reason phrase was hiding. I'm wishing this functionality had made it in.

Maybe you can put it on a feature request list?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants