Commit Graph

442 Commits

Author SHA1 Message Date
~hatteb-mitlyd
d5c61a3038 use a uv_prepare callback to scan fs tree
Much more responsive file sync.
2014-03-24 11:31:03 -07:00
C. Guy Yarvin
b0248fb89a Testing web proxying. 2014-03-23 11:44:23 -07:00
C. Guy Yarvin
f725293d6d Revert "Fork a child to handle checkpointing."
This reverts commit 3fa73e4e350878c8dcf4c0a2f305f7a528c4a2c3.
2014-03-22 13:25:47 -07:00
~hatteb-mitlyd
23aced9775 Fork a child to handle checkpointing.
Kill the noise, and handle exit status from the child. If anything
untoward happens to the child, we need to know about it.
2014-03-21 18:08:58 -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
fe7bd138ee Moar filez pls. 2014-03-20 10:18:45 -07:00
C. Guy Yarvin
a9aec59bb7 Back to -O. 2014-03-19 15:42:43 -07:00
C. Guy Yarvin
55c9f41b14 Merge branch 'master' of github.com:urbit/urbit 2014-03-19 15:42:12 -07:00
C. Guy Yarvin
56a61c1c7f Add a pseudo-secure http server. 2014-03-19 15:40:40 -07:00
~hatteb-mitlyd
45c092d14f load some certificates so linux doesn't barf 2014-03-19 11:59:33 -07:00
~hatteb-mitlyd
1e57cf3e1e kill the noise 2014-03-18 17:46:41 -07:00
~hatteb-mitlyd
c944ff7496 close the SSL connection after the response is seen 2014-03-18 17:32:13 -07:00
~hatteb-mitlyd
e7a75fed3c separate out needs-handshake from SSL-is-open status
no longer responds to "no request"
2014-03-18 17:29:52 -07:00
~hatteb-mitlyd
b5e38673fc a few ssl improvements 2014-03-18 17:29:51 -07:00
~hatteb-mitlyd
f3e99bae8f connect SSL on port 443, not 80, and don't over-rout.
this nearly works.
2014-03-18 17:29:51 -07:00
~hatteb-mitlyd
4370e1ecc0 closer, no longer loops infinitely 2014-03-18 17:29:51 -07:00
~hatteb-mitlyd
1abfee3d03 works a little better, but is shoving SSL data into the parser 2014-03-18 17:29:51 -07:00
~hatteb-mitlyd
6f2e5cf333 actually completes the handshake now 2014-03-18 17:29:51 -07:00
~hatteb-mitlyd
65aba238a8 first-line work on SSLifying the HTTP client
doesn't work at all, because the encrypted buffer never gets written to the net
2014-03-18 17:29:51 -07:00
~hatteb-mitlyd
0d0d6e468a formatting 2014-03-18 17:29:51 -07:00
~hatteb-mitlyd
12bf369663 continue for files only 2014-03-18 17:04:44 -07:00
~hatteb-mitlyd
8ae8be35c2 ignore files without a dot in the name, to avoid disastrous consequences 2014-03-18 16:26:58 -07:00
Steve Dee
8703249546 Ignore revo from prior terms 2014-03-14 11:02:46 -07:00
Steve Dee
bf3e5568da Comments on raft data structures 2014-03-14 11:02:46 -07:00
Steve Dee
607c83d683 Various fixes and cleanups 2014-03-14 11:02:45 -07:00
Steve Dee
99532b3f2f Clean up .gitignore
Remove some non-project-specific stuff that people are likely
(encouraged, even) to put in their own global git ignores.
2014-03-14 11:02:45 -07:00
Steve Dee
ba71f7ca11 Trailing whitespace cleanup, C level 2014-03-14 10:50:12 -07:00
C. Guy Yarvin
c0acbd1b39 Merge branch 'master' of github.com:urbit/urbit 2014-03-13 17:49:47 -07:00
C. Guy Yarvin
96fe8b73ee Fix dor. Duh. 2014-03-13 17:49:31 -07:00
Steve Dee
0f64d9b859 Fix _http_bods_free 2014-03-13 11:29:14 -07:00
Steve Dee
2d1cab488c Fix leak in u2_raft_work 2014-03-13 11:26:27 -07:00
C. Guy Yarvin
3ba0d9eef6 Merge branch 'master' of github.com:urbit/urbit 2014-03-12 12:44:27 -07:00
Steve Dee
079c4f7696 Remove useless assert... 2014-03-12 11:54:14 -07:00
Steve Dee
b71e6f161d Remove old fprintf 2014-03-12 11:52:11 -07:00
Steve Dee
27ec17b711 TODOs 2014-03-12 11:35:30 -07:00
Steve Dee
c56cfccc7d Bail instead of exit 2014-03-12 11:35:30 -07:00
Steve Dee
e787049b65 Clean up timer logic 2014-03-12 11:35:29 -07:00
Steve Dee
1627b6e78c More intelligently load from sist 2014-03-12 11:35:26 -07:00
cgyarvin
784256f373 Merge pull request #124 from atax1a/master
avoid responding to a dead http req
2014-03-11 14:54:34 -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
Steve Dee
afa1c641e9 Start ent_w at 1
Also, increment our sequence numbers if we have to.
2014-03-11 07:46:32 -07:00
Steve Dee
399530d379 Use same election timeout always
In particular, we wait at least 150ms after starting up before declaring
an election, to give the old leader a chance to send us a heartbeat.
2014-03-10 16:25:48 -07:00
Steven Dee
6466a1760a Fix on linux, remove a debug printf 2014-03-10 23:18:58 +00:00
Steve Dee
f4f1c711d5 New event log format including term and type 2014-03-10 16:14:21 -07:00
Steve Dee
6a3a939c4a Fix for duplicate vote responses 2014-03-10 12:18:18 -07:00
Steve Dee
970c6d431f Fixes for dir syncing in raft leader mode 2014-03-10 12:10:17 -07:00
Steve Dee
ad70fa2380 Check for null vog_c 2014-03-10 11:52:49 -07:00
johncburnham
4cf71de3ce Merge pull request #123 from ngvrnd/master
Use of indent-relative until a better option is avaliable; disable tabs
2014-03-10 06:18:24 -07:00
nzc
8d9a26ef54 Suggest use of indent-relative as better than nothing; disable the use of tabs in indentation. 2014-03-10 09:10:28 -04:00