Ticket #388 (new Bug report)

Opened 1 year ago

Last modified 10 months ago

Patch to make garbage collector set timestamp_out

Reported by: leandro@texnet.it Assigned to:
Priority: normal Milestone: Not yet assigned to a Milestone
Component: Auth server, Authentication, permissions and access control Keywords:
Cc:

Description

When a node crash or it is powered off the "INUSE" connection is fixed after 10 minutes by the garbage collector. It will be nice if the garbage collector set the timestamp_out equal to the last_updated field to make consistent usage logging.

Patch attached

Thank you

Leandro

Attachments

include_common.php.diff (0.7 kB) - added by leandro@texnet.it on 10/02/07 12:39:30.
Patch

Change History

10/02/07 12:39:30 changed by leandro@texnet.it

  • attachment include_common.php.diff added.

Patch

01/26/08 10:54:56 changed by benoitg

The patch is technically correct, but I don't want to apply it as it is. Doing so would make it impossible to see symptoms of a crashed gateway. The proper solution would be to apply this patch, create a field "logout_reason", and set the logout reason to AUTH_SERVER_GARBAGE_COLLECT or some such in a schema update. Fixing that should happen as part of implementing the token architecture.


Add/Change #388 (Patch to make garbage collector set timestamp_out)