-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
ConnState hook for StateActive not working #441
Comments
Seems to be working OK with |
I think only setting it |
alxarch
added a commit
to alxarch/fasthttp
that referenced
this issue
Oct 23, 2018
erikdubbelboer
pushed a commit
that referenced
this issue
Oct 28, 2018
Should be fixed in 1b3ac0c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that the ConnState hook is not called for a connection transitioning to StateActive. The hook call is inside an if that never evaluates to true since
RequestHeader.tryRead()
discards the header bytes before returning thusif r.Buffered() > 0
is alwaysfalse
for requests with no body.The text was updated successfully, but these errors were encountered: