summaryrefslogtreecommitdiff
path: root/package/uhttpd/src/uhttpd.h
Commit message (Collapse)AuthorAgeFilesLines
* uhttpd: - rewrite large parts of the server, use uloop event driven ↵Jo-Philipp Wich2012-05-281-23/+66
| | | | | | 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: added uhttpd.docrootJo-Philipp Wich2012-05-031-1/+1
| | | | | | | | | | | | | Passes the document-root to the Lua handler by placing it in uhttpd.docroot. It could alternatively be placed in env.DOCUMENT_ROOT which would more closely resemble the CGI protocol; but would mean that it is not available at the time when the handler-chunk is loaded but rather not until the handler is called, without any code savings. Signed-off-by: David Favro <openwrt@meta-dynamic.com> SVN-Revision: 31571
* uhttpd: support building against openssl instead of cyassl, minor cleanups ↵Jo-Philipp Wich2011-07-181-2/+1
| | | | | | (#7827) SVN-Revision: 27686
* uhttpd: protect tcp receive operations with select, make tcp keep-alive ↵Jo-Philipp Wich2011-01-091-0/+1
| | | | | | optional (#8272) SVN-Revision: 24952
* uhttpd: - fix parsing of interpreter entries in the config file, fixes ↵Jo-Philipp Wich2010-08-181-0/+6
| | | | | | 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-2/+13
| | | | | | support unlimited amount of authentication realms, listener and client sockets - support for interpreters (.php => /usr/bin/php-cgi) SVN-Revision: 22630
* uhttpd: add option to reject requests from RFC1918 IPs to public server IPs ↵Jo-Philipp Wich2010-08-111-0/+1
| | | | | | (DNS rebinding countermeasure) SVN-Revision: 22589
* uhttpd: - fix a compile warning - support custom index file names - support ↵Jo-Philipp Wich2010-07-231-0/+4
| | | | | | 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: - make network timeout configurable, increase default to 30 seconds ↵Jo-Philipp Wich2010-04-151-1/+3
| | | | | | (#7067) - follow symlinks in docroot and add option to disable that - fix mimetype detection for files with combined extensions (.tar.gz, ...) SVN-Revision: 20883
* uhttpd: - make script timeout configurable - catch SIGCHLD to properly ↵Jo-Philipp Wich2010-03-271-0/+4
| | | | | | 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/+133
SVN-Revision: 20428