Matt Sergeant wrote:
> Yeah you can't read from STDIN because the socket is non-blocking, and 
> so you have to just wait to be told there's a line available. This will 
> require a continuation - I'll look into it now.

So the fact that the same code apparently works for LOGIN and PLAIN methods is
an accident, nothing more.  It just so happens that when the CRAM-MD5 method
isn't available, the client sends the full

AUTH PLAIN  AHBvc3RtYXN000JAZXhhbXBsZS5jb20AYW4zY2l0ZQ==

stanza and it succeeds the first time (no back and forth between client and 
server).

<much useful information about Danga deleted>

I'll read over that and see about creating a virus-scan subclass that any
scanner can subclass.

John

Reply via email to