Skip to content

Fix RESTful detailed_online mismatch with online#142

Draft
Fhokud wants to merge 1 commit into
Itsusinn:mainfrom
Fhokud:fix-restful-detailed-online
Draft

Fix RESTful detailed_online mismatch with online#142
Fhokud wants to merge 1 commit into
Itsusinn:mainfrom
Fhokud:fix-restful-detailed-online

Conversation

@Fhokud

@Fhokud Fhokud commented Jul 4, 2026

Copy link
Copy Markdown

Summary

Fix RESTful online tracking inconsistencies where /detailed_online could return a different UUID from /online, or include users with an empty address list.

Changes

  • Filter /detailed_online by collected remote addresses instead of entry_count().
  • Register authenticated clients immediately instead of waiting for auth_timeout.
  • Track whether a connection was registered before unregistering it.
  • Fix maximum_clients_per_user off-by-one behavior and avoid leaking counters when a connection is rejected.
  • Add RESTful integration coverage for /online, /detailed_online, /traffic, /reset_traffic, and /kick.

@Fhokud Fhokud marked this pull request as draft July 6, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant