You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Overhaul stats events: merge HTTP core events with a different IP version #1373
changed the title [-]Overhaul stats events: group HTTP core events by IP version[/-][+]Overhaul stats events: merge HTTP core events with a different IP version[/+]on Mar 17, 2025
because the client's port might not be available. It requires to set the router in a way that you can get the connection info. It's available if you use the torrust-axum-http-tracker-server crate.
This is the layer in the axum router to get the connection info:
Activity
refactor: [torrust#1373] merge HTTP stats events with different IP ve…
refactor: [torrust#1373] capture socket address from connection info …
[-]Overhaul stats events: group HTTP core events by IP version[/-][+]Overhaul stats events: merge HTTP core events with a different IP version[/+]josecelano commentedon Mar 17, 2025
In the end, the code looks like the following:
because the client's port might not be available. It requires to set the router in a way that you can get the connection info. It's available if you use the
torrust-axum-http-tracker-servercrate.This is the layer in the axum router to get the connection info:
refactor: [torrust#1373] capture socket address from connection info …
refactor: [torrust#1373] capture socket address from connection info …
Merge #1374: Overhaul stats events: merge HTTP core events with a dif…
refactor: [torrust#1380] refactor: [torrust#1373] merge UDP stats eve…
Merge #1381: Overhaul stats events: merge UDP core events with a diff…