Commit Graph

16 Commits

Author SHA1 Message Date
C. Guy Yarvin
56a61c1c7f Add a pseudo-secure http server. 2014-03-19 15:40:40 -07:00
Steve Dee
0f64d9b859 Fix _http_bods_free 2014-03-13 11:29:14 -07:00
~hatteb-mitlyd
cff116fa0c don't leak 2014-03-11 14:20:27 -07:00
~hatteb-mitlyd
6e00220193 avoid responding to a dead http req 2014-03-11 14:11:03 -07:00
C. Guy Yarvin
dd4a42b345 Some HTTP client fixes. 2014-03-03 11:51:35 -08:00
C. Guy Yarvin
54ed2bdcb0 More C files. 2014-02-26 16:40:53 -08:00
Steve Dee
ed09e5d12e Bring up listeners after boot 2014-01-17 00:12:05 -08:00
Steve Dee
262e9fb984 Remove \r from http notification 2013-12-18 15:13:48 -08:00
Steven Dee
f2a839426b Ye olde whitespace cleanup part 2
sed -i, glanced at.
2013-12-18 13:17:47 -08:00
C. Guy Yarvin
f592b16a59 Combat wake loops. 2013-11-20 22:43:12 -08:00
C. Guy Yarvin
66c4e463e9 Fix some http-parser bugs; clean up dill. 2013-11-13 21:25:24 -08:00
Steven Dee
324c6a235d Remove most instances of strcpy and sprintf
OpenBSD whines about these and recommends using strlcpy / snprintf
instead. Since strlcpy isn't quite universal yet, we use strncpy instead
and be careful about terminating the string. We could implement a
portable strlcpy in terms of strncpy, but that'd add another function to
the namespace.

Yes, usually the length is obviously bounded. Still, pretending
strcpy/sprintf don't exist seems like a great strategy.

N.B. there are still a few occurrences of strcpy and sprintf under f/
and in libuv, but I don't have time to tackle them right now.
2013-10-30 15:25:22 -04:00
C. Guy Yarvin
367838774a Fix broken build. 2013-10-30 11:42:24 -07:00
C. Guy Yarvin
549d090add Various fixes and improvements. 2013-10-30 11:26:51 -07:00
C. Guy Yarvin
25b7ed9a9c Various fixes and improvements. 2013-10-26 20:55:53 -07:00
Christian Carter
3af3130bdc Cleaning up old code 2013-09-28 13:21:18 -07:00