Simon Cruanes
a07936dac4
eio backend, second attempt ( #95 )
...
format / format (push) Waiting to run
build / build (4.13.x, ubuntu-latest) (push) Waiting to run
build / build (4.14.x, ubuntu-latest) (push) Waiting to run
build / build (5.03.x, ubuntu-latest) (push) Waiting to run
feat: `tiny_httpd_eio` library
provides a tiny_httpd server that relies on Eio for non-blocking
sockets and for concurrency using eio fibers.
2026-02-15 16:36:32 -05:00
Simon Cruanes
ba19880d75
hardening bugfixes
...
github pages / deploy (push) Has been cancelled
build / build (4.13.x, ubuntu-latest) (push) Has been cancelled
build / build (4.14.x, ubuntu-latest) (push) Has been cancelled
build / build (5.03.x, ubuntu-latest) (push) Has been cancelled
* fix: use realpath to validate filesystem paths against traversal
- add string_prefix helper to check path containment
- compute root_canonical once per add_vfs_ call
- use realpath only for filesystem (on_fs=true), keeping simple
contains_dot_dot check for VFS
- paths are already URL-decoded by Route.rest_of_path_urlencoded
* fix: add header size limits to prevent memory exhaustion
add optional limits to Headers.parse_:
- max_headers: 100 (default)
- max_header_size: 16KiB per header (default)
- max_total_size: 256KiB total (default)
returns 431 status code when limits exceeded per RFC 6585.
2026-02-10 19:57:21 -05:00
Simon Cruanes
55eb9c2a2f
fix CI
build / build (4.08.x, ubuntu-latest) (push) Has been cancelled
build / build (4.14.x, ubuntu-latest) (push) Has been cancelled
build / build (5.03.x, ubuntu-latest) (push) Has been cancelled
github pages / deploy (push) Has been cancelled
2025-01-29 22:29:38 -05:00
Simon Cruanes
e341f48ece
chore: try to fix CI
2024-08-15 10:00:17 -04:00
Simon Cruanes
c1038e5b77
fix CI
2024-04-04 16:17:30 -04:00
Simon Cruanes
a39df1ba47
CI
2024-02-21 22:04:06 -05:00
Simon Cruanes
e110e88744
CI
2024-02-05 10:37:35 -05:00
Simon Cruanes
b97c8abf80
CI
2024-02-05 01:07:34 -05:00
Simon Cruanes
f93f8d733a
more CI
2024-01-23 23:32:21 -05:00
Simon Cruanes
8c1c38f772
CI and compat with 4.8
2024-01-20 00:59:26 -05:00
Simon Cruanes
d40a0070cb
faster CI
2023-12-07 00:04:48 -05:00
Simon Cruanes
38789de89c
require OCaml 4.05
2023-06-23 17:58:11 -04:00
Simon Cruanes
911db76864
fix CI
2023-06-21 01:07:32 -04:00
Sora Morimoto
a3f27bd3cb
Update GitHub Actions workflows
...
Signed-off-by: Sora Morimoto <sora@morimoto.io>
2022-09-03 14:06:22 -04:00
Simon Cruanes
a4438dbdf6
fix a test for 4.04
2022-03-30 16:23:40 -04:00
Simon Cruanes
4ad8d91f7c
chore: ensure CI runs all tests
2022-03-30 12:55:03 -04:00
Simon Cruanes
5ef3a03d35
chore: ci
2022-03-30 12:55:03 -04:00
Simon Cruanes
7347f55d14
try to fix CI
2022-03-03 23:23:02 -05:00
Simon Cruanes
f40320a059
wip: fix CI
2022-03-03 22:19:48 -05:00
Sora Morimoto
008eae1236
Cleanup GitHub Actions workflow
...
Signed-off-by: Sora Morimoto <sora@morimoto.io>
2022-01-04 13:54:53 +09:00
Simon Cruanes
b468854626
test: use different ports for each test, run some targets only on linux
2021-12-11 16:32:15 -05:00
Simon Cruanes
bcce3e22dc
CI: test only on linux
2021-12-11 16:08:16 -05:00
Simon Cruanes
8a914448c9
avoid dune stanza for inline tests
...
simpler to just do the testing ourselves
2021-06-02 15:39:50 -04:00
Simon Cruanes
e5d5f60e67
chore: try to fix CI
2021-06-01 10:53:33 -04:00
Simon Cruanes
0138f22826
use 4.08 for ci
2021-02-01 11:23:41 -05:00
Simon Cruanes
06ef1fc787
ci stuff
2021-02-01 11:15:49 -05:00
Simon Cruanes
53cf1fbde0
chore: update opam version, try to fix CI
2020-03-25 23:23:06 -04:00
Simon Cruanes
0f77a120d2
chore: add github action
2020-01-29 10:49:28 -06:00