Simon Cruanes
|
5018df5ff8
|
fix: avoid collisions in Mime_ private module
|
2024-02-22 18:33:57 -05:00 |
|
Simon Cruanes
|
225c21b4cc
|
error handling, and bugfix (idempotent closing of Unix.fd)
|
2024-02-22 18:23:18 -05:00 |
|
Simon Cruanes
|
d56ffb3a08
|
http_of_dir: ability to setup socket timeout
|
2024-02-21 22:09:18 -05:00 |
|
Simon Cruanes
|
353f0925b4
|
server: better logging, better error handling
|
2024-02-21 22:08:58 -05:00 |
|
Simon Cruanes
|
88b9f1e411
|
fix stream: fix a bug, use a loop in another place
|
2024-02-21 22:07:49 -05:00 |
|
Simon Cruanes
|
01faca284f
|
fix IO: use a loop for IO.Input.of_unix_fd; handle nonblocking
|
2024-02-21 22:07:12 -05:00 |
|
Simon Cruanes
|
e69f1b7c8c
|
feat dir: only read content of regular files
no need to look into sockets, pipes, etc.
|
2024-02-21 22:06:24 -05:00 |
|
Simon Cruanes
|
a39df1ba47
|
CI
|
2024-02-21 22:04:06 -05:00 |
|
Simon Cruanes
|
d9b3731207
|
feat: optional dep on magic-mime for http_of_dir
|
2024-02-21 22:03:31 -05:00 |
|
Simon Cruanes
|
13bfbfa759
|
docs
|
2024-02-20 12:55:55 -05:00 |
|
Simon Cruanes
|
bc78ed0911
|
ghpages
|
2024-02-20 12:48:16 -05:00 |
|
Simon Cruanes
|
0d1bccfd1b
|
better logging, do not error on close
|
2024-02-18 23:44:10 -05:00 |
|
Simon Cruanes
|
20a36919ce
|
perf: only call select in accept loop if accept would have blocked
|
2024-02-17 11:51:50 -05:00 |
|
Simon Cruanes
|
217defecc5
|
fix: used the wrong registry in prometheus middleware
|
2024-02-12 16:19:58 -05:00 |
|
Simon Cruanes
|
5002045ef9
|
fix warning
|
2024-02-12 16:19:36 -05:00 |
|
Simon Cruanes
|
d686ace2df
|
doc
|
2024-02-08 15:35:33 -05:00 |
|
Simon Cruanes
|
7430dbf4b4
|
try to fix CI
|
2024-02-08 14:42:20 -05:00 |
|
Simon Cruanes
|
91c99c0e04
|
CI
|
2024-02-08 09:55:36 -05:00 |
|
Simon Cruanes
|
3cb76f6f41
|
chore: CI
|
2024-02-07 15:38:45 -05:00 |
|
Simon Cruanes
|
89e3fb91dd
|
Merge pull request #78 from c-cube/wip-ws
add a websocket library
|
2024-02-07 15:28:34 -05:00 |
|
Simon Cruanes
|
ad3f036893
|
doc
|
2024-02-05 10:44:34 -05:00 |
|
Simon Cruanes
|
d9a2f6e85f
|
feat: expose Tiny_httpd_ws.upgrade
|
2024-02-05 10:44:00 -05:00 |
|
Simon Cruanes
|
e110e88744
|
CI
|
2024-02-05 10:37:35 -05:00 |
|
Simon Cruanes
|
1a45961443
|
chore: turn tiny_httpd_ws into tiny_httpd.ws, a sub-lib
now that there's no additional dep it's not a problem!
|
2024-02-05 10:36:55 -05:00 |
|
Simon Cruanes
|
78baf70126
|
add basic C stubs for unmasking client frames
|
2024-02-05 01:29:31 -05:00 |
|
Simon Cruanes
|
7eaaf432e4
|
compat fix
|
2024-02-05 01:10:23 -05:00 |
|
Simon Cruanes
|
b97c8abf80
|
CI
|
2024-02-05 01:07:34 -05:00 |
|
Simon Cruanes
|
29dc16114e
|
detail in example
|
2024-02-05 01:07:34 -05:00 |
|
Simon Cruanes
|
4dce594c32
|
remove deps of tiny_httpd_ws
vendoring dbuenzli's code is neat!
|
2024-02-05 01:07:34 -05:00 |
|
Simon Cruanes
|
a405fb046d
|
expose client address to websocket
|
2024-02-05 01:07:34 -05:00 |
|
Simon Cruanes
|
7fe66a21ec
|
example of echo server over websockets
|
2024-02-05 01:06:37 -05:00 |
|
Simon Cruanes
|
e1f2edb0ab
|
feat: first draft of the websocket library
|
2024-02-05 01:06:37 -05:00 |
|
Simon Cruanes
|
d3a4dbc5b0
|
feat server: new notion of Upgrade handler
this handles `connection: upgrade` endpoints with a generic
connection-oriented handler. The main goal is to support
websockets.
|
2024-02-05 01:06:37 -05:00 |
|
Simon Cruanes
|
f416f7272d
|
feat IO: add Input.{of_slice,append}
|
2024-02-05 01:06:37 -05:00 |
|
Simon Cruanes
|
d97aac18c3
|
fix typo
|
2024-02-05 01:06:37 -05:00 |
|
Simon Cruanes
|
fd772bc023
|
wip: add websocket library
|
2024-02-05 01:06:37 -05:00 |
|
Simon Cruanes
|
03a2b38bad
|
strengthen against errors
|
2024-02-03 00:14:16 -05:00 |
|
Simon Cruanes
|
9ba1a5a328
|
chore: modify dune flags in http_of_dir
|
2024-01-31 22:16:40 -05:00 |
|
Simon Cruanes
|
51e1d1ece5
|
more logging, and improved
|
2024-01-24 13:13:35 -05:00 |
|
Simon Cruanes
|
df8b579d24
|
feat: add Response_code.is_success
|
2024-01-24 13:11:47 -05:00 |
|
Simon Cruanes
|
ce00f7a027
|
prepare for 0.16
|
2024-01-23 23:32:52 -05:00 |
|
Simon Cruanes
|
caa628b446
|
fix: logs is a testdep for tiny_httpd_camlzip too
|
2024-01-23 23:32:37 -05:00 |
|
Simon Cruanes
|
d6515bf37f
|
changes
|
2024-01-23 23:32:37 -05:00 |
|
Simon Cruanes
|
fbd1fd86c7
|
logs is a test dep
|
2024-01-23 23:32:21 -05:00 |
|
Simon Cruanes
|
bb70c46978
|
more detailed info string for responses
|
2024-01-23 23:32:21 -05:00 |
|
Simon Cruanes
|
f93f8d733a
|
more CI
|
2024-01-23 23:32:21 -05:00 |
|
Simon Cruanes
|
178a4f9bbb
|
stupid bugfix
|
2024-01-23 23:32:21 -05:00 |
|
Simon Cruanes
|
729eb9c43b
|
info-level logging for each request
|
2024-01-23 23:32:21 -05:00 |
|
Simon Cruanes
|
86f1b9025d
|
add optional dependency on logs
|
2024-01-23 23:32:20 -05:00 |
|
Simon Cruanes
|
5d6edb51e9
|
fix: 3xx codes are not errors
|
2024-01-23 23:32:13 -05:00 |
|