aboutsummaryrefslogtreecommitdiff
path: root/networking/httpd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* httpd: sendfile supportDenis Vlasenko2007-08-121-21/+39
|
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-121-9/+9
| | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
* httpd: CGI Status: header fixDenis Vlasenko2007-08-111-9/+7
|
* httpd: add support for Status: CGI headerDenis Vlasenko2007-08-111-13/+24
|
* httpd: fix CGI handling bug (we were closing wrong fd).Denis Vlasenko2007-08-111-13/+20
|
* fix typo in last commitDenis Vlasenko2007-07-211-1/+1
|
* Three patches from FreeWRT peopleDenis Vlasenko2007-07-211-3/+8
|
* introduce and use bb_basename()Denis Vlasenko2007-06-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta bb_basename - 26 +26 sv_main 1226 1225 -1 passwd_main 1985 1983 -2 showdirs 482 478 -4 sendCgi 1811 1807 -4 make_device 1354 1350 -4 handleIncoming 2443 2439 -4 func_name 82 78 -4 service_name 2292 2285 -7 main 909 901 -8 cmp_main 555 547 -8 test_main 434 422 -12 act 228 216 -12 find_pair 180 164 -16 rmmod_main 298 280 -18 find_pid_by_name 156 134 -22 modprobe_main 1606 1576 -30 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/16 up/down: 26/-156) Total: -130 bytes text data bss dec hex filename 734933 3028 14400 752361 b7ae9 busybox_old 734801 3028 14400 752229 b7a65 busybox_unstripped
* Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms ↵Denis Vlasenko2007-06-251-4/+1
| | | | <wharms@bfs.de>)
* httpd: NOMMU fixes by Alex Landau <landau_alex@yahoo.com>Denis Vlasenko2007-06-231-0/+12
|
* httpd: move data off bss.Denis Vlasenko2007-06-091-189/+218
| | | | | | | | | | | | | | | 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);
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* "Unify base64 handling" is done, remove TODODenis Vlasenko2007-04-181-3/+2
|
* teach find_root_device to deal with /dev/ subdirsDenis Vlasenko2007-04-131-5/+5
| | | | (by "Kirill K. Smirnov" <lich@math.spbu.ru>)
* add more convenient defines for [NO]MMU:Denis Vlasenko2007-04-111-1/+1
| | | | "#ifndef BB_NOMMU" is a double negative
* - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer2007-04-041-2/+2
|
* Attempt to get more applets compile for NOMMU.Denis Vlasenko2007-03-261-8/+6
| | | | | | | 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).
* move everything to new NOMMU helpers, except udhcpDenis Vlasenko2007-03-261-1/+1
|
* httpd: make httpd usable for NOMMU CPUsDenis Vlasenko2007-03-071-0/+13
|
* clean up accumulated whitespace damageDenis Vlasenko2007-03-071-3/+4
|
* httpd: run interpreter for configured file extensions in any dir,Denis Vlasenko2007-03-051-0/+14
| | | | not only in /cgi-bin/
* httpd: fix breakage (introduced by me)Denis Vlasenko2007-03-051-1/+1
|
* httpd: a little bit more correct handling of CGI "HTTP/xxx" outputDenis Vlasenko2007-02-131-34/+50
|
* httpd: fix for POSTDATA handling bugs:Denis Vlasenko2007-02-111-24/+24
| | | | | erroneous close(0) full_read -> safe_read (with explanation)
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* preparatory patch for -Wwrite-strings #4Denis Vlasenko2007-01-291-7/+6
|
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko2007-01-221-3/+1
| | | | | prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
* httpd: use fd#1 in inetd modeDenis Vlasenko2007-01-141-4/+10
| | | | inetd: micro style fix
* next part of ipv6-ization is here: wget & httpdDenis Vlasenko2007-01-121-59/+74
|
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-111-2/+2
|
* httpd: stop adding our own "Content-type:" to CGI outputDenis Vlasenko2007-01-071-61/+76
|
* httpd: read cgi output with full_read, not safe_readDenis Vlasenko2007-01-031-11/+10
| | | | (avoids mangling of HTTP headers)
* convert calloc to xzallocDenis Vlasenko2007-01-031-2/+2
| | | | fix sleep-on-die option
* done a dozen of randconfig test. guess what? ALL failed...Denis Vlasenko2006-12-301-21/+23
| | | | these are resulting fixes
* httpd: fix decode of '/' when called via -dDenis Vlasenko2006-11-291-32/+34
|
* od: sometime ago I landed BIG od implementationDenis Vlasenko2006-11-281-6/+10
| | | | | from coreutils. My fault. This commit contains cleanups and size reductions.
* header_verbose_list: stop truncating file size in listingDenis Vlasenko2006-11-241-2/+2
|
* introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),Denis Vlasenko2006-11-221-3/+6
| | | | | use them where appropriate. 200 bytes saved
* httpd: comment on QUERY_STRINGDenis Vlasenko2006-11-211-3/+7
|
* httpd: add link to docsDenis Vlasenko2006-11-211-0/+3
|
* wget: add TODODenis Vlasenko2006-11-211-0/+3
|
* httpd: slight reduction of #ifdef forestDenis Vlasenko2006-11-211-9/+6
| | | | | | few other applets: #ifdef CONFIG_ -> #if ENABLE_ traceroute: fix exposed bugs defconfig: update
* httpd: fix cgi-bin/index.cgi support, add example of it,Denis Vlasenko2006-11-211-8/+19
| | | | | stat: fix end-of-line if format is specified (wasn't printing it), fix %z (time) format to match coreutils 6.3
* httpd: LC_TIME locale _must_ be POSIX to httpd! We speak over the net!Denis Vlasenko2006-11-211-4/+11
|
* httpd: add support for directory indexer (cgi-bin/index.cgi)Denis Vlasenko2006-11-211-25/+29
|
* httpd: get rid of big, useless blocks (deindent,Denis Vlasenko2006-11-211-199/+197
| | | | bring code under 80 columns)
* httpd: More robust Content-length: parsing,Denis Vlasenko2006-11-211-84/+86
| | | | code reorganization (less indented)
* httpd: make Bernhard happierDenis Vlasenko2006-11-171-2/+4
|
* httpd: reduce ifdef forest. comment out redundant PATH settingDenis Vlasenko2006-11-161-86/+76
|
* httpd:Denis Vlasenko2006-11-161-22/+17
| | | | | | | | 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)