From a5bc15b2e114a39d7b4f14bd1ba17182d6f07ed2 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 5 Jul 2010 13:24:12 -0400 Subject: [PATCH] Drain th_notify_fd[0] more bytes at a time. --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.c b/event.c index f68d345c..12522993 100644 --- a/event.c +++ b/event.c @@ -2536,7 +2536,7 @@ evthread_notify_drain_eventfd(evutil_socket_t fd, short what, void *arg) static void evthread_notify_drain_default(evutil_socket_t fd, short what, void *arg) { - unsigned char buf[128]; + unsigned char buf[1024]; #ifdef WIN32 while (recv(fd, (char*)buf, sizeof(buf), 0) > 0) ; -- 2.40.0