[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code questions...




On Sat, 4 Feb 1995, Matti Aarnio wrote:

> >   - smtpserver appears to allow SMTP sessions in the DATA part to stay open
> > for 24 hours?!?  This seems odd.  It appears to be a simple change to put an
> > alarm call within the header processing, and data processing loop in order
> > to timeout SMTP sessions after 20 minutes of no data.  Would this be a good
> > idea, or is there a better way?
> 
> 	I moved the alarm()s inside the  mvdata(),  and within it
> 	do re-arm the alarm after each kilobyte.  Will 10 minutes
> 	be enough for the kilobyte ?  I think it will be :-)

  Since I don't see alarm() calls in the mvdata() that I have, I assume 
that you must be refering to your development version....could you send 
over your smtpserver.c? :)

Tom