Commit Graph

2815 Commits

Author SHA1 Message Date
Keaton Dunsford
1069377075
Merge pull request #982 from urbit/fix-static-library
Use static subprojects.
2018-05-15 13:50:33 -07:00
Elliot Glaysher
3a4318ccdb Use static subprojects. 2018-05-15 13:45:56 -07:00
Shaun Kerr
152e206d18 Removed unused variable. Closes #907 2018-05-15 14:51:52 +12:00
Joe Bryan
b4df1bca18
Merge pull request #976 from joemfb/http-idempotent-resp
makes http response %thou effectively idempotent
2018-05-07 18:55:50 -07:00
Elliot Glaysher
26996c2b16
Merge pull request #977 from urbit/meson-build-type
Use built in "buildrelease" flag instead of custom "debug=true" flag.
2018-05-07 16:20:44 -07:00
Elliot Glaysher
584855e390 Also fix the README. 2018-05-07 16:15:29 -07:00
Elliot Glaysher
44b210b238 Removes non-functional meson debug option.
It looks like the debug mode was copied literally from the old
Makefiles, which interacts poorly with meson and leads to builds
with "-O0 -g -O3".

The correct way to do this is to use "-Dbuildtype=release" or
"-Dbuildtype=debug" during configuration. Set the default builds
made by scripts/build to release.
2018-05-07 16:10:10 -07:00
Joe Bryan
ad4f76a431 adds state enum to u3_hreq, ignores attempts to send duplicate http responses 2018-05-04 15:49:44 -04:00
Joe Bryan
38f9c546c4
Merge pull request #972 from joemfb/ames-f-n
allows imperial addresses in the absence of -N (fix -F)
2018-04-25 14:45:00 -07:00
Joe Bryan
3c88802e6d
Merge pull request #973 from joemfb/http-resp-free
http: ensures that response buffers aren't freed until the request is disposed
2018-04-25 14:44:43 -07:00
Joe Bryan
2b3554a845 refactors _http_req_respond to use the h2o memory pool and defer cleanup
possibly fixing a use after free
2018-04-25 16:14:59 -04:00
Joe Bryan
dcc5eb521d fixes memory leak in ames fuzz-mode canceled requests 2018-04-24 15:28:35 -04:00
Joe Bryan
4466119b2e allows imperial addresses in the absence of -N 2018-04-24 15:27:04 -04:00
cgyarvin
37b56f2fc8
Merge pull request #967 from joemfb/terminate-cttp-header
fixes improper null-termination in cttp header buffers
2018-04-16 23:07:35 +02:00
Joe Bryan
2a10000a67 fixes improper null-termination in cttp header buffers 2018-04-16 15:14:49 -04:00
Keaton Dunsford
95b2c68695
Merge pull request #965 from joemfb/friendly-tls
updates "secure server not started" msg to be friendlier
2018-04-11 14:21:12 -07:00
Joe Bryan
0588a3c7fd updates "secure server not started" msg to be friendlier 2018-04-11 13:57:14 -07:00
Joe Bryan
4842bb8c29
Merge pull request #942 from joemfb/libh2o
rewrites http client and server to use libh2o
2018-04-11 13:12:23 -07:00
Joe Bryan
3ee0c7605c removes client request debug printf 2018-04-11 12:23:42 -07:00
Joe Bryan
70cb696559 terminates all strings in headers and body buffers 2018-04-10 17:04:21 -07:00
Joe Bryan
a62d59edf0 cleans up http headers, incorporate review feedback 2018-04-10 17:04:21 -07:00
Joe Bryan
05339a771e adds extra newline between headers and body 2018-04-10 12:55:44 -07:00
Joe Bryan
b745cb83bc updates cttp.c to allocate header struct and members separately 2018-04-10 12:55:44 -07:00
Joseph Bryan
fa152f639b adds libh2o to meson build, removes http-parser
with submodule fallback to a fork in the urbit organization
2018-04-10 12:55:44 -07:00
Joe Bryan
6c36594f6f Merge branch 'master' into libh2o
* master: (124 commits)
  use compile-time assertion to check for unsigned char
  Don't build libuv in travis if it is now submoduled.
  Rebuild the scripts without PKG_CONFIG_PATH hacks.
  Remove manual PKG_CONFIG_PATH configuration.
  Enable fallback libuv bundle
  Bundle libuv.
  adds a cell check for the sample of the +roll gate
  Add missing flags fixing the markdown parser bug #951
  Revert "Merge pull request #952 from eglaysher/revert-meson"
  Revert "Merge pull request #949 from eglaysher/meson-build-clean"
  Revert "The -C flag was added for exactly this case."
  The -C flag was added for exactly this case.
  Take ownership of the submodule repositories.
  Revert "Revert "Merge pull request #941 from frodwith/runtime-overflows""
  Add legacy meson instructions to README
  Fix new meson version check
  Fix legacy meson version detection.
  Universal meson build.
  change overflow check to short
  do the don trick for jam
  ...
2018-04-09 19:49:40 -07:00
Keaton Dunsford
87e28fb787
Merge pull request #953 from eglaysher/reapply-meson
Reapply meson
2018-04-09 19:14:55 -07:00
cgyarvin
e70a61171e
Merge pull request #954 from joemfb/assert-uchar
requires unsigned char on startup
2018-04-10 03:26:28 +02:00
Joseph Bryan
2caa2bc6bd use compile-time assertion to check for unsigned char 2018-04-09 18:22:48 -07:00
cgyarvin
85aa27d494
Merge pull request #957 from joemfb/roll-gate-sample
adds a cell check for the sample of the +roll gate
2018-04-10 02:44:54 +02:00
Elliot Glaysher
e97ab9da16 Don't build libuv in travis if it is now submoduled. 2018-04-03 11:23:00 -07:00
Elliot Glaysher
b933204492 Rebuild the scripts without PKG_CONFIG_PATH hacks. 2018-04-03 11:15:17 -07:00
Elliot Glaysher
34950b696e Remove manual PKG_CONFIG_PATH configuration.
Thanks @joemfb!
2018-04-03 11:05:41 -07:00
mikolajp
6730caa83b Enable fallback libuv bundle 2018-04-03 10:34:10 -07:00
Elliot Glaysher
57da487df3 Bundle libuv. 2018-04-03 10:31:53 -07:00
Joseph Bryan
84759f6394 adds a cell check for the sample of the +roll gate 2018-03-31 12:06:10 -04:00
Mikolaj Paraniak
773df55bd0 Add missing flags fixing the markdown parser bug #951 2018-03-20 10:20:09 -07:00
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
9978ad8b72
Merge pull request #952 from eglaysher/revert-meson
Revert meson
2018-03-19 15:22:03 -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
e8aec93d69 Revert "The -C flag was added for exactly this case."
This reverts commit 761f75a47e.
2018-03-19 15:12:55 -07:00
Elliot Glaysher
a85369fa1f
Merge pull request #948 from frodwith/charm
Charm
2018-03-19 14:57:50 -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
Keaton Dunsford
6b41fe9433
Merge pull request #950 from eglaysher/use-c-flag
README should recommend `ninja -C`
2018-03-19 12:13:36 -07:00
Elliot Glaysher
761f75a47e The -C flag was added for exactly this case. 2018-03-19 11:22:55 -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
Elliot Glaysher
b1f66d15bf Take ownership of the submodule repositories. 2018-03-19 10:53:35 -07:00
Paul Driver
8b65d631f0 Merge branch 'charm' into remaster-charm 2018-03-19 09:13:03 -07:00
Paul Driver
087b674a37 Revert "Revert "Merge pull request #941 from frodwith/runtime-overflows""
This reverts commit 074a293257.
2018-03-19 09:12:39 -07:00
Mikolaj Paraniak
fb2bc370d8 Add legacy meson instructions to README 2018-03-17 11:59:44 +08:00
Mikolaj Paraniak
9498d6baa9 Fix new meson version check 2018-03-17 11:26:13 +08:00