aboutsummaryrefslogtreecommitdiff
path: root/networking/httpd.c
AgeCommit message (Collapse)Author
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
2006-10-05httpd: add -u user[:grp] supportDenis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-10-03lots of silly indent fixesDenis Vlasenko
2006-09-30lsmod: repair indentationDenis Vlasenko
httpd: ifdef CONFIG -> if ENABLE (shorted, catched typos)
2006-09-26httpd: sanitize indentationDenis Vlasenko
2006-09-06Implement optional syslog logging using ordinaryDenis Vlasenko
bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
2006-08-03Remove xcalloc() and convert its callers to xzalloc(). About half of themRob Landley
were using "1" as one of the arguments anyway, and as for the rest a multiply and a push isn't noticeably bigger than pushing two arguments on the stack.
2006-08-03Attempt to fixup httpd.c to match svn 15767.Rob Landley
2006-08-03Move declaration to be compatible with older gcc's."Robert P. J. Day"
2006-07-16Cleaup read() and write() variants, plus a couple of new functions likeRob Landley
xlseek and fdlength() for the new mkswap.
2006-05-27Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley
2006-05-26fix spelling mistakesMike Frysinger
2006-04-28More usage.h cleanups, with collateral changes to httpd. Specifically,Rob Landley
most of our CONFIG entries switch stuff on instead of off when enabled, so fix the gratuitously reversed INETD thing.
2006-04-14Patch from Robert P Day to remove standalone code from httpd. (Busybox hasRob Landley
its own make standalone planned as a general solution to this for all applets.)
2006-04-14Hard wiring configuration symbol values into the code defeats the purposeRob Landley
of _having_ configuration symbol values. Also, changing #ifdef CONFIG to #if ENABLE isn't nearly as useful as changing them to if (ENABLE) or USE()/SKIP()...
2006-04-12- patch from Denis Vlasenko to add and use bb_xchdir()Bernhard Reutner-Fischer
2006-04-12- patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()Bernhard Reutner-Fischer
2006-04-12- patch from Denis Vlasenko to add and use bb_xdaemon()Bernhard Reutner-Fischer
2006-04-12- patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard Reutner-Fischer
bb_xopen some more while at it. Also use shorter boilerplate while at it.
2006-04-11- httpd in inetd mode: POST from IE (6) ends up in 'cannot display page'Bernhard Reutner-Fischer
Closes #827
2006-02-20Rename UNUSE() to SKIP().Rob Landley