Commit Graph

25 Commits

Author SHA1 Message Date
~hatteb-mitlyd
db0961f171 free a failed-accept http conn asynchronously 2014-06-07 12:27:47 -07:00
C. Guy Yarvin
c6ef1fba01 Shell console. 2014-04-16 17:49:41 -07:00
C. Guy Yarvin
1317ac3c1e Clean up requests from dead connections. 2014-04-14 11:01:18 -07:00
Steve Dee
0ebce498bd Trailing whitespace
You guys. The default git precommit hook checks for this. You can enable
it by copying and pasting this command into a shell in your Urbit
checkout:

    cp .git/hooks/precommit{.sample,}
2014-04-07 10:19:02 -07:00
~hatteb-mitlyd
a0c18f56b2 change to asserting malloc 2014-04-01 17:48:26 -07:00
~hatteb-mitlyd
f6c4224130 don't crash when server cannot be found 2014-03-28 11:43:35 -07:00
C. Guy Yarvin
5a1e02fb48 Fix issue #128. 2014-03-27 09:42:27 -07:00
~hatteb-mitlyd
38c04a68e6 fix headers leak 2014-03-24 19:42:01 -07:00
C. Guy Yarvin
c837404578 A bunch of web fixes. Preparing to proxy. 2014-03-21 14:46:14 -07:00
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