"Scot Loach" <sloach@sandvine.com> writes:
> On FreeBSD, it is possible for a send() call on the backend socket to return
> an error code of EHOSTDOWN.
That's fine as long as the error condition is reasonably persistent.
I think what you are describing is a bug in FreeBSD's TCP stack: it
obviously isn't making adequately good-faith efforts to deliver the data
it's been handed.
regards, tom lane