james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harmeet Bedi" <harm...@kodemuse.com>
Subject Re: Understanding the SMTPHandler Data method
Date Fri, 06 Jun 2003 00:37:39 GMT
----- Original Message -----
From: "Andrew C. Oliver" <acoliver@apache.org>
>        ih = new InternetHeaders(msgIn);
> // just for debugging
>        byte[] b = new byte[4];
>        msgIn.read(b);
....
> Oddly, this just blocks when mozilla mail tries.

There may be a problem with above snippet.
It is my impression that InternetHeaders eats line terminating CRLF and the
empty line after header. It attempts to read bytes till it finds an empty
line.

This may be a reason for blocking.

Harmeet


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


Mime
View raw message