Instead of changing the implementation of TBufferedTransport::read(), how about replicating the ECONNRESET check in TSocket::recv?
Patrick Schlangen wrote: > Hi, > >> How did your test turn out? > > the code seems to run flawlessly with the modifications and did not raise the > error messages a single time. > > I think disabling the read <-> peek optimization and enabling the __FreeBSD__ > code parts on a Mac would be a good idea. > Maybe we should forward this to the developers? > > Patrick
