Commit Graph

3110 Commits

Author SHA1 Message Date
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
C. Guy Yarvin
d90d0327e2 Change %bunt to %bcdt. 2018-03-13 19:57:53 -07: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
Keaton Dunsford
d5c7b3b932
Merge pull request #944 from keatondunsford/master
Revert "Merge pull request #941 from frodwith/runtime-overflows"
2018-03-12 16:55:58 -07:00
Keaton Dunsford
074a293257 Revert "Merge pull request #941 from frodwith/runtime-overflows"
This reverts commit 67d3460a91, reversing
changes made to 8d0f6cf3a6.
2018-03-12 16:42:39 -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
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
C. Guy Yarvin
55e895036c Eliminate old-fashioned burn. 2018-03-10 20:57:02 -08:00
Paul Driver
bf8ac6fc37 bytecode interpreter passes memory checker 2018-03-09 16:38:55 -08:00
Paul Driver
42c460ed3b midway through adding making for bytecode 2018-03-09 16:04:47 -08:00
Paul Driver
16e3e5cf6a Merge branch 'unbreak-euq' into bytecode-mint 2018-03-09 10:57:07 -08:00
Paul Driver
73469e3383 remove well-intentioned equality profile breakage
process sampling already takes care to turn off cpu profiling during its
sampling. this "fix" for mid-equality sampling was masking another bug
at an earlier point in the debugging process for the unifying equality
changes. I realized upon reflection that it was incorrect.
2018-03-09 10:42:19 -08:00
Joseph Bryan
c01609b290 disables automatic chunked transfer-encoding
by setting content-length before start_response
2018-03-08 15:28:47 -05:00
Paul Driver
1ec1457d75 Merge branch 'master' into bytecode-mint 2018-03-08 07:38:05 -08:00
Ted Blackman
67d3460a91
Merge pull request #941 from frodwith/runtime-overflows
Runtime overflows
2018-03-06 14:29:36 -08:00
Paul Driver
8661b53c8f Merge branch 'master' into runtime-overflows 2018-03-06 13:04:45 -08:00
Paul Driver
16364d4a18 Revert "Revert "Merge pull request #920 from frodwith/runtime-overflows""
This reverts commit 6bf2b4de6b.
2018-03-06 13:04:18 -08:00
cgyarvin
8d0f6cf3a6
Merge pull request #940 from techieAgnostic/issue_876
Updated key generation message. Fixes #876
2018-03-06 10:03:00 -08:00
Paul Driver
ac65967fa0 fix memory leak in jam 2018-03-06 09:44:16 -08:00
Shaun Kerr
9592f0315d Updated key generation message. Fixes #876 2018-03-06 13:39:21 +13:00
Paul Driver
3ed1ffda80 Merge branch 'runtime-overflows' into bytecode-mint 2018-03-05 13:39:26 -08:00
Paul Driver
c6b9b9a63e trace in sung/sang 2018-03-05 13:39:11 -08:00
Paul Driver
6aa498ab94 fix memory leak in bytecode compiler 2018-03-05 13:38:34 -08:00
Paul Driver
c3740fa09e Merge branch 'runtime-overflows' into bytecode-mint 2018-03-05 13:20:56 -08:00
Paul Driver
f90c714942 fix profiling during equality 2018-03-05 13:20:34 -08:00
Paul Driver
5490a4c4cf stash 2018-03-05 11:12:18 -08: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
59504118f1 adds libh2o cmake build step 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