-
Notifications
You must be signed in to change notification settings - Fork 18k
x/net/http2: the peer windows size not updated in processSettingInitialWindowSize() #26957
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
Comments
I don't remember the code to say without looking at it, but this isn't an area I knew of any problems. Did you find this through reading the code alone, or do you have a repro? You say it impacts latency in a load test. Which client or tool are you using for load testing so we can see this behavior? Can you post the output of the server running with environment variable Thanks! /cc @fraenkel |
/cc @tombergan |
hi @bradfitz , the load test tool is a private tool which be implemented by JAVA.
then I got following prints in my log: That means all new stream will use st.flow.conn.n(sc.flow.n) but not st.flow.n as window size initial value. |
Can you post the output of the server running with environment variable |
hi @bradfitz |
This is unlikely to get prioritized attention without |
@crowfrog I think there is something else amiss. I modified a testcase
The relevant http2debug shows:
Without more information it is hard to determine where if any a problem is. |
hi Fraenkel & Bradfitz, Sorry for relply so late! B.R |
What version of Go are you using (
go version
)?golang:1.10.0 linux
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?container: rhel
kubenet:
What did you do?
In processSettingInitialWindowSize()
The code adjust the size of all stream flow control windows but not change the server connection flow's.
That makes all new steam will use 65535 as initial window size but not the value from InitialWindowSize in SETTINGS
What did you expect to see?
the window size could be updated if client send InitialWindowSize in SETTINGS
What did you see instead?
65535 will be cost out speedily in high load performance test and makes server pending response until clinet WINDOW_UPDATE comes.
It impacts latency of load test.
The text was updated successfully, but these errors were encountered: