[Mono-dev] System.Web.Mail and TLS
Gonzalo Paniagua Javier
gonzalo at ximian.com
Tue Mar 21 17:05:19 EST 2006
On Tue, 2006-03-21 at 10:17 -0800, Vladimir Krasnov wrote:
> Please take a look at this code and suggest what to do.
In ReadResponse (), note that you should be expecting that Read does not
return all the bytes, even if the stream is not a NetworkStream. Also
the way you're building the string from the received bytes might lead to
different strings depending on how Read() behaves (apart from being a
waste of memory). I would rework that part.
-Gonzalo
More information about the Mono-devel-list
mailing list