#
351466 |
|
25-Aug-2019 |
eugen |
MFC r351179: simple_httpd was not buildable for some time due to multiple missing "static" keywords and -Werror,-Wmissing-variable-declarations
This change adds needed "static" so it builds again with WARNS?=6 No functional changes.
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
271787 |
|
18-Sep-2014 |
pfg |
simple_httpd: cosmetic cleanups.
Many tab vs space cleanups. Use setpgid() instead of setpgrp() which is more portable,
MFC after: 5 weeks
|
#
189936 |
|
17-Mar-2009 |
dwmalone |
Warns fixes: use putenv rather than setenv to avoid constness problems, when we want to print an off_t cast to intmax_t and use %jd.
Up WARNS to 6.
|
#
133836 |
|
16-Aug-2004 |
dwmalone |
Improve MIME handling. This patch is based on Eugene's patch, but 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>
|
#
113129 |
|
05-Apr-2003 |
dwmalone |
Don't forget to send the Content-length header after calculating it.
PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
|
#
113126 |
|
05-Apr-2003 |
dwmalone |
More warns cleanups and misc cleanups: 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.
|
#
112205 |
|
13-Mar-2003 |
dwmalone |
Don't return with a value in a void function. Pass a time_t rather than a long to time.
|
#
94135 |
|
07-Apr-2002 |
asmodai |
Add a missing void in the parameter list of http_request().
|
#
94134 |
|
07-Apr-2002 |
asmodai |
Give functions proper return type, since the default is an integer, where 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.
|
#
94133 |
|
07-Apr-2002 |
asmodai |
Use %lld instead of %d in order to print struct stat's st_size, which is an off_t.
PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
|
#
94132 |
|
07-Apr-2002 |
asmodai |
Garbage collect unused variables.
PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
|
#
94130 |
|
07-Apr-2002 |
asmodai |
Actually print the port we are listening too when specified verbose mode.
PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
|
#
79452 |
|
09-Jul-2001 |
brian |
Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
|
#
50479 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
50186 |
|
22-Aug-1999 |
dwhite |
Major PicoBSD update by luigi with some debugging help from myself.
. 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
|
#
46493 |
|
05-May-1999 |
abial |
Simple_HTTPd on steroids - major rework of the original program, by 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
|
#
43939 |
|
12-Feb-1999 |
abial |
Merge from RELENG_3.
|
#
42714 |
|
16-Jan-1999 |
danny |
Fix Makefile so it works. Change date format to yyyy/mm/dd hh:mm:ss Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
|
#
38590 |
|
27-Aug-1998 |
abial |
This commit was generated by cvs2svn to compensate for changes in r38589, which included commits to RCS files with non-trunk default branches.
|
#
38589 |
|
27-Aug-1998 |
abial |
Initial import of PicoBSD v0.4 tree.
|