PushIOvHelper errors
Alex Kiernan
alexk at demon.net
Wed Sep 11 15:09:24 UTC 2002
On Wed, 2002-09-11 at 16:03, Russ Allbery wrote:
>
> Alex Kiernan <alexk at demon.net> writes:
>
> > But when I was about to commit it, I set to thinking - if we've a write
> > error and we don't cope with the retries, the client is going to be out
> > of sync with us, so should we just call ExitWithStats()?
>
> PushIOvHelper should be calling xwritev so that short writes are handled
> internally.
I wondered about that, then looked at the SSL case & ran away :(
> Once it does that, the only way that it can fail is if we
> really can't write to the remote host, at which point calling
> ExitWithStats is correct, I think.
>
Makes sense.
--
Alex Kiernan, Principal Engineer, Development, THUS plc
More information about the inn-workers
mailing list