diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-07-06 17:29:25 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-07-06 17:29:25 +0000 |
commit | 1f2d5da8876fd4475b47093bb566d2eecb87de13 (patch) | |
tree | 23791d42fdc6bc4930f598247af965b12d42bf05 /package/uhttpd/src/uhttpd.h | |
parent | fe015f399fb6f8ff45b5863f41b8d33f64dfc1bd (diff) | |
download | upstream-1f2d5da8876fd4475b47093bb566d2eecb87de13.tar.gz upstream-1f2d5da8876fd4475b47093bb566d2eecb87de13.tar.bz2 upstream-1f2d5da8876fd4475b47093bb566d2eecb87de13.zip |
uhttpd: do not subscribe to epoll write events Watch child read pipe end for data instead of relying on socket write notification to process cgi data, should lower cpu consumption during requests on weaker devices.
SVN-Revision: 32640
Diffstat (limited to 'package/uhttpd/src/uhttpd.h')
-rw-r--r-- | package/uhttpd/src/uhttpd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/uhttpd/src/uhttpd.h b/package/uhttpd/src/uhttpd.h index 8fa3f219b7..69fe21a418 100644 --- a/package/uhttpd/src/uhttpd.h +++ b/package/uhttpd/src/uhttpd.h @@ -160,6 +160,7 @@ struct client { SSL *tls; #endif struct uloop_fd fd; + struct uloop_fd pipe; struct uloop_process proc; struct uloop_timeout timeout; bool (*cb)(struct client *); |