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

check for codes before writing header #10

Open
terrydavis903 opened this issue Aug 21, 2021 · 1 comment
Open

check for codes before writing header #10

terrydavis903 opened this issue Aug 21, 2021 · 1 comment

Comments

@terrydavis903
Copy link

in server.go, check if code < 100 or > 999, before checkWriteHeaderCode(code)

there are times it passes code 0, which will hangup socket on client end, and crash server end

@gotsteez
Copy link
Contributor

I don't believe that is an error with fhttp, think that is in the scope of net/http?

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