aboutsummaryrefslogtreecommitdiff
path: root/networking/httpd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* lots of silly indent fixesDenis Vlasenko2006-10-031-13/+13
|
* lsmod: repair indentationDenis Vlasenko2006-09-301-95/+91
| | | | httpd: ifdef CONFIG -> if ENABLE (shorted, catched typos)
* httpd: sanitize indentationDenis Vlasenko2006-09-261-1213/+1209
|
* Implement optional syslog logging using ordinaryDenis Vlasenko2006-09-061-1/+1
| | | | | | bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
* Remove xcalloc() and convert its callers to xzalloc(). About half of themRob Landley2006-08-031-1/+1
| | | | | 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.
* Attempt to fixup httpd.c to match svn 15767.Rob Landley2006-08-031-19/+6
|
* Move declaration to be compatible with older gcc's."Robert P. J. Day"2006-08-031-1/+1
|
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-8/+8
| | | | xlseek and fdlength() for the new mkswap.
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-271-1/+0
|
* fix spelling mistakesMike Frysinger2006-05-261-1/+1
|
* More usage.h cleanups, with collateral changes to httpd. Specifically,Rob Landley2006-04-281-24/+24
| | | | | most of our CONFIG entries switch stuff on instead of off when enabled, so fix the gratuitously reversed INETD thing.
* Patch from Robert P Day to remove standalone code from httpd. (Busybox hasRob Landley2006-04-141-64/+0
| | | | | its own make standalone planned as a general solution to this for all applets.)
* Hard wiring configuration symbol values into the code defeats the purposeRob Landley2006-04-141-22/+4
| | | | | | | 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()...
* - patch from Denis Vlasenko to add and use bb_xchdir()Bernhard Reutner-Fischer2006-04-121-3/+1
|
* - patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()Bernhard Reutner-Fischer2006-04-121-6/+3
|
* - patch from Denis Vlasenko to add and use bb_xdaemon()Bernhard Reutner-Fischer2006-04-121-2/+2
|
* - patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard Reutner-Fischer2006-04-121-28/+12
| | | | | bb_xopen some more while at it. Also use shorter boilerplate while at it.
* - httpd in inetd mode: POST from IE (6) ends up in 'cannot display page'Bernhard Reutner-Fischer2006-04-111-5/+5
| | | | Closes #827
* Rename UNUSE() to SKIP().Rob Landley2006-02-201-10/+10
|
* demo (UN)USE_FEATURE... usage"Vladimir N. Oleynik"2006-02-151-64/+45
|
* add feature: support for running scripts through an interpreter. Thanks ↵"Vladimir N. Oleynik"2006-01-311-4/+40
| | | | Florian Schirmer <jolt@tuxbox.org>
* fix up annoying signed/unsigned and mixed type errorsEric Andersen2006-01-301-1/+3
|
* for change previous log: close bug 186"Vladimir N. Oleynik"2006-01-261-1/+1
|
* close bug 190"Vladimir N. Oleynik"2006-01-261-4/+4
|
* close bug 657"Vladimir N. Oleynik"2006-01-241-7/+7
|
* fix comment documentationMike Frysinger2006-01-031-2/+2
|
* remove buffer overflow by Erik and decodeString problem by Glenn, add error ↵"Vladimir N. Oleynik"2005-12-261-6/+23
| | | | check of decodeString as Apache
* remove debug feature for production"Vladimir N. Oleynik"2005-12-201-67/+71
|
* remove warnings if compile with -W, use ENABLE_FEATURE vs CONFIG_FEATURE"Vladimir N. Oleynik"2005-12-021-62/+64
|
* revert wait zombie, it have as linux-specific signal(SIG_CHLD,SIG_IGN) ↵"Vladimir N. Oleynik"2005-09-261-3/+0
| | | | already, do not confuse me\!
* - rename libbb's password helpers as suggested in libbb.hBernhard Reutner-Fischer2005-09-201-1/+1
| | | | | | | | 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
* destroy bug #421"Vladimir N. Oleynik"2005-09-191-2/+5
|
* Tracking system but #4: php needs the environment variable SCRIPT_FILENAME.Rob Landley2005-09-011-1/+6
|
* applying fix for:Paul Fox2005-07-201-1/+3
| | | | | 0000185: httpd infinite loop when piping to CGI script
* characters encoded as html should have a trailing semicolonEric Andersen2005-06-231-1/+1
| | | | to be interpreted properly
* last_patch139.gz from Vladimir N. Oleynik:Eric Andersen2004-10-081-31/+83
| | | | | | | | | | | | | | >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
* Vladimir N. Oleynik writes:Eric Andersen2004-08-261-5/+15
| | | | | | | | | | | | | | | | | | | | | 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
* Larry Doolittle writes:Eric Andersen2004-04-141-8/+8
| | | | | | | | | | | | | | | | | | | | | | 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
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-14/+14
|
* Patch from Steven Scholz to fix compiler warningsGlenn L McGrath2004-03-051-5/+7
|
* Joe.C, joe at numa dot com dot tw writes:Eric Andersen2004-02-241-0/+14
| | | | | | | | | | | | | | | | 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
* Joe.C writes:Eric Andersen2004-02-041-1/+3
| | | | | | | | | | | | 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
* Patch from Stephane Billiart:Eric Andersen2003-12-191-1/+5
| | | | | This removes references to config->remoteuser when CONFIG_FEATURE_HTTPD_CGI=y but CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set
* Stop sending data to the client after the first failure.Glenn L McGrath2003-12-081-1/+2
| | | | Patch by Joe.C
* Vodz last_patch_105 without his xargs patch which doenst apply cleanlyGlenn L McGrath2003-10-061-0/+2
|
* Vodz, last_patch_114Glenn L McGrath2003-10-031-139/+115
| | | | | | | | | - 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
* Patch from Stephane Billiart to fix an unused variable warning.Glenn L McGrath2003-09-151-1/+3
|
* Busybox CVS version ipcalc have problems:Glenn L McGrath2003-09-121-3/+3
| | | | | | | | | - 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
* Vodz, last_patch_104Glenn L McGrath2003-09-101-1/+13
|
* Vodz, last_patch_110 Glenn L McGrath2003-09-081-24/+7
| | | | | no limit, no memory usage for env buffer, always call putenv(). remove small error for previous last_patch109.