Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-02 | proc: expose HTTP_AUTH_USER and HTTP_AUTH_PASS | Jo-Philipp Wich | |
Mimic other web servers like Nginx or Apache and expose the parsed basic auth information as HTTP_AUTH_USER and HTTP_AUTH_PASS environment variables to CGI processes. This also restores login-from-basic-auth functionality in LuCI. Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2017-07-02 | proc: do not declare empty process variables | Jo-Philipp Wich | |
If a HTTP header variable has no corresponding value, then do not set it to the empty string but to NULL, so that cgi.c will later skip it when setting up the process environment. Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2015-08-17 | cgi: Support passing X-HTTP-Method-Override header. | Karl Palsson | |
As uhttpd doesn't currently support PUT/DELETE/PATCH, allow passing the commonly used X-HTTP-Method-Override header to CGI scripts. This is an optional "protocol specific metadata" variable as per rfc 3875 section 4.1.18. Signed-off-by: Karl Palsson <karlp@remake.is> | |||
2015-05-30 | proc: add HTTPS environment variable | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2014-03-21 | relay: do forward data if the http request type was HEAD | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-07-31 | proc: consume all data after the pipe dies, instead of looping with 100% cpu ↵ | Felix Fietkau | |
usage Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-01-22 | proc: call read notify after more write space is available | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-01-19 | implement support for script timeout for cgi/lua | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-01-13 | relicense to ISC | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-01-13 | fix cgi/lua header parsing | Felix Fietkau | |
2013-01-13 | fix local/remote port env vars | Felix Fietkau | |
2013-01-06 | de-constify the url parameter for the handler, it becomes invalid after the ↵ | Felix Fietkau | |
request anyway | |||
2013-01-04 | add lua plugin support | Felix Fietkau | |
2013-01-04 | ensure the cgi postdata write pipe is closed for other processes | Felix Fietkau | |
2013-01-04 | re-enable reads from the cgi pipe after enough data has been written to the ↵ | Felix Fietkau | |
client | |||
2013-01-04 | plug a memory leak in cgi processing | Felix Fietkau | |
2013-01-04 | free cgi headers | Felix Fietkau | |
2013-01-03 | use pipes instead of a socketpair, EOF handling is broken with sockets | Felix Fietkau | |
2013-01-03 | implement proper flow control for relaying postdata | Felix Fietkau | |
2013-01-03 | fix use-after-realloc issue with the request url | Felix Fietkau | |
2013-01-03 | add post data relaying | Felix Fietkau | |
2013-01-03 | cleanup dispatch struct access | Felix Fietkau | |
2013-01-02 | add local/remote address env vars for cgi | Felix Fietkau | |
2013-01-02 | parse status header code from cgi scripts | Felix Fietkau | |
2013-01-01 | fix typo in header name check | Felix Fietkau | |
2013-01-01 | add preliminary cgi support, needs fixing for close handling | Felix Fietkau | |