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

x/net/http2: ConnState Unable to track #43585

Closed
fsyyft opened this issue Jan 8, 2021 · 2 comments
Closed

x/net/http2: ConnState Unable to track #43585

fsyyft opened this issue Jan 8, 2021 · 2 comments

Comments

@fsyyft
Copy link

fsyyft commented Jan 8, 2021

What version of Go are you using (go version)?

$ go version

1.15.6

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env

What did you do?

What did you expect to see?

net/http package Server struct in the SDK have ConnState func(net.Conn, ConnState), But not exists in the 'Server' struct of 'x/net/http2'

With the h2c feature, when the state variable is converted to http.StateHijacked , I will no longer know the subsequent state of the connection.

I expect to be able to follow the status of this TCP connection until it is closed.

Is there such a function or a flexible solution? Thank you

What did you see instead?

@mengzhuo
Copy link
Contributor

mengzhuo commented Jan 8, 2021

Hi, fsyyft

The Go project doesn't use the issue tracker for questions. See https://golang.org/wiki/Questions.

@cagedmantis
Copy link
Contributor

@mengzhuo is correct. We don't use the issue tracker for questions. Thank you for your interest in Go!

@golang golang locked and limited conversation to collaborators Jan 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants