Pete Maclean <[EMAIL PROTECTED]> > Mark, thank you for setting us straight on this. For me, another question > arises: when a server detects a connection break, should it process any > IMAP commands that it has pending for the session, or should it discard > them? Seems to me that a good strategy would be to do so > selectively.
Perhaps... > Obviously you don't want to process a SEARCH but it would be > helpful to perform a CLOSE or LOGOUT. Right. If (as server) you get EPIPE on write(), you might want to read and see if the client sent a LOGOUT before the connection went away. I'm not saying you should, though. It sounds a bit like feeping creaturitis... --Arnt
