aboutsummaryrefslogtreecommitdiff
path: root/release/picobsd/tinyware/simple_httpd
Commit message (Collapse)AuthorAgeFilesLines
* simple_httpd: cosmetic cleanups.Pedro F. Giffuni2014-09-181-76/+77
| | | | | | | | | | Many tab vs space cleanups. Use setpgid() instead of setpgrp() which is more portable, MFC after: 5 weeks Notes: svn path=/head/; revision=271787
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadWarner Losh2014-04-131-1/+1
| | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. Notes: svn path=/head/; revision=264400
* Spelling fixes for release/Ulrich Spörlein2012-01-071-5/+5
| | | | Notes: svn path=/head/; revision=229779
* Warns fixes: use putenv rather than setenv to avoid constness problems,David Malone2009-03-172-2/+4
| | | | | | | | | when we want to print an off_t cast to intmax_t and use %jd. Up WARNS to 6. Notes: svn path=/head/; revision=189936
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-211-1/+1
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+1
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* Improve MIME handling. This patch is based on Eugene's patch, butDavid Malone2004-08-161-15/+24
| | | | | | | | | | | | | | | | | | with the following changes: 1) Don't make a mime_types.h 'cos we should avoid creating variables in header files, 2) Use strrchr to find the extension, rather than strchr, 3) Slightly simplify the mime-type matching loop. any goof are likely to be mine. Note that there are links to more improvements by Eugene in the PR. PR: 29725 Submitted by: Eugene Grosbein <eugen@kuzbass.ru> Notes: svn path=/head/; revision=133836
* Don't forget to send the Content-length header after calculating it.David Malone2003-04-051-0/+1
| | | | | | | | PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su> Notes: svn path=/head/; revision=113129
* More warns cleanups and misc cleanups:David Malone2003-04-051-25/+31
| | | | | | | | | | | | | | 1) Make fetch_mode a pointer 'cos we can just use the optarg. 2) Constness. 3) Add/complete prototypes. 4) Change an int to a socklen_t. 5) Don't use C++ style comments. 6) Check return values from read and fork a little more carefully. 7) Avoid closing an uninitialised int. 8) Get rid of unneeded extern declarations. Notes: svn path=/head/; revision=113126
* Don't return with a value in a void function.David Malone2003-03-131-4/+4
| | | | | | | Pass a time_t rather than a long to time. Notes: svn path=/head/; revision=112205
* Add a missing void in the parameter list of http_request().Jeroen Ruigrok van der Werven2002-04-071-1/+1
| | | | Notes: svn path=/head/; revision=94135
* Give functions proper return type, since the default is an integer, whereJeroen Ruigrok van der Werven2002-04-071-1/+7
| | | | | | | | | | | | the author obviously meant a void since he doesn't return any values. One caveat, http_request has three return()'s, but doesn't do anything with it. Either the code needs to be rewritten to take care of proper error handling on that point, or the returns ripped out. I made it void for now. Notes: svn path=/head/; revision=94134
* Use %lld instead of %d in order to print struct stat's st_size, which isJeroen Ruigrok van der Werven2002-04-071-1/+1
| | | | | | | | | | an off_t. PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su> Notes: svn path=/head/; revision=94133
* Garbage collect unused variables.Jeroen Ruigrok van der Werven2002-04-071-5/+2
| | | | | | | | PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su> Notes: svn path=/head/; revision=94132
* Actually print the port we are listening too when specified verbose mode.Jeroen Ruigrok van der Werven2002-04-071-1/+1
| | | | | | | | PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su> Notes: svn path=/head/; revision=94130
* Fix the type of the NULL arg to execl()Brian Somers2001-07-091-1/+1
| | | | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> Notes: svn path=/head/; revision=79452
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50479
* Major PicoBSD update by luigi with some debugging help from myself.Doug White1999-08-223-3/+3
| | | | | | | | | | | | | | | | | . Now builds on -STABLE (-CURRENT is broken due to bugs) . etc directory contents centralized instead of in each type directory (can exclude & override as desired) . Removed extraneous language files (lang files for rc really necessary?) . dialog-based build tool with support for custom floppy builds . MFS image loads as a mfs_root module instead of compiled into kernel THIS IS BROKEN ON CURRENT. I'll MFC to -STABLE immediately following. luigi tells me I have an OK from jkh on the MFC. Submitted by: luigi Notes: svn path=/head/; revision=50186
* Simple_HTTPd on steroids - major rework of the original program, byAndrzej Bialecki1999-05-053-210/+463
| | | | | | | | | | | | | | | William Lloyd. New features include: * many additional command line options * "fetch" mode * less bugs :-) * better README. Submitted by: William Lloyd <wlloyd@lap.net> Reviewed by: abial Notes: svn path=/head/; revision=46493
* Merge from RELENG_3.Andrzej Bialecki1999-02-123-27/+55
| | | | Notes: svn path=/head/; revision=43939
* Fix Makefile so it works.Daniel O'Callaghan1999-01-162-8/+10
| | | | | | | | Change date format to yyyy/mm/dd hh:mm:ss Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au> Notes: svn path=/head/; revision=42714
* This server is not so non-forking as it seemed at first glance...Andrzej Bialecki1998-09-151-2/+2
| | | | | | | Submitted by: Jonathan H N Chin <jc254@newton.cam.ac.uk> Notes: svn path=/head/; revision=39270
* Oops.. Forgot to add the MakefileAndrzej Bialecki1998-08-311-0/+9
| | | | | | | Submitted by: Jim Flowers <jflowers@ezo.net> Notes: svn path=/head/; revision=38688
* Initial import of PicoBSD v0.4 tree.Andrzej Bialecki1998-08-272-0/+362
Notes: svn path=/cvs2svn/branches/PICOBSD/; revision=38589