aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/uhttpd
Commit message (Collapse)AuthorAgeFilesLines
* packages: more (e)glibc fixes after r44701Nicolas Thill2015-03-161-0/+4
| | | | | | | | _GNU_SOURCE has been declared "deprecated" in favor of _DEFAULT_SOURCE in glibc Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44843 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: make generating SSL keys more reliable against interrupted bootsFelix Fietkau2015-03-151-2/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44772 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttp: update to latest git HEADJohn Crispin2015-03-111-2/+2
| | | | | | | | this add json-c 0.12, sorry forgot to push this earlier today Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: relay stderr to syslogJo-Philipp Wich2015-02-262-1/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: fix another remaining relro issue in the Lua pluginJo-Philipp Wich2015-01-251-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44143 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: fix time_t type mismatch on 32bit systemsJo-Philipp Wich2015-01-251-2/+2
| | | | | | | | | | | | The previous update introducing LFS support unconditionally changed the sprintf() pattern used to print the file modification time to use PRIx64. Explicitely convert the st_mtime member of the stat struct to uint64_t in order to avoid type mismatch errors when building for non-64bit targets. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: fix crash with enabled relro, memory leak in dirlists and lfsJo-Philipp Wich2015-01-251-3/+3
| | | | | | | | | | | | * Fix the ubus plugin to not make its uhttpd_plugin entry symbol constant as uhttpd needs to modify its list_head member * Make sure that uhttpd supports large files by using 64bit ints where appropriate and by passing _FILE_OFFSET_BITS=64 to the build * Plug a possible memleak in the directory listing code Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44135 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: fix exit code of mod-ubus postinstall scriptJo-Philipp Wich2015-01-251-0/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44132 3c298f89-4303-0410-b956-a3cf2f4a3e73
* license info - revert r43155John Crispin2014-11-031-3/+0
| | | | | | | | turns out that r43155 adds duplicate info. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43167 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add more license tags with SPDX identifiersJohn Crispin2014-11-031-0/+3
| | | | | | | | | | | | | | | | | | Note, that licensing stuff is a nightmare: many packages does not clearly state their licenses, and often multiple source files are simply copied together - each with different licensing information in the file headers. I tried hard to ensure, that the license information extracted into the OpenWRT's makefiles fit the "spirit" of the packages, e.g. such small packages which come without a dedicated source archive "inherites" the OpenWRT's own license in my opinion. However, I can not garantee that I always picked the correct information and/or did not miss license information. Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add a few SPDX tagsSteven Barth2014-11-021-0/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43151 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: fix HTTP incompatibilities in file handlerJo-Philipp Wich2014-10-271-2/+2
| | | | | | | | | | | * Fixes sending an extraneous message body for 204 and 304 resoponses which breaks Chrome in keep-alive mode. * Adds mimetypes for JSON and JSONP. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43078 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: do not configure TLS parameters if libustream-ssl is not presentJo-Philipp Wich2014-08-252-3/+3
| | | | | | | | | | | | A quite frequent problem after sysupgrading from an older, SSL enabled build is that ustream-ssl is not installed so uhttpd fails to come up again due to https listening directives in the preserved configuration. Skip key/cert and ssl listen options when libustream-ssl.so is not present. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: also bind to IPv6 by defaultSteven Barth2014-06-112-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41114 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to the latest version, fixes musl compile issuesFelix Fietkau2014-06-091-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to the latest version, fixes cgi path handling issuesFelix Fietkau2014-05-091-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40743 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: do not attempt to configure Lua handler if referenced file does not ↵Jo-Philipp Wich2014-04-111-3/+5
| | | | | | | | exist Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40457 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to latest version, improves cgi path handlingFelix Fietkau2014-03-221-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40005 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to latest version, fixes HEAD requests to CGI scriptsFelix Fietkau2014-03-211-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: don't process ubus_* and lua_* options if corresponding plugin is ↵Jo-Philipp Wich2013-12-151-4/+8
| | | | | | not installed (#14618) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to the latest version, fixes crashes in the ubus pluginFelix Fietkau2013-11-211-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38888 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: return after processing -d switch, only set ubus prefix if not ↵Jo-Philipp Wich2013-11-112-4/+8
| | | | | | already defined git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38743 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttp: add ubus.defaultJohn Crispin2013-11-111-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38741 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttp: make the service auto respawn if it crashesJohn Crispin2013-11-111-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38724 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttp: make sure that the ubus module is loaded when when installedJohn Crispin2013-11-111-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38723 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: add a config option for using ustream-polarssl, and use it by defaultFelix Fietkau2013-09-291-2/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38250 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: fix appending https ports to cmdlineFelix Fietkau2013-09-251-1/+1
| | | | | | | | Otherwise it is started only on non-secure ports. Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38171 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: convert various packages to procd style init.d scriptsJohn Crispin2013-09-171-23/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38023 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: udpat to git headJo-Philipp Wich2013-09-131-2/+2
| | | | | | | | | | | - fixes buffer corruption with JSON-RPC list calls - change JSON-RPC protocol to include the session ID into the call attributes instead of passing it via the URL - forcibly pass effective session ID as "ubus_rpc_session" attribute to called procedures - change ubus acl checking to conform with new ubus session namespace git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to the latest version, fixes a crash on early cgi/lua process ↵Felix Fietkau2013-07-311-2/+2
| | | | | | | | termination Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to latest version, fixes issues with POST and keep-alive (#13940)Felix Fietkau2013-07-261-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37556 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: expose missing options to uciJo-Philipp Wich2013-06-132-0/+35
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36932 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to latest version, fixes CGI related crashesFelix Fietkau2013-06-011-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36817 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update again to fix a ubus plugin crash bugFelix Fietkau2013-05-301-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to latest version, fixes script timeout for ubus requestsFelix Fietkau2013-05-301-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36767 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to latest version, fixes #13564, #13560, improves error ↵Felix Fietkau2013-05-231-2/+2
| | | | | | | | handling as pointed out in #13537 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36696 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to latest version, fixes index page processing orderFelix Fietkau2013-05-161-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36644 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to latest version, fixes a SSL connection memory leakFelix Fietkau2013-05-141-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36636 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to git head, fixes regression when parsing IPv6 listen argumentsJo-Philipp Wich2013-04-171-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to latest version, fixes compile error with latest libuboxFelix Fietkau2013-04-151-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36338 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to latest version, fixes an occasional crash on CGI scriptsFelix Fietkau2013-03-151-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36034 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: always turn on TLS support, include ustream-ssl as a build dependencyFelix Fietkau2013-01-221-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: fix another small hang issue with the same symptomsFelix Fietkau2013-01-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35291 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: fix connection hangsFelix Fietkau2013-01-221-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: fix unencrypted passwords in httpd.confFelix Fietkau2013-01-211-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35265 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: fix selecting the right ustream implementation when openssl is to be ↵Felix Fietkau2013-01-201-1/+1
| | | | | | used (#12857) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35257 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to a newer version, fixes chunked transfer on some POST requestsFelix Fietkau2013-01-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: switch to uhttpd2, it is now feature completeFelix Fietkau2013-01-191-43/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35247 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to latest git head, improves handling of invalid requestsJo-Philipp Wich2012-10-301-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: fix compilation with eglibcJo-Philipp Wich2012-10-191-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33860 3c298f89-4303-0410-b956-a3cf2f4a3e73