Expose timeToFirstMessage in Java/XML config
Issue: SPR-16531
This commit is contained in:
@@ -683,6 +683,22 @@
|
||||
@param sendBufferSizeLimit the maximum number of bytes to buffer when
|
||||
sending messages; if the value is less than or equal to 0 then buffering
|
||||
is effectively disabled.
|
||||
]]></xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:attribute>
|
||||
<xsd:attribute name="time-to-first-message" type="xsd:string">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation><![CDATA[
|
||||
Set the maximum time allowed in milliseconds after the WebSocket
|
||||
connection is established and before the first sub-protocol message is
|
||||
received.
|
||||
|
||||
This handler is for WebSocket connections that use a sub-protocol.
|
||||
Therefore, we expect the client to send at least one sub-protocol message
|
||||
in the beginning, or else we assume the connection isn't doing well, e.g.
|
||||
proxy issue, slow network, and can be closed.
|
||||
|
||||
By default this is set to 60,000 (1 minute).
|
||||
]]></xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:attribute>
|
||||
|
||||
Reference in New Issue
Block a user