Package: proxytunnel
Version: 1.9.0-5
Tags: patch

Hi,

When proxytunnel writes to a socket it will fail if the call to send()
does not return the requested number of bytes to be written.

However, send may actually return before all the bytes have been
written and require the the caller invoke send again.

I am able to consistently reproduce the problem when using 2 proxies
with SSL and tunnel SMTP traffic generated by postfix inside it.

Here is a patch to fix the issue. Tested and working in my case.

Thanks,
Ludovico

Attachment: 004_socket_write_loop
Description: Binary data

Reply via email to