aboutsummaryrefslogtreecommitdiff
path: root/networking/httpd.c
AgeCommit message (Collapse)Author
2007-06-09httpd: move data off bss.Denis Vlasenko
httpd: do not realpath() for SCRIPT_FILENAME - it resolves symlinks but it should not: - /* SCRIPT_FILENAME required by PHP in CGI mode */ - if (!realpath(purl + 1, realpath_buff)) - goto error_execing_cgi; - setenv1("SCRIPT_FILENAME", realpath_buff); + + /* SCRIPT_FILENAME required by PHP in CGI mode */ + fullpath = concat_path_file(home_httpd, purl); + setenv1("SCRIPT_FILENAME", fullpath);
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-04-18"Unify base64 handling" is done, remove TODODenis Vlasenko
2007-04-13teach find_root_device to deal with /dev/ subdirsDenis Vlasenko
(by "Kirill K. Smirnov" <lich@math.spbu.ru>)
2007-04-11add more convenient defines for [NO]MMU:Denis Vlasenko
"#ifndef BB_NOMMU" is a double negative
2007-04-04- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer
2007-03-26Attempt to get more applets compile for NOMMU.Denis Vlasenko
TODO_config_nommu documents what I managed to compile so far (yay! msh works! cool). inetd, telnetd, httpd still do not compile. TODO Also make fork(), daemon() produce warnings on compile stage (in addition to erros on link stage).
2007-03-26move everything to new NOMMU helpers, except udhcpDenis Vlasenko
2007-03-07httpd: make httpd usable for NOMMU CPUsDenis Vlasenko
2007-03-07clean up accumulated whitespace damageDenis Vlasenko
2007-03-05httpd: run interpreter for configured file extensions in any dir,Denis Vlasenko
not only in /cgi-bin/
2007-03-05httpd: fix breakage (introduced by me)Denis Vlasenko
2007-02-13httpd: a little bit more correct handling of CGI "HTTP/xxx" outputDenis Vlasenko
2007-02-11httpd: fix for POSTDATA handling bugs:Denis Vlasenko
erroneous close(0) full_read -> safe_read (with explanation)
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-29preparatory patch for -Wwrite-strings #4Denis Vlasenko
2007-01-22cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko
prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
2007-01-14httpd: use fd#1 in inetd modeDenis Vlasenko
inetd: micro style fix
2007-01-12next part of ipv6-ization is here: wget & httpdDenis Vlasenko
2007-01-11Trailing whitespace removal over entire treeDenis Vlasenko
2007-01-07httpd: stop adding our own "Content-type:" to CGI outputDenis Vlasenko
2007-01-03httpd: read cgi output with full_read, not safe_readDenis Vlasenko
(avoids mangling of HTTP headers)
2007-01-03convert calloc to xzallocDenis Vlasenko
fix sleep-on-die option
2006-12-30done a dozen of randconfig test. guess what? ALL failed...Denis Vlasenko
these are resulting fixes
2006-11-29httpd: fix decode of '/' when called via -dDenis Vlasenko
2006-11-28od: sometime ago I landed BIG od implementationDenis Vlasenko
from coreutils. My fault. This commit contains cleanups and size reductions.
2006-11-24header_verbose_list: stop truncating file size in listingDenis Vlasenko
2006-11-22introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),Denis Vlasenko
use them where appropriate. 200 bytes saved
2006-11-21httpd: comment on QUERY_STRINGDenis Vlasenko
2006-11-21httpd: add link to docsDenis Vlasenko
2006-11-21wget: add TODODenis Vlasenko
2006-11-21httpd: slight reduction of #ifdef forestDenis Vlasenko
few other applets: #ifdef CONFIG_ -> #if ENABLE_ traceroute: fix exposed bugs defconfig: update
2006-11-21httpd: fix cgi-bin/index.cgi support, add example of it,Denis Vlasenko
stat: fix end-of-line if format is specified (wasn't printing it), fix %z (time) format to match coreutils 6.3
2006-11-21httpd: LC_TIME locale _must_ be POSIX to httpd! We speak over the net!Denis Vlasenko
2006-11-21httpd: add support for directory indexer (cgi-bin/index.cgi)Denis Vlasenko
2006-11-21httpd: get rid of big, useless blocks (deindent,Denis Vlasenko
bring code under 80 columns)
2006-11-21httpd: More robust Content-length: parsing,Denis Vlasenko
code reorganization (less indented)
2006-11-17httpd: make Bernhard happierDenis Vlasenko
2006-11-16httpd: reduce ifdef forest. comment out redundant PATH settingDenis Vlasenko
2006-11-16httpd:Denis Vlasenko
fix union aliasing bug symptom: wget of non-existent file gets redirected to /text/html/something on second and subsequend wget attempts fix double-free bug symptom: glibc caught double-free (we didn't NULL config->xxx ptrs after free)
2006-11-16httpd: add -i (inetd) and -f (foreground) otions.Denis Vlasenko
-i makes possible to run httpd in both inetd and standalone mode without recompile (or need to have two different binaries)
2006-11-16httpd: stop being silly with setenvDenis Vlasenko
2006-11-10httpd: cosmetic fixes (the bug which was being hunted downDenis Vlasenko
turned out to be nonexistent :)
2006-11-05httpd: sendCgi() forked child needs to close openedDenis Vlasenko
server socket and accepted socket
2006-10-29find: a lot more compliant to 'standard' findDenis Vlasenko
(we were not respecting order of actions!). Add -o and -a handling.
2006-10-28ls: cleanup part 1Denis Vlasenko
2006-10-20message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko
2006-10-08correct largefile support, add comments about it.Denis Vlasenko
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-10-07dd: make it recognize not only 'k' but 'K' too;Denis Vlasenko
make it (partially) CONFIG_LFS-aware