>> >> +1 for the theory, but I'm not sure if it's feasible or not.
Some other ideas: * Does something like a select/poll/getpeername() ever tell us of an error when a write() doesn't? * Could we give people an Expect: 100-continue option on the initial client request?