Commit Graph

217 Commits

Author SHA1 Message Date
Elliot Glaysher
0f09810dd7 Revert "Merge pull request #952 from eglaysher/revert-meson"
This reverts commit 9978ad8b72, reversing
changes made to a85369fa1f.
2018-03-20 10:16:16 -07:00
Elliot Glaysher
e6f6315691 Revert "Merge pull request #949 from eglaysher/meson-build-clean"
This reverts commit 9f795b535f, reversing
changes made to d5c7b3b932.
2018-03-19 15:13:19 -07:00
Elliot Glaysher
b9432b4d57
Merge pull request #930 from joemfb/sav-mkdirp
recursively mkdir in u3_walk_save
2018-03-19 14:36:57 -07:00
Elliot Glaysher
9f795b535f
Merge pull request #949 from eglaysher/meson-build-clean
Meson build clean
2018-03-19 11:14:53 -07:00
Joseph Bryan
a23d708dae reorder, rename, refactor, comment 2018-03-15 22:56:05 -04:00
Joseph Bryan
f4e60f604a cleans up server SSL_CTX, saves pointer on u3_Host 2018-03-15 22:55:51 -04:00
Joseph Bryan
419a634ad9 cleans up client SSL_CTX initialization 2018-03-14 17:02:06 -04:00
Joseph Bryan
63081c94e5 updates cancellation to properly handle async address resolution 2018-03-14 13:21:20 -04:00
Joseph Bryan
f6c0ec399f comments cttp.c for functions duplicated from http.c 2018-03-14 13:21:20 -04:00
Joseph Bryan
234ef5d109 replaces local h2hed struct with updated u3_hhed in http.c 2018-03-14 13:21:15 -04:00
Joseph Bryan
828c73c7e9 adds nam_w and val_w to u3_hhed, updates cttp appropriately 2018-03-14 13:21:10 -04:00
Joseph Bryan
cf47c0a2b8 implements request cancellation, cleans up success/failure handling 2018-03-14 11:33:59 -04:00
Joseph Bryan
221207053d resolves ip addresses explicitly, enables https requests 2018-03-14 11:33:58 -04:00
Joseph Bryan
a0bf822036 attaches response headers 2018-03-14 11:33:58 -04:00
Joseph Bryan
09585f73a9 switches cttp to be request-oriented, removes u3_ccon and jhttp
still buggy
2018-03-14 11:33:53 -04:00
Joseph Bryan
157fc2c7bb sends cttp responses to %eyre (buggy) 2018-03-12 21:09:38 -04:00
Joseph Bryan
97caea778b ghetto libh2o client 2018-03-12 21:09:37 -04:00
Joseph Bryan
50b06e1ec6 sets Server header to urbit/vere-$VERSION 2018-03-12 21:09:37 -04:00
Joseph Bryan
01bedc86f5 moves openssl init and prng seeding to main.c 2018-03-12 12:19:00 -04:00
Joseph Bryan
27da6091ea prints libh2o version in urbit -R 2018-03-12 12:10:23 -04:00
Joseph Bryan
04dde536f9 makes pointer sanity-check safe for tls, removes unnecessary malloc 2018-03-12 12:01:29 -04:00
Joseph Bryan
c01609b290 disables automatic chunked transfer-encoding
by setting content-length before start_response
2018-03-08 15:28:47 -05:00
Shaun Kerr
9592f0315d Updated key generation message. Fixes #876 2018-03-06 13:39:21 +13:00
Joseph Bryan
4222bd24fb generalizes _http_rec_fail 2018-03-05 13:40:23 -05:00
Joseph Bryan
0a74b9d272 adds pointer sanity check to struct cast in _http_rec_accept 2018-03-05 13:40:23 -05:00
Joseph Bryan
a3a7bd9f97 switches to stack allocation in _http_vec_from_octs 2018-03-05 13:40:17 -05:00
Joseph Bryan
40a588889c refactor, reorder, rename 2018-03-05 10:36:35 -05:00
Joseph Bryan
159d586e67 writes only successfully started servers to .http.ports 2018-03-05 10:36:35 -05:00
Joseph Bryan
a0b19f125f cleanup 2018-03-05 10:36:35 -05:00
Joseph Bryan
54fcac2b92 asan fix: initialize host before linking config to accept_ctx
and adds hostname(s) TODO
2018-03-05 10:36:34 -05:00
Joseph Bryan
fdafc30ee8 set HTTP response content length 2018-03-05 10:36:34 -05:00
Joseph Bryan
2f5623c3d4 skip starting secure server if no tls 2018-03-05 10:36:34 -05:00
Joseph Bryan
75b027bdd7 makes h2o_globalconf_t per server in u3_http 2018-03-05 10:36:34 -05:00
Joseph Bryan
c7b7a5fb17 refactors _http_respond() 2018-03-05 10:36:34 -05:00
Joseph Bryan
0451ebc81c print unknown request methods (debug only) 2018-03-05 10:36:34 -05:00
Joseph Bryan
d8c16add85 print error on uv_listen failure 2018-03-05 10:36:34 -05:00
Joseph Bryan
5f843afb65 bail on massive octs (??) 2018-03-05 10:36:34 -05:00
Joseph Bryan
f74c20473d updates vere.h with new server/connection/request structs 2018-03-05 10:36:33 -05:00
Joseph Bryan
79a13059bd cleanup from review 2018-03-05 10:36:33 -05:00
Joseph Bryan
9693794afc ghetto tls 2018-03-05 10:36:33 -05:00
Joseph Bryan
86ec59f86d start all 3 servers 2018-03-05 10:36:33 -05:00
Joseph Bryan
d2edbb116d perhaps we should pass the query parameters ... 2018-03-05 10:36:33 -05:00
Joseph Bryan
f62a117741 restore host header to make %eyre happy 2018-03-05 10:36:33 -05:00
Joseph Bryan
6a9e13eb79 adds real %eyre integration, removes jhttp 2018-03-05 10:36:33 -05:00
Joseph Bryan
24dd4e92ac stop leaking headers 2018-03-05 10:36:33 -05:00
Joseph Bryan
ed8c902b4a refactors meth 2018-03-05 10:36:33 -05:00
Joseph Bryan
18c4f09bcc ghetto eyre integration works! (errs in ++emule) 2018-03-05 10:36:32 -05:00
Joseph Bryan
28022ddca8 refactors response headers 2018-03-05 10:36:32 -05:00
Joseph Bryan
79fa28df98 better names 2018-03-05 10:36:32 -05:00
Joseph Bryan
fbfb1c4186 print ip 2018-03-05 10:36:32 -05:00
Joseph Bryan
e65fa24fca adds trivial libh2o integration 2018-03-05 10:36:32 -05:00
Joseph Bryan
ebbbf6cf0c recursively mkdir in u3_walk_save 2018-03-02 17:39:08 -05:00
mikolajp
4ba14cb4bc Fix UV__* for new libuv 2018-02-25 16:02:18 +08:00
mikolajp
94ac10e29e Remove telnet. Remove batz 2018-02-25 14:12:44 +08:00
Steven Dee
35bbba7b28 Fix uv error code reference 2018-02-24 21:40:34 -05:00
cgyarvin
91f2eaadaf
Merge pull request #919 from urbit/ames-straitjacket
Enforce -F / -N network options in Ames
2018-02-23 10:36:58 -08:00
cgyarvin
285c6d2ad2
Merge pull request #928 from joemfb/ctlc-pro
forwardports #813 (show prompt after ctrl-c)
2018-02-23 10:36:05 -08:00
Joseph Bryan
4db7eb4d60 maintains cursors position on %clr 2018-02-21 23:10:41 -05:00
Ted Blackman
c1725e2cf2 Prevent Ames from sending and receiving remote packets if remote networking is disabled 2018-01-29 12:03:37 -08:00
Ted Blackman
87e250e90f help text: added -N and removed -L 2018-01-29 10:21:46 -08:00
Joseph Bryan
23d878f0b8 show prompt after ctrl-c 2018-01-15 22:29:36 -05:00
Ted Blackman
49a3bc4ffa added -H ames bootstrap domain 2017-12-13 15:13:44 -08:00
Ted Blackman
ea2adb6e22 typo 2017-11-29 17:26:01 -08:00
Ted Blackman
9044de04cf Print out localhost-only message on ames init 2017-11-29 17:18:34 -08:00
Ted Blackman
48c98653a7 cool it with the 'ames: czar: localhost-only' messages 2017-11-29 17:13:42 -08:00
C. Guy Yarvin
057b866b17 Add terminal printers. 2017-11-08 14:37:39 -08:00
Ted Blackman
2a75beaf8e -L -> -N, allow remote networking in -F mode 2017-10-30 17:41:48 -07:00
Ted Blackman
4843234a78 check for -A 2017-10-30 03:43:03 -07:00
Ted Blackman
e852389fd2 -s pill from arvo's git hash and branch 2017-10-30 03:17:14 -07:00
Ted Blackman
bef3f128b4 _arvo_hash() function works 2017-10-27 17:12:57 -07:00
Ted Blackman
cda959fa26 tabs 2017-10-27 09:44:37 -07:00
Ted Blackman
ae142e0b07 better default behavior for -u; also, whitespace 2017-10-27 09:32:48 -07:00
Ted Blackman
36e775b938 -u <pill url> command-line option 2017-10-27 09:19:39 -07:00
Ted Blackman
721b048f42 more sorting 2017-10-27 09:17:19 -07:00
Ted Blackman
1a67685913 sort command-line options 2017-10-26 14:31:22 -07:00
Ted Blackman
67f8cae687 Verbose command-line help 2017-10-26 14:12:02 -07:00
Matthew Levan
4417b1c6fe *Removed* line 1521 to remove default header 2017-10-25 14:22:13 -07:00
Matthew Levan
e228dcd822 Commented out 1521 to remove default header 2017-10-25 14:06:36 -07:00
C. Guy Yarvin
9253613738 Let's not encrypt (because encryption is now in zuse). 2017-09-27 17:28:11 -07:00
C. Guy Yarvin
497b1ffb7f Fix crash when error delivery fails. 2017-07-27 15:27:53 -07:00
John Franklin
79f8e67a0c Call u3a_free() in _http_release_ports_file(). Addresses https://github.com/urbit/urbit/issues/835. 2017-06-27 06:02:08 -05:00
Raymond Pasco
311931d04a Merge branches 'u3x_hext' and 'andthus' into maint-0.4 2017-06-24 11:40:02 -04:00
C. Guy Yarvin
97ee2dcd22 Issue 504 to requester when socket breaks. 2017-06-24 11:39:15 -04:00
s-ol
531a4786f0 Suicide prevention with corrupt Lockfile 2017-04-04 16:19:10 +02:00
Raymond Pasco
39e8fa0216 Don't give up on trying to find czar IPs
If they're not found, "not found" has a 5 minute TTL - and if there was
already an IP for that czar, keep using it for 5 more minutes.
2016-12-16 12:12:50 -08:00
Raymond Pasco
b7036d60ca #define _WITH_DPRINTF for BSD systems 2016-12-13 05:43:53 -08:00
Raymond Pasco
c0b9da9eda _http_write_ports_file(): remove indirect C malloc 2016-12-13 05:32:23 -08:00
Raymond Pasco
f72515618f Remove stray debug printf 2016-12-12 15:43:15 -08:00
Raymond Pasco
187d844cad Merge branch 'back-http-ports' into maint-0.4
Backport of .http.ports feature
2016-12-12 15:06:49 -08:00
Raymond Pasco
5ab32ac055 Use assumed-secure for the "secure" port 2016-12-12 15:06:13 -08:00
Raymond Pasco
8535def3b2 Write .http.ports file 2016-12-12 15:06:13 -08:00
C. Guy Yarvin
cbfc627d17 Don't print czar ip unless it changes. 2016-11-01 12:58:48 -04:00
Raymond Pasco
3c86f46df5 Merge branches 'czar-expire' and 'version-scaffolding', remote-tracking branches 'joemfb/line-eating' and 'ohAitch/flag-g-generator'
Expire czar IPs after 5 minutes
Version number scaffolding for release
Fix line-munching term.c bug
Add -G to ease scripted creation of live galaxies
2016-10-25 11:02:59 -04:00
Raymond Pasco
6d2c60aa7a Version #define scaffolding 2016-10-25 10:54:00 -04:00
Raymond Pasco
d06bdd5ad1 Time out czar IPs after 5 minutes 2016-10-25 10:51:10 -04:00
Anton Dyudin
eb69bf45d2 fix -t error message 2016-10-24 17:23:43 -07:00
Anton Dyudin
3b1b0181ce add -G 0w-ca.rrier.-gene.rator flag 2016-10-24 11:56:44 -07:00
Joseph Bryan
2b9f103a0d updates _term_it_show_clear() to use ESC[K instead of ESC[J 2016-10-19 00:00:25 -04:00
Joseph Bryan
99dde17893 removes obsolete history-eating bug-fix from _term_it_show_clear() 2016-10-19 00:00:19 -04:00
Raymond Pasco
3400efdcea Remove redundant check for existing pier
that breaks non-galaxy startup...
2016-08-30 20:14:44 -04:00