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

ADD TimeoutWithCodeHandler support #589

Merged
merged 2 commits into from
Jun 6, 2019
Merged

ADD TimeoutWithCodeHandler support #589

merged 2 commits into from
Jun 6, 2019

Conversation

losingle
Copy link
Contributor

@losingle losingle commented Jun 5, 2019

Yes, normally, there is no need to change the status code, following the rules of HTTP.
However, some business scenarios may be needed, and I think fasthttp, as a network base library, should give control to the developers.
Because our business will need to timeout the request, return 204 status code

Originally posted by @losingle in savsgio/atreugo#22 (comment)

server.go Outdated Show resolved Hide resolved
Copy link
Contributor Author

@losingle losingle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change

@erikdubbelboer erikdubbelboer merged commit 9494955 into valyala:master Jun 6, 2019
@erikdubbelboer
Copy link
Collaborator

Thanks

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

Successfully merging this pull request may close these issues.

2 participants