From e0097a12181754bead8cb0679e88cfcfc04194dd Mon Sep 17 00:00:00 2001 From: David Brodsky Date: Sun, 1 Jul 2007 21:35:19 +0200 Subject: [PATCH] Use non-blocking operation in Tairon::Net::Writer::write(). --- src/net-limit/writer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net-limit/writer.cpp b/src/net-limit/writer.cpp index 064b171..1b1a2d3 100644 --- a/src/net-limit/writer.cpp +++ b/src/net-limit/writer.cpp @@ -50,7 +50,7 @@ void Writer::write() limiter->wantMore(writeFunctor); else { try { - size_t len = socket->write(buffer + offset, count); + size_t len = socket->write(buffer + offset, count, false); if (len) { offset += len; limiter->transferred(len); -- 2.11.4.GIT