macula_quic_conn_callback (macula v0.20.5)
View SourceQUIC connection callback module for Macula. Implements quicer_connection behavior to handle connection lifecycle.
Summary
Functions
Handle connection closed
Handle connection established
Handle other messages
Initialize connection callback state
Handle local address changed
Handle new connection With quicer_server, streams are delivered automatically via new_stream/3
Handle new stream With quicer_server, ALL streams are delivered here (not just orphans) Forward them to the gateway for processing
Handle NST received (not used for server)
Handle peer address changed (NAT rebinding) This callback is triggered when the peer's observed address changes, typically due to NAT rebinding. We need to: 1. Log the address change 2. Invalidate cached NAT profile for the peer 3. Update connection tracking
Handle peer needs streams
Handle connection resumed
Handle connection shutdown
Handle streams available
Handle transport shutdown
Functions
Handle connection closed
Handle connection established
Handle other messages
Initialize connection callback state
Handle local address changed
Handle new connection With quicer_server, streams are delivered automatically via new_stream/3
Handle new stream With quicer_server, ALL streams are delivered here (not just orphans) Forward them to the gateway for processing
Handle NST received (not used for server)
Handle peer address changed (NAT rebinding) This callback is triggered when the peer's observed address changes, typically due to NAT rebinding. We need to: 1. Log the address change 2. Invalidate cached NAT profile for the peer 3. Update connection tracking
Handle peer needs streams
Handle connection resumed
Handle connection shutdown
Handle streams available
Handle transport shutdown