aboutsummaryrefslogtreecommitdiffstats
path: root/package/uhttpd/src/uhttpd-cgi.c
Commit message (Collapse)AuthorAgeFilesLines
* packages: sort network related packages into package/network/Felix Fietkau2012-10-101-556/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: various changesJo-Philipp Wich2012-07-131-23/+9
| | | | | | | | | - remove unused variables - simply ignore command line args which belong to not enabled features - resolve peer address at accept() time, should solve (#11850) - remove floating point operations where possible git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: retry parsing the CGI header until the buffer space is ↵Jo-Philipp Wich2012-07-111-8/+17
| | | | | | exhausted git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32662 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: various fixesJo-Philipp Wich2012-07-091-46/+37
| | | | | | | | | - avoid closing descriptors before removing them from uloop (#11755, #11830) - do not auto-initialize ubus if no prefix is set (#11832) - remove extraneous client context pointer from cgi and lua states - code cleanups and debug message changes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: do not subscribe to epoll write eventsJo-Philipp Wich2012-07-061-0/+1
| | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32640 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: finish inherited uloop in forked childs, fixes ↵Jo-Philipp Wich2012-06-181-0/+3
| | | | | | misdispatched events leading to race conditions and bad memory accesses git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32419 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: remove some dead codeJo-Philipp Wich2012-06-021-7/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32028 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: add explicit stdin eof notification for Lua and CGI childsJo-Philipp Wich2012-06-021-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32027 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd:Jo-Philipp Wich2012-05-281-415/+377
| | | | | | | | | | | - rewrite large parts of the server, use uloop event driven structure - support concurrent requests and make the upper limit configurable - implement initial version of HTTP-to-ubus JSON proxy and session.* namespace - add compile time support for debug information - code style changes - bump package revision git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: display errors in init script, code formatting changes, ↵Jo-Philipp Wich2012-05-031-95/+95
| | | | | | bump package version git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: fix bad pointer use in previous commitJo-Philipp Wich2011-09-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28257 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: fix possible CGI header line parsing beyound the empty ↵Jo-Philipp Wich2011-09-181-4/+4
| | | | | | line, thanks Linus Luessing for spotting it git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28254 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: unblock signals in CGI childs, solves hanging ssh logout ↵Jo-Philipp Wich2011-07-171-0/+10
| | | | | | after server restart from within LuCI and similar problems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd:Jo-Philipp Wich2010-08-181-27/+34
| | | | | | | | | - fix parsing of interpreter entries in the config file, fixes serving of static files as .cgi with X-Wrt - better cope with connection aborts, especially during header transfer - fix return value checking of TLS reads and writes, solves some blocking issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd:Jo-Philipp Wich2010-08-141-7/+12
| | | | | | | | | - more robust handling of network failures on static file serving - support unlimited amount of authentication realms, listener and client sockets - support for interpreters (.php => /usr/bin/php-cgi) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd:Jo-Philipp Wich2010-07-231-0/+11
| | | | | | | | | | | - fix a compile warning - support custom index file names - support custom error pages (or cgi handler) - add option to disable directory listings - add REDIRECT_STATUS for CGI requests, fixes php-cgi git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22366 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd:Jo-Philipp Wich2010-04-241-1/+1
| | | | | | | | | - ignore authentication realms that refer to user accounts with no password set yet (X-Wrt compatibility) - fix off-by-one in CGI header parsing, fixes cgi programs that emit bad header lines (AsteriskGUI compatibility) - bump version git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21121 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: fix a signal related race condition exposed by LuCI on ↵Jo-Philipp Wich2010-03-291-0/+3
| | | | | | fast machines git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20573 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: block SIGCHLD until it is expected (#6957)Jo-Philipp Wich2010-03-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20513 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: clear script timeout as soon as data is received from the ↵Jo-Philipp Wich2010-03-271-5/+7
| | | | | | child git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd:Jo-Philipp Wich2010-03-271-4/+11
| | | | | | | | | - make script timeout configurable - catch SIGCHLD to properly interrupt select() - flag listen and client sockets as close-on-exec git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20500 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] add uhttpd (moved from LuCI trunk)Jo-Philipp Wich2010-03-251-0/+561
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20428 3c298f89-4303-0410-b956-a3cf2f4a3e73