summaryrefslogtreecommitdiff
path: root/uhttpd-file.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix possible buffer overruns in uh_file_dirlist()Jo-Philipp Wich2014-09-221-5/+5
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* file: fix two enum vs. float comparisationsJo-Philipp Wich2012-10-041-2/+2
|
* add a missing definition for timegm() on mac os xFelix Fietkau2012-10-041-0/+3
|
* define _XOPEN_SOURCE and _BSD_SOURCE globally, increase _XOPEN_SOURCE to ↵Felix Fietkau2012-10-041-3/+0
| | | | include strdup et al on mac os x
* [package] uhttpd: various changesjow2012-07-131-6/+7
| | | | | | | | | - 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/package/uhttpd/src@32704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd:jow2012-05-281-69/+74
| | | | | | | | | | | - 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/package/uhttpd/src@31931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: display errors in init script, code formatting changes, ↵jow2012-05-031-79/+99
| | | | | | bump package version git-svn-id: svn://svn.openwrt.org/openwrt/trunk/package/uhttpd/src@31572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd: properly match mimetype entries which cover the whole ↵jow2011-09-041-2/+2
| | | | | | filename (#8236) git-svn-id: svn://svn.openwrt.org/openwrt/trunk/package/uhttpd/src@28160 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd:jow2010-08-181-39/+41
| | | | | | | | | - 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/package/uhttpd/src@22692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd:jow2010-08-141-12/+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/package/uhttpd/src@22630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd:jow2010-08-111-36/+49
| | | | | | | | - abort file serving if client connection is lost (#7742) - don't send bad request headers twice git-svn-id: svn://svn.openwrt.org/openwrt/trunk/package/uhttpd/src@22602 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd:jow2010-07-231-4/+8
| | | | | | | | | | | - 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/package/uhttpd/src@22366 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd:jow2010-04-151-11/+9
| | | | | | | | | - make network timeout configurable, increase default to 30 seconds (#7067) - follow symlinks in docroot and add option to disable that - fix mimetype detection for files with combined extensions (.tar.gz, ...) git-svn-id: svn://svn.openwrt.org/openwrt/trunk/package/uhttpd/src@20883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] add uhttpd (moved from LuCI trunk)jow2010-03-251-0/+395
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/package/uhttpd/src@20428 3c298f89-4303-0410-b956-a3cf2f4a3e73