mrg
ee81b5bfee
display the tempdir for exported files as well.
2014-02-02 03:20:57 +00:00
mrg
7f3f4479d2
call gzip directly for distfile export target; it's usually run outside
...
of the normal build.
2014-02-02 03:20:10 +00:00
mrg
4d12e4bc49
add lua-bozo.c.
2014-02-02 03:14:58 +00:00
mrg
496aca988c
update for 2014-02-01.
2014-02-02 03:13:31 +00:00
mrg
95e8de7784
move a variable into the scope of its use, where the assignment
...
has already validated the pointers used. fixes a bug reported
in private email from dogcow@.
2014-01-30 02:51:41 +00:00
apb
a452d8c9e2
Pass the -n flag to gzip invocations.
...
This prevents it from embedding a timestamp in the output. We pass
"-n" unconditionally, not conditional on MKREPRO, because many other
invocations of gzip already passed the -n flag unconditionally.
2014-01-27 21:37:17 +00:00
apb
36ef98548b
Use ${TOOL_GZIP} instead of just gzip in all Makefiles
...
outside */dist/* subdirectories.
When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ},
so there's no need to test USE_PIGZGZIP in these Makefiles.
2014-01-27 08:18:07 +00:00
mrg
8af74a22fc
sort the contributor list, and update the defines list to include lua.
2014-01-02 08:47:38 +00:00
mrg
6810043c20
update for 20140102.
2014-01-02 08:30:22 +00:00
mrg
44293cacb5
update version, date and copyright.
2014-01-02 08:22:59 +00:00
mrg
d1b43391bd
- update CHANGES with recent changes
...
- update version to 20140102
- update copyrights
- use getcwd() over getwd()
- fix lean build (don't include lua)
2014-01-02 08:21:38 +00:00
mbalmer
8bbb1276fe
fix bad free
2013-11-19 07:51:56 +00:00
christos
1f8b65e5d5
CID 1107545, 1107546: fix memory leak
2013-11-13 21:46:22 +00:00
christos
04c9845e3b
CID 1107546: Fix memory leak
2013-11-13 21:44:29 +00:00
mbalmer
0dfc484ad7
fold long line in a readable way; pass nil as query table if reading form data fails
2013-10-17 08:07:54 +00:00
mbalmer
b972118e3e
better approach to NUL terminate strings
2013-10-17 07:54:19 +00:00
mbalmer
a6427458c1
plug a memory leak
2013-10-17 07:49:06 +00:00
mbalmer
de3f2be777
zero allocated memory buffers
2013-10-17 07:31:31 +00:00
he
10f296ec2a
Also depend on LIBLUA, and add -lm to allow static linking.
2013-10-16 10:04:26 +00:00
wiz
c9283f1155
Sort. More markup.
2013-10-12 22:37:43 +00:00
mbalmer
b65f3decc3
no need to check free() arguments against NULL
2013-10-12 18:46:12 +00:00
mbalmer
6c154a3125
it's Lua, not lua
2013-10-12 17:25:18 +00:00
mbalmer
cb23152c39
add Lua scripting support to bozohttpd, see httpd(8) for details
2013-10-12 17:24:06 +00:00
mbalmer
bee8901ae3
remove trailing whitespace
2013-10-12 07:49:40 +00:00
pooka
c99e7cc9a4
allow compile-time overriding of BOZO_WRSZ/MMAPSZ parameters
2013-09-04 22:59:50 +00:00
wiz
a5684d07dd
Use Mt for email addresses.
2013-07-20 21:39:55 +00:00
mrg
1a1e3035f8
add a target to export a bozohttpd distfile.
2013-07-11 08:51:09 +00:00
mrg
dbf68b5f60
merge parts of the release Makefile back in; unused by the netbsd build.
2013-07-11 08:32:39 +00:00
mrg
fd2f6d873b
prepare for netbsd to be mastersrc for bozohttpd.
2013-07-11 08:24:47 +00:00
wiz
0b8a06c9e2
netbsd.org -> NetBSD.org and use my @NetBSD.org address as well.
2013-07-11 08:19:56 +00:00
mrg
7ec01116c2
copyright maint.
2013-07-11 07:46:37 +00:00
mrg
a4b84ca096
- update CHANGES with recent changes
...
- export esacpe_html() and use it in directory indexing
- update manual to include recent contributors
2013-07-11 07:44:19 +00:00
martin
8d76df8028
Check for needed authentication even before redirecting.
2013-06-27 13:11:11 +00:00
martin
19574f3ec5
Fix debug output for redirects
2013-06-27 13:00:43 +00:00
martin
f598b53e8a
Fix copy&pasto in debug output
2013-06-27 12:20:08 +00:00
martin
2b3a4643bf
After handling a request by sending a redirect, do not proceed with the normal
...
request handling (which would typically add error output after the end
of the redirect message).
2013-06-27 11:02:20 +00:00
martin
407204a79f
Redo previous (fixing a memory leak introduced), and while there rework
...
virtual server support - in daemonized mode mixed virtual and "main"
server usage would alter the virtual hostname depending on order of
requests.
To fix, move the effective virtual hostname into the request structure
and leave the httpd server description static.
2013-06-27 10:01:31 +00:00
martin
e575b99fcd
Do not keep pointers into a readdir result (which will become invalid
...
when closing the directory) - strdup() it instead.
Fixes the "bogus redirects" part of PR bin/47925 (atf test case
forthcoming)
2013-06-23 20:32:55 +00:00
mrg
5dc860cdbb
fix PR 47629, using a slightly different patch to the one in the PR.
...
this modifies escape_rfc3986() to escape '%' itself, and to properly
track the buffer size and nul out the final byte, not some random
byte that may actually be unmapped.
2013-03-09 21:36:04 +00:00
ryoon
f29f0747d4
Fix typo, releaases.
2013-03-02 16:45:31 +00:00
pgoyette
866736a181
Minor typo
2012-12-04 22:42:14 +00:00
mrg
1be9745405
when generating URIs escape various characters as specified in RFC 3986.
...
this makes, among other things, files/dirs with "?" work with dir indexing.
2012-07-19 09:53:06 +00:00
joerg
62451b58c9
Add BOZO_PRINTFLIKE for functions that pass an argument and va_arg to
...
a vprintf-like function.
2012-03-14 23:47:19 +00:00
joerg
f05babd200
Avoid using computed string as format string, just print it as string.
2012-02-29 23:38:46 +00:00
wiz
00872173ab
Bump date for previous. Use more markup.
2012-02-20 09:45:22 +00:00
elric
f082d14a0d
Check in very basic compressed file support. httpd will now serve
...
a precompressed .gz file if it exists, the client claims to support
gzip and the request is not ranged.
2012-02-20 09:26:56 +00:00
elric
982f9a199b
Use a ``certificate chain file'' rather than a ``certificate file'' so
...
that bozohttpd can be used with non-toplevel certs.
2012-02-20 08:40:46 +00:00
mrg
41f9e94281
merge bozohttpd 20111118
2011-11-18 09:51:31 +00:00
wiz
c54b7cd091
Bump date for previous.
2011-11-17 23:19:30 +00:00
mrg
d0ddf3e7e4
allow the -I option to be useful in non-daemon mode, by letting it force
...
the returned port number
2011-11-17 22:09:12 +00:00