]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: civetweb: use poll instead of select while waiting on sockets 24027/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Tue, 11 Sep 2018 09:54:49 +0000 (11:54 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Wed, 12 Sep 2018 12:45:19 +0000 (14:45 +0200)
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 <abhishek@suse.com>
src/civetweb

index 60628927158634f92dd2fe1c20067563d1607502..cc13125c960cbc967860b4b71c37db5cbd142adb 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 60628927158634f92dd2fe1c20067563d1607502
+Subproject commit cc13125c960cbc967860b4b71c37db5cbd142adb