perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject the multiple messages over the same connection case
Date Sun, 23 Oct 2005 09:38:13 GMT
I'm trying to figure out what's the best way to handle multiple messages 
over the same connection case, since it looks like we may have a problem with.

So first of all the access logging. Should we commit the log at the end of 
EOM? (and also try in the handler in case EOM wasn't reached)

At the moment I've implemented a logger reset call in RSET and FROM, the 
problem is that we end up with QUIT ending up as one more entry. E.g. if 
there were 3 messages, we end up with 4 entries:

[Sun Oct 23 02:29:20 2005] i=127.0.0.1       c=250 l=RSET    d=00:00 
t=always    u=          m=foo3@example.com r=mar3@example.com s="" 
z="message queued"
[Sun Oct 23 02:29:20 2005] i=127.0.0.1       c=250 l=RSET    d=00:00 
t=always    u=          m=foo1@example.com r=mar1@example.com s="" 
z="message queued"
[Sun Oct 23 02:29:20 2005] i=127.0.0.1       c=250 l=RSET    d=00:00 
t=always    u=          m=foo2@example.com r=mar2@example.com s="" 
z="message queued"
[Sun Oct 23 02:29:20 2005] i=127.0.0.1       c=221 l=QUIT    d=00:00 
t=always    u=          m= r= s="" z="foo.bar.org Service closing 
transmission channel"



-- 
_____________________________________________________________
Stas Bekman mailto:stas@stason.org  http://stason.org/
MailChannels: Assured Messaging(TM) http://mailchannels.com/
The "Practical mod_perl" book       http://modperlbook.org/
http://perl.apache.org/ http://perl.org/ http://logilune.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message