aboutsummaryrefslogtreecommitdiff
path: root/networking/httpd.c
AgeCommit message (Collapse)Author
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
2006-02-15demo (UN)USE_FEATURE... usage"Vladimir N. Oleynik"
2006-01-31add feature: support for running scripts through an interpreter. Thanks ↵"Vladimir N. Oleynik"
Florian Schirmer <jolt@tuxbox.org>
2006-01-30fix up annoying signed/unsigned and mixed type errorsEric Andersen
2006-01-26for change previous log: close bug 186"Vladimir N. Oleynik"
2006-01-26close bug 190"Vladimir N. Oleynik"
2006-01-24close bug 657"Vladimir N. Oleynik"
2006-01-03fix comment documentationMike Frysinger
2005-12-26remove buffer overflow by Erik and decodeString problem by Glenn, add error ↵"Vladimir N. Oleynik"
check of decodeString as Apache
2005-12-20remove debug feature for production"Vladimir N. Oleynik"
2005-12-02remove warnings if compile with -W, use ENABLE_FEATURE vs CONFIG_FEATURE"Vladimir N. Oleynik"
2005-09-26revert wait zombie, it have as linux-specific signal(SIG_CHLD,SIG_IGN) ↵"Vladimir N. Oleynik"
already, do not confuse me\!
2005-09-20- rename libbb's password helpers as suggested in libbb.hBernhard Reutner-Fischer
my_getpwnam -> bb_xgetpwnam /* dies on error */ my_getgrnam -> bb_xgetgrnam /* dies on error */ my_getgrgid -> bb_getgrgid my_getpwuid -> bb_getpwuid my_getug -> bb_getug
2005-09-19destroy bug #421"Vladimir N. Oleynik"
2005-09-01Tracking system but #4: php needs the environment variable SCRIPT_FILENAME.Rob Landley
2005-07-20applying fix for:Paul Fox
0000185: httpd infinite loop when piping to CGI script
2005-06-23characters encoded as html should have a trailing semicolonEric Andersen
to be interpreted properly
2004-10-08last_patch139.gz from Vladimir N. Oleynik:Eric Andersen
>I also don't mean to disagree about leaving 30x status codes until after >1.0. In fact, although redirecting http://host/dir to http://host/dir/ >with a 301 is common practice (e.g. Apache, IIS), AFAIK it isn't >actually required (or mentioned) by the HTTP specs. Ok. Attached patch have 302 and 408 implemented features. --w vodz
2004-08-26Vladimir N. Oleynik writes:Eric Andersen
Ming-Ching, >>No. Here there are no mistakes. >>You using POST metod. >>For get data you should read from stdin CONTENT_LENGTH bytes. >Hower as I posted a little while ago, there is indeed a bug >in POST method if the CONTENT_LENGTH is bigger >than sizeof(wbuf[128]). So if your CGI script is expecting to >read the full CONTENT_LENGTH, it might block forever, >because it will only transfer sizeof(wbuf) to the CGI. Ok, Ok. I should find time to understand with a problem. Try attached patch. --w vodz
2004-04-14Larry Doolittle writes:Eric Andersen
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-03-05Patch from Steven Scholz to fix compiler warningsGlenn L McGrath
2004-02-24Joe.C, joe at numa dot com dot tw writes:Eric Andersen
Hi, When downloading files over slow network (e.g. wireless/ internet) using IE, sometimes it will stop downloading and show error message 'connection closed' when the download is almost complete. This is because IE can't handle server close connection properly. Apache http_main.c fix this problem by close the connection after client close the connection. This patch do exactly the same thing. Please consider include this patch. Joe.C
2004-02-04Joe.C writes:Eric Andersen
Hi, When httpd connection is closed, bosybox httpd will not stop reading from CGI program. This patch fix this problem. It check the return value of bb_full_write and stop reading from CGI if the connection is closed. Please apply this patch. Joe.C
2003-12-19Patch from Stephane Billiart:Eric Andersen
This removes references to config->remoteuser when CONFIG_FEATURE_HTTPD_CGI=y but CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set
2003-12-08Stop sending data to the client after the first failure.Glenn L McGrath
Patch by Joe.C
2003-10-06Vodz last_patch_105 without his xargs patch which doenst apply cleanlyGlenn L McGrath
2003-10-03Vodz, last_patch_114Glenn L McGrath
- env vars CONTENT_TYPE, CONTENT_LENGTH, HTTPD_REFERER, REMOTE_USER and AUTH_TYPE(Basic always). - POST data pipied now (previous version have loading into memory may be big size data and reducing with hardcoded limit) - removed $CGI_foo environment variables, else my have rubbish enviroment if POST data have big binary file
2003-09-15Patch from Stephane Billiart to fix an unused variable warning.Glenn L McGrath
2003-09-12Busybox CVS version ipcalc have problems:Glenn L McGrath
- Can`t use 255.255.255.255 address - typo: double check for valid ip address and uncheck for valid mask httpd unseted SERVER_PORT (my bug from last_patch111). last_patch_112 from Vladimir N. Oleynik
2003-09-10Vodz, last_patch_104Glenn L McGrath
2003-09-08Vodz, last_patch_110 Glenn L McGrath
no limit, no memory usage for env buffer, always call putenv(). remove small error for previous last_patch109.
2003-09-08last_patch_109 from Vladimir N. OleynikGlenn L McGrath
Busybox`s httpd have the defect (from born): ip 1.2.3.1 have true comparing also with 1.2.3.10-1.2.3.19 and 1.2.3.100-1.2.3.199. Last patch removed this bug and added feature: allow/deny rule can support network/netmask example: 1.2.3.0/255.255.255.128 or network/mask_bits example: 1.2.3.0/25 now; old format 1 1.2 1.2.3 1.2.3.4 too support and converted to 1/8 1.2/16 1.2.3/24 1.2.3.4/32 automaticaly. Also, current CVS have small problem: ignores A:IP, (loses 'A', 'a' only work). Corrected.
2003-08-29"Due to a wrong format parameter in a printf httpd does not work whenGlenn L McGrath
compiled for with CONFIG_LFS (large file support). The attached patch suggested by Vladimir fixes that." - Steven Scholz
2003-07-28last_patch95 from vodz:Eric Andersen
Hi. Last patch have new libbb function vfork_rexec() for can use daemon() to uClinux system. This patched daemons: syslog, klogd, inetd, crond. This not tested! I havn`t this systems. Also. Previous patch for feature request MD5 crypt password for httpd don`t sended to this mailist on 07/15/03 (mailist have Pytom module problem?). The previous patch included, and have testing. --w vodz
2003-06-26Geir Thomassen wrote, regarding networking/httpd.c line 1358Eric Andersen
Hello, I think the test for an unconfigured httpd is wrong in the CVS (busybox-unstable-20030620.tar.bz2) flg_deny_all is default 0 vodz then wrote: Oops. You are right. Also, this mistake haved from two place. Last patch rewroted to my new get_ularg() function for overcompensate size from this error found ;-)
2003-06-10Vodz, last_patch_88Glenn L McGrath
2003-05-26Vodz, last_patch_86Glenn L McGrath
2003-05-19Patch from Glenn EngelGlenn L McGrath
- more comments - larger allowed number of CGI script variables - ifdefs for regression test hooks - default to ./ rather than /www (if unspecified) for compatibility with earlier versions. - Allow ip: as a synomym for A: rules for compatibility with earlier versions. - Setting of CGI_ARGLIST_ when automatic setting of env vars for form scripting is utilized. This helps with minimal systems like openap.