If we can't rely on the OS to handle corking for us, then we need to enable our own handling of it.pull/1641/head
using namespace rdr; | using namespace rdr; | ||||
FdOutStream::FdOutStream(int fd_) | FdOutStream::FdOutStream(int fd_) | ||||
: BufferedOutStream(false), fd(fd_) | |||||
#ifdef TCP_CORK | |||||
: BufferedOutStream(false), | |||||
#else | |||||
: BufferedOutStream(true), | |||||
#endif | |||||
fd(fd_) | |||||
{ | { | ||||
gettimeofday(&lastWrite, NULL); | gettimeofday(&lastWrite, NULL); | ||||
} | } |