From: Abhishek Lekshmanan Date: Tue, 11 Sep 2018 09:54:49 +0000 (+0200) Subject: rgw: civetweb: use poll instead of select while waiting on sockets X-Git-Tag: v14.1.0~464^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4d0035830e5783a828a275245b8bc3ae88edc417;p=ceph.git rgw: civetweb: use poll instead of select while waiting on sockets Currently when trying to push data > bufsize, civetweb will wait on the output socket using `select` which uses `FD_SET` on the fd, which can easily exceed 1024 which is the default `FD_SETSIZE` for most systems. Since it is very likely that most RGW installations will exceed this limit, use `poll` instead. Fixes: http://tracker.ceph.com/issues/24364 Signed-off-by: Abhishek Lekshmanan --- diff --git a/src/civetweb b/src/civetweb index 606289271586..cc13125c960c 160000 --- a/src/civetweb +++ b/src/civetweb @@ -1 +1 @@ -Subproject commit 60628927158634f92dd2fe1c20067563d1607502 +Subproject commit cc13125c960cbc967860b4b71c37db5cbd142adb