[tpop3d-discuss] tpop3d 1.5.1pre2 (with TLS support)

Angel Marin anmar at gmx.net
Tue, 12 Nov 2002 21:21:11 +0100


> -----Mensaje original-----
> On Tue, Nov 12, 2002 at 06:38:44PM +0100, Angel Marin wrote:
> > I have a client giving failures for the same message retrieval. The same
> > error with TLS enabled and non TLS (instead of ioabs_tcp_.. ioabs_tls_..
> > reports the reset). Anyway I only have debug info of the non TLS one.
>
> I wonder if it's something to do with the data it's
> writing. Could you try
>
>     log_print(LOG_ERR, "ioabs_tcp_immediate_write(%p, \"%.*s\", %d)",
>                 c, count, buf, count);
>
> -- and see what that gives?

The data umm don't think so, the failing messages always get downloaded
after several retries. As the same error happens with both ioabs_tcp_..
ioabs_tls_.. or is something implemented the same way or maybe there is a
problem with one of the buffers these functions receive I guess ??

>
> Another possibility: could you also add
>
>     if (count == 0)
>         return 0;
>
> to the top of ioabs_tcp_immediate_write() -- I don't think
> that should make any difference, but it is a slight change
> from 1.4.2.
>

I'll give them a try maybe tomorrow morning if I have the time.

Angel.