]> granicus.if.org Git - neomutt/commit
Fix tunnels to also retry and write full buffer
authorKevin McCarthy <kevin@8t8.us>
Tue, 22 Jan 2019 03:43:08 +0000 (19:43 -0800)
committerRichard Russon <rich@flatcap.org>
Wed, 20 Feb 2019 00:55:01 +0000 (00:55 +0000)
commit12de51cc7d690582364079b568b1be58a75fc41b
treea98e576e2e3648a6e2f8cb6c3b8625c931863a32
parentc2f86a20f8095d8b459c509cbd3b936c917fa4aa
Fix tunnels to also retry and write full buffer

Change the tunnel_socket_read() and tunnel_socket_write() as the raw
sockets were adjusted in the previous commit.  Retry on EINTR, and
complete a full write so all the implementations have the same behavior.

Co-authored-by: Richard Russon <rich@flatcap.org>
conn/tunnel.c