Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status of clients/users connected #160

Closed
wants to merge 40 commits into from

Conversation

andyb2000
Copy link
Contributor

This will provide a new tab to display active subscriptions to the service, HTSP and HTTP connections, their username, IP, date/time and also channel subscription (if applicable).
NOTE: PR needs extjs work on it, pushing for visibility to xhaggi

andyb2000 and others added 30 commits September 8, 2012 09:32
as a config parameter not an in-memory storage
config options not in-memory structure (for runtime logging)
Fixed search and display routine (will dump current user
database on a status.xml request)

And user information automatically updated at each http or htsp
request.
Now outputs logs in the format:

Sep 17 10:30:04 [DEBUG]:accesscontrol: Logging structure al->id: 2
Sep 17 10:30:04 [DEBUG]:accesscontrol: Logging structure al->username: andyb
Sep 17 10:30:04 [DEBUG]:accesscontrol: Logging structure al->startlog: 1347874194
Sep 17 10:30:04 [DEBUG]:accesscontrol: Logging structure al->currlog: 1347874204
Sep 17 10:30:04 [DEBUG]:accesscontrol: Logging structure al->ip: 192.168.2.94
Sep 17 10:30:04 [DEBUG]:accesscontrol: Logging structure al->type: http
displays contents of the access_log database
suggestion
Re-do initial logging initialisation code
a destroy event to remove when client disconnects (hopefully)
logs honoured, so status.xml now shows active htsp
and will remove htsp client/user on stop subscription
for htsp subscriptions by parsing the log data
string
@@ -55,6 +56,20 @@
char *at_resource;
} access_ticket_t;

/* https://github.com/andyb2000 structure for access logging */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the andyb2000 stuff

@andyb2000 andyb2000 closed this Oct 9, 2012
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.

None yet

2 participants