|
ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
|
Layer 5 (Session) - opening and closing an event stream. More...
#include "protocore_config.h"Go to the source code of this file.
Layer 5 (Session) - opening and closing an event stream.
RFC 4254 sec 5 states the shape a multiplexed stream takes: a side that opens "allocates a local number for the channel", and a party "may then reuse the channel number" once it is closed. Sequencing that open and that close is this layer's.
RFC 9293 sec 3.6 MUST-12 is why the close is one call rather than each caller's checklist: "If the local TCP connection is closed by the remote side due to a FIN or RST received from the remote side, then the local application MUST be informed whether it closed normally or was aborted."
Definition in file sse.h.