Closed cabo closed 7 years ago
My perception is that this has been asked and answered. For example - https://www.ietf.org/mail-archive/web/core/current/msg08621.html
PONG is modeled on similar mechanisms in RFC6455 and RFC7540. Neither provides any guidance for this case. It's expected that an application framework would define and enforce the appropriate policy for timeouts or retries.
From https://www.ietf.org/mail-archive/web/core/current/msg08958.html
... One plan would be to appropriate some text from section 6 of RFC 7230, which might include phrases such as "It is beyond the scope of this specification to describe “ and "Implementations ought to anticipate the need to recover from asynchronous close events.”
I don’t think it is the intention of the WG to prescribe specific timing or other parameters related to connection management; e.g., we have learned from RFC 2616 that standardizing a specific number for the limit to simultaneous connections (end of section 8.1.4 there) can be a mistake; this was not repeated in RFC 7230 (replacement text: "A client ought to limit the number of simultaneous open connections that it maintains to a given server.” — no specific number given, and non-RFC2119 “ought to” language).
(See TSVART review and Mirja's questions:)