Sending logout events

Attila Nagy bra at
Wed Aug 27 12:39:01 MSD 2008


Would it be possible to extend this protocol:

with logout (connection closed, timeout, etc) events?

Something like this:

GET /close HTTP/1.0
Host: auth.server.hostname
Close-User: user
Close-Port: 143
Close-Protocol: imap
Close-Cause: logout|server_timeout|client_ssl_timeout|client_closed|server_closed|etc

The main benefit would be that the authenticator application could build 
a session table from live sessions, which is currently very hard to do. 
This means after an authentication OK response is sent, nginx should 
send a close event, no matter how the connection was lost (setting the 
Close-Cause accordingly).


More information about the nginx mailing list