aboutsummaryrefslogtreecommitdiffstats
path: root/package/uhttpd/src/uhttpd-cgi.c
Commit message (Collapse)AuthorAgeFilesLines
* 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 SVN-Revision: 32704
* uhttpd: retry parsing the CGI header until the buffer space is exhaustedJo-Philipp Wich2012-07-111-8/+17
| | | | SVN-Revision: 32662
* 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 SVN-Revision: 32651
* uhttpd: do not subscribe to epoll write events Watch child read pipe end for ↵Jo-Philipp Wich2012-07-061-0/+1
| | | | | | data instead of relying on socket write notification to process cgi data, should lower cpu consumption during requests on weaker devices. SVN-Revision: 32640
* uhttpd: finish inherited uloop in forked childs, fixes misdispatched events ↵Jo-Philipp Wich2012-06-181-0/+3
| | | | | | leading to race conditions and bad memory accesses SVN-Revision: 32419
* uhttpd: remove some dead codeJo-Philipp Wich2012-06-021-7/+1
| | | | SVN-Revision: 32028
* uhttpd: add explicit stdin eof notification for Lua and CGI childsJo-Philipp Wich2012-06-021-0/+4
| | | | SVN-Revision: 32027
* uhttpd: - rewrite large parts of the server, use uloop event driven ↵Jo-Philipp Wich2012-05-281-415/+377
| | | | | | 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 SVN-Revision: 31931
* uhttpd: display errors in init script, code formatting changes, bump package ↵Jo-Philipp Wich2012-05-031-95/+95
| | | | | | version SVN-Revision: 31572
* uhttpd: fix bad pointer use in previous commitJo-Philipp Wich2011-09-181-1/+1
| | | | SVN-Revision: 28257
* uhttpd: fix possible CGI header line parsing beyound the empty line, thanks ↵Jo-Philipp Wich2011-09-181-4/+4
| | | | | | Linus Luessing for spotting it SVN-Revision: 28254
* uhttpd: unblock signals in CGI childs, solves hanging ssh logout after ↵Jo-Philipp Wich2011-07-171-0/+10
| | | | | | server restart from within LuCI and similar problems SVN-Revision: 27628
* uhttpd: - fix parsing of interpreter entries in the config file, fixes ↵Jo-Philipp Wich2010-08-181-27/+34
| | | | | | 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 SVN-Revision: 22692
* uhttpd: - more robust handling of network failures on static file serving - ↵Jo-Philipp Wich2010-08-141-7/+12
| | | | | | support unlimited amount of authentication realms, listener and client sockets - support for interpreters (.php => /usr/bin/php-cgi) SVN-Revision: 22630
* uhttpd: - fix a compile warning - support custom index file names - support ↵Jo-Philipp Wich2010-07-231-0/+11
| | | | | | custom error pages (or cgi handler) - add option to disable directory listings - add REDIRECT_STATUS for CGI requests, fixes php-cgi SVN-Revision: 22366
* uhttpd: - ignore authentication realms that refer to user accounts with no ↵Jo-Philipp Wich2010-04-241-1/+1
| | | | | | 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 SVN-Revision: 21121
* uhttpd: fix a signal related race condition exposed by LuCI on fast machinesJo-Philipp Wich2010-03-291-0/+3
| | | | SVN-Revision: 20573
* uhttpd: block SIGCHLD until it is expected (#6957)Jo-Philipp Wich2010-03-271-1/+1
| | | | SVN-Revision: 20513
* uhttpd: clear script timeout as soon as data is received from the childJo-Philipp Wich2010-03-271-5/+7
| | | | SVN-Revision: 20501
* uhttpd: - make script timeout configurable - catch SIGCHLD to properly ↵Jo-Philipp Wich2010-03-271-4/+11
| | | | | | interrupt select() - flag listen and client sockets as close-on-exec SVN-Revision: 20500
* add uhttpd (moved from LuCI trunk)Jo-Philipp Wich2010-03-251-0/+561
SVN-Revision: 20428