Commit Graph

326 Commits

Author SHA1 Message Date
Joe Bryan
1c49b0438a bail %exit in _cj_site_lock if axis is not in core 2018-10-02 19:36:04 -04:00
Joe Bryan
f0524c23f0 Merge branch 'release-candidate' into hashboard
* release-candidate: (138 commits)
  adds meson option (-Dprof=true) to set U3_CPU_DEBUG
  adds meson option (-Dgc=true) to set U3_MEMORY_DEBUG
  refactors http card validation
  fixes leak in proxy when networking is disabled
  fixes leak in _http_serv_start_all
  bypassed profiling bug
  Eliminate cons optimization.
  Remove broken assert.
  Clean up some printfs.
  increases tcp proxy listener timeout to 2 minutes
  fixes dumb bug in tcp reverse proxy remote address resolution
  Fix issue with trimming >4 character jet names
  upgrades libh2o to v0.13.5 (h2o v2.2.5)
  sets the http client request timeout to 2 minutes
  adds an http request timer to ensure connections are always closed
  adds an http request timer to ensure connections are always closed
  adds (disabled) h2o access log
  don't leak ship-name in _proxy_ward_connect()
  refactors .http.ports write/release (avoid the loom, etc.)
  updates SSL_CTX init to support any PEM private key, simplifies error handling
  ...
2018-10-02 18:25:41 -04:00
Fang
7569f8d8ad Fix issue with trimming >4 character jet names 2018-10-02 15:24:29 -04:00
Joe Bryan
b1f8b79992 adds -S to skip battery hashes 2018-10-02 15:23:35 -04:00
Joe Bryan
8d9f2fac89 fixes u3n_prog pointers in u3n_ream() 2018-10-02 15:15:37 -04:00
Isaac Visintainer
359388a63f bypassed profiling bug 2018-09-27 16:42:43 -07:00
Joe Bryan
89479463e5
Merge pull request #1017 from urbit/fix-jet-name-trim
Fix issue with trimming >4 character jet names
2018-09-07 18:02:50 -04:00
Joe Bryan
ba5e228d78 Merge branch 'https-proxy-config' into ford-turbo-proxy
* https-proxy-config: (92 commits)
  increases tcp proxy listener timeout to 2 minutes
  fixes dumb bug in tcp reverse proxy remote address resolution
  upgrades libh2o to v0.13.5 (h2o v2.2.5)
  sets the http client request timeout to 2 minutes
  adds an http request timer to ensure connections are always closed
  adds an http request timer to ensure connections are always closed
  adds (disabled) h2o access log
  don't leak ship-name in _proxy_ward_connect()
  refactors .http.ports write/release (avoid the loom, etc.)
  updates SSL_CTX init to support any PEM private key, simplifies error handling
  adds u3_wcon (ward candidate conn), refactors ward connection accept and auth
  enables ALPN and HTTP2 over TLS
  increases timeout before server struct, adds explanatory comment
  closes u3_ward stream and timer sequentially, fixing use-after-free per ASan
  moves u3_pact to vere.h, replacing the unused u3_apac
  fixes memory leak in failed cttp.c address resolution
  suppresses AddressSanitizer in vararg functions u3i_molt and u3r_mean
  ignores AddressSanitizer errors in jets.c
  updates %wise and %that to give and receive the proxy auth nonce
  implements nonce-baced authentication for u3_ward proxies
  ...
2018-08-20 22:24:13 -04:00
Joe Bryan
dacb80eef0 Merge branch 'master' into https-proxy-config
* master:
  adds an http request timer to ensure connections are always closed
  moves u3_pact to vere.h, replacing the unused u3_apac
  fixes memory leak in failed cttp.c address resolution
  Remove deprecated paths from gitignore
  print error on failed syscall in _ce_patch_create()
  removes tabs from http.c
  removes orphaned telnet constants and forward declarations
2018-08-09 18:22:53 -04:00
Fang
ad628cbf64
Fix issue with trimming >4 character jet names 2018-07-20 01:31:28 +02:00
Joe Bryan
d5c075b185 suppresses AddressSanitizer in vararg functions u3i_molt and u3r_mean 2018-07-12 16:01:57 -04:00
Joseph Bryan
053509b7c4 ignores AddressSanitizer errors in jets.c 2018-07-12 16:01:57 -04:00
Paul Driver
7dcc2303d1 mutating edit 2018-07-02 07:47:48 -07:00
Joe Bryan
78a0d7732f print error on failed syscall in _ce_patch_create() 2018-06-18 13:50:26 -04:00
Paul Driver
07e524532f avoid allocating an atom for _cj_bash 2018-06-15 11:17:56 -07:00
Paul Driver
6ce5fb681e bail in _n_edit on invalid path 2018-06-14 12:25:45 -07:00
Paul Driver
e629272ac6 avoid allocating an atom for _cj_bash 2018-06-14 11:36:56 -07:00
Paul Driver
0fe4157b82 small memory leak for large edits 2018-06-12 10:23:47 -07:00
Paul Driver
61f9a39f35 disable hike jet, kill errant and unneccessary mutate-context-sample opcodes 2018-06-11 15:04:49 -07:00
Paul Driver
0c64dabc97 bugfixes 2018-06-10 14:02:07 -07:00
Paul Driver
c8da5efe2b first pass at nock 12 impl 2018-06-10 10:39:36 -07:00
Paul Driver
da051310df Merge branch 'master' into hashboard 2018-06-04 14:15:53 -07:00
Paul Driver
a8d7d79b0c use nul prefix for regular (no loc) nock formulas, fix memory leak in _cj_mile, delete unused code 2018-06-04 13:53:41 -07:00
Paul Driver
88b7d23ed8 fix reaming after changing cold dash 2018-05-30 11:32:10 -07:00
Paul Driver
402e77357d stash - working out which hash to use 2018-05-29 21:33:10 -07:00
Paul Driver
d19fde0b5a memory bug in ice testing 2018-05-29 21:32:47 -07:00
Curtis Yarvin
b089420cea Some renaming and stuff. 2018-05-27 12:16:13 -07:00
Paul Driver
5c0232a42b bug in _box_slot 2018-05-26 20:49:11 -07:00
Paul Driver
1486aec835 better bash conveyance 2018-05-26 12:03:09 -07:00
Paul Driver
7fe3eee82a program splitting for located cores 2018-05-25 18:17:19 -07:00
Paul Driver
56ff1520bf bug in _box_slot 2018-05-25 17:54:03 -07:00
Paul Driver
8c4fd067de general battery hash caching 2018-05-25 17:53:36 -07:00
Paul Driver
a0819e41f8 remove superflous profiling quals 2018-05-16 15:18:17 -07:00
Paul Driver
21637cdca9 fix bug in u3j_gate_prep and move hot_p to home road 2018-05-16 13:45:40 -07:00
Paul Driver
f2f6a04cc5 bash batteries for gate prep/lose 2018-05-16 11:49:08 -07:00
Paul Driver
8417f4b7c5 ownership audit 2018-05-16 09:41:49 -07:00
Paul Driver
b9bf443b17 fix leaks in _cj_install, mark hot_p 2018-05-15 21:59:00 -07:00
Shaun Kerr
152e206d18 Removed unused variable. Closes #907 2018-05-15 14:51:52 +12:00
Paul Driver
4ee14f4c59 print axe on hot jet, more hashes 2018-05-14 10:46:34 -07:00
Paul Driver
33195a22ec more hashes, u3j_hood expands to express ut hooks 2018-05-12 14:30:59 -07:00
Paul Driver
2ace4f723a better auditing 2018-05-12 12:16:36 -07:00
Paul Driver
540dca9401 no remarry 2018-05-12 12:15:17 -07:00
Paul Driver
956ecdbeaa more hashes, clarify _cj_spot with hot fallback 2018-05-10 14:06:07 -07:00
Paul Driver
109ad54c53 booting and verifying - pasting in hashes now 2018-05-08 18:30:19 -07:00
Paul Driver
10c775961f stash - building and booting 2018-05-08 13:34:35 -07:00
Curtis Yarvin
5afbf59cae Merge branch 'master' into research-merge 2018-05-02 16:55:29 -07:00
Paul Driver
8bc64b09ac comments, rename some functions 2018-04-30 11:39:33 -07:00
Paul Driver
7551a3c486 comments 2018-04-30 11:26:29 -07:00
Paul Driver
d1d2f02ef0 comments, _cj_fink_free takes post 2018-04-30 11:21:04 -07:00
Paul Driver
672d99fcca comments, no return from _cj_site_lock 2018-04-30 11:10:01 -07:00
Paul Driver
b43f069441 u3n_find returns post 2018-04-30 11:02:48 -07:00
Paul Driver
68f98124e5 more comments, u3n_burn takes a post 2018-04-30 10:56:19 -07:00
Paul Driver
dc470f76d4 deleting unused public functions, cleaning up internal apis 2018-04-30 10:33:04 -07:00
Paul Driver
825b7eb604 posts in sites 2018-04-30 10:16:47 -07:00
Paul Driver
d306975af8 gate_prep transfers, rites to posts 2018-04-30 09:57:09 -07:00
Paul Driver
67c1035d57 fix profiling 2018-04-27 12:22:39 -07:00
Paul Driver
48eb2fee9b roll 2018-04-27 09:33:33 -07:00
Paul Driver
62b8b655ee locally cached gates for things like turn 2018-04-26 17:42:38 -07:00
Paul Driver
be8c56376d hook caching in, kink weirdness fixed 2018-04-26 16:36:29 -07:00
Paul Driver
a15c248e3d move _n_fink_free and everything that calls it 2018-04-26 12:06:57 -07:00
Paul Driver
462c6d7bd5 move rite and site mark 2018-04-26 11:23:03 -07:00
Paul Driver
bf2d240ed0 move cast 2018-04-26 11:15:46 -07:00
Paul Driver
4da79539ec move internal _n data structures to headers 2018-04-26 11:08:34 -07:00
Paul Driver
0e45d64cef minor things like initializing variables and stuff 2018-04-18 12:22:50 -07:00
Paul Driver
a5e79c2820 ream callsites at boot 2018-04-18 12:19:56 -07:00
Paul Driver
033b2c1721 using cached locations to speed up kicks 2018-04-17 14:57:59 -07:00
Paul Driver
50f3c9ef63 holding onto locations and finks at call sites without leaks 2018-04-17 13:47:52 -07:00
Paul Driver
7333250eeb no inter-road call site communication, bat/pog caching working! 2018-04-16 17:27:32 -07:00
Paul Driver
bb76625c4e keeping batteries for no reason 2018-04-16 16:54:20 -07:00
Paul Driver
3c7317a1a4 registration site caching 2018-04-14 14:57:12 -07:00
Paul Driver
4c482af711 fixed memoization, memory problems in reap 2018-04-13 13:32:31 -07:00
Paul Driver
ed58c5f267 stash - jacks kernel successfully 2018-04-12 17:14:40 -07:00
Paul Driver
4959d951b0 stash - first pass & compile 2018-04-12 11:31:42 -07:00
Paul Driver
c619f27b08 stash 2018-04-11 16:30:57 -07:00
Paul Driver
d25b3d04b1 use walk_with in u3j_ream 2018-04-04 11:51:21 -07:00
Paul Driver
c027d8aca4 fix (untriggered) memory leak in _cj_hook_in) 2018-04-03 20:28:44 -07:00
Paul Driver
cd342ab1c1 make come and flee more atomic
profiler and mememory checker are working properly now (and together)
2018-04-02 18:38:33 -07:00
Paul Driver
3b7e9eca0b Merge branch 'bytecode-mint' into spot-check 2018-04-02 14:08:51 -07:00
Paul Driver
03763e4817 fix profiling leaks 2018-04-02 14:08:28 -07:00
Paul Driver
41fd9cf287 surface allocate label in profile sample 2018-04-02 11:39:03 -07:00
Paul Driver
9b00b2084d fix memory errors in ream: boot and resume now pass memory checker 2018-03-31 15:15:29 -07:00
Paul Driver
a078e03f33 fix a memory leak in u3j_spot 2018-03-31 14:27:19 -07:00
Paul Driver
4fc65663c6 more bugfixes: now boots and restores from checkpoint 2018-03-31 13:51:41 -07:00
Paul Driver
b8506c70ea bugfixes 2018-03-30 13:01:03 -07:00
Paul Driver
a61ed7df17 fix compile errors 2018-03-30 11:49:18 -07:00
Paul Driver
78d4d79959 a clarifying comment 2018-03-30 11:17:48 -07:00
Paul Driver
58e21b4d2e housekeeping 2018-03-30 11:16:05 -07:00
Paul Driver
04d210509a initial rewrite of dashboard 2018-03-30 11:13:48 -07:00
Paul Driver
a4a2a38ce8 stash commit for interested onlookers 2018-03-29 16:18:22 -07:00
Paul Driver
a5e55372e9 stash before changing dashboard yet again 2018-03-29 11:56:09 -07:00
Paul Driver
e82f4c617e that should do for _cj_hook_in... 2018-03-28 11:27:33 -07:00
Paul Driver
f73408979b most logic thru u3j_kick moved to new dashboard 2018-03-26 13:25:23 -07:00
Paul Driver
2c8f8b0846 stash 2018-03-26 09:58:36 -07:00
Paul Driver
e68d64f8f9 Merge branch 'charm' into bytecode-mint 2018-03-19 10:11:01 -07:00
Paul Driver
c1f4c7fcb3 change overflow check to short 2018-03-15 16:58:04 -07:00
Paul Driver
e1d724e084 tightening down song_x even further, offloading book-keeping to a seperate helper function 2018-03-15 15:51:35 -07:00
Paul Driver
93d54041a9 tightening up unifying equality in several small ways 2018-03-15 15:06:53 -07:00
Paul Driver
3c54440c82 mov/off optimization for unifying equality 2018-03-15 13:07:22 -07:00
Paul Driver
1871595b57 add bytecode free functions 2018-03-12 10:58:41 -07:00
Paul Driver
a2a0f3ae6a code cleanup 2018-03-12 10:45:04 -07:00