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

modernize request handling #41

Merged
merged 2 commits into from
Apr 4, 2019
Merged

modernize request handling #41

merged 2 commits into from
Apr 4, 2019

Conversation

Stebalien
Copy link
Member

I believe this was written before request hijacking was a thing. We no longer need to hold the ServeHTTP function open.

I believe this was written before request hijacking was a thing. We no longer
need to hold the `ServeHTTP` function open.
@ghost ghost assigned Stebalien Apr 4, 2019
@ghost ghost added the status/in-progress In progress label Apr 4, 2019
@Stebalien Stebalien mentioned this pull request Apr 4, 2019
9 tasks
}()
go func() {
_ = c.Close()
}()

Choose a reason for hiding this comment

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

What's going on here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Making linters happy and making it clear that we're explicitly ignoring the errors. I can't actually check the errors because this is a stress-test and both of these functions may or may not error.

@Stebalien Stebalien merged commit 93daaa6 into master Apr 4, 2019
@Stebalien Stebalien deleted the fix/modernize branch April 4, 2019 07:40
@ghost ghost removed the status/in-progress In progress label Apr 4, 2019
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.

3 participants