httpwg / http2-spec Public
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
PING payload #68
Comments
|
Ever used ICMP ping? Same reason. Maybe we need to explicitly allow an endpoint (not just the server) to On 18 April 2013 11:13, Jeff Pinner notifications@github.com wrote:
|
|
ping flood Guess we want more than just a liveness check from the PING mechanism now? |
|
There's specific text in there to support the use of PING as a way to On 18 April 2013 15:52, Jeff Pinner notifications@github.com wrote:
|
|
RTT can be measured without the arbitrary payload size. My gut reaction is that allowing the server to truncate is equivalent or perhaps worse than not allowing a payload. Not trying to be difficult here -- just finally got around to trying to implement the framing layer. |
|
If you want to perform an RTT measurement without having to do lockstep The only reason the payload is there is to replace a feature that was On 18 April 2013 15:59, Jeff Pinner notifications@github.com wrote:
|
|
Yep -- so maybe either allow "stream identifier" to be "identifier" or make the payload 4 bytes of "identifier" instead of an arbitrary packet. The aesthetician in me like the uniformity of "stream identifier" being 0 for session based frames so I would prefer the latter :) |
|
It's not just a correlator that would be needed. If I'm just doing timing, On 18 April 2013 16:24, Jeff Pinner notifications@github.com wrote:
|
|
Please summarise this on the mailing list and look for input there before finishing. Thanks, |
|
See: #91 |
|
James' proposal from #91: |
|
Discussed at SF interim; fix PING to 8 bytes. |
|
Current text already says "In addition to the frame header, PING frames MUST contain 8 additional octets of opaque data. A sender can utilize this payload in any manner it wishes but MUST include the octets even if they are unused. Receivers of a PING send a response PING frame with the PONG flag set and precisely the same sequence of octets back to the sender as soon as possible." We can close this, right? |
|
What should a recipient do if it receives a PING with other than 8 bytes? |
|
session error |
|
Yep - but it needs to be spec'd. |
|
I think that we got it all. Closing! |
In the current draft, the PING frame requires the server to resend an arbitrarily large payload.
Perhaps restrict the length of the PING frame to 0, allow any stream identifier in the header require the server to echo the identifier?
I'm not sure what benefit being able to echo arbitrary contents provides.
The text was updated successfully, but these errors were encountered: