Commit graph

63 commits

Author SHA1 Message Date
Simon Cruanes
604224d1cf
basic UDP socket example
Some checks are pending
github pages / Deploy doc (push) Waiting to run
Build and Test / build (push) Waiting to run
Build and Test / format (push) Waiting to run
2025-05-06 11:02:10 -04:00
Simon Cruanes
0f8e8797e8
add Nanoev_picos.Net with send/recv functions 2025-05-06 11:01:54 -04:00
Simon Cruanes
00c845ec8d
feat(picos): check for cancellation; expose more in Base.Raw
Some checks are pending
github pages / Deploy doc (push) Waiting to run
Build and Test / build (push) Waiting to run
Build and Test / format (push) Waiting to run
2025-05-05 12:58:42 -04:00
Simon Cruanes
b6583d69a8
head middlewares 2025-05-05 10:11:40 -04:00
Simon Cruanes
f7c3a14b1e
require tiny_httpd 0.19 2025-05-05 10:10:29 -04:00
Simon Cruanes
4e0a7c0393
tiny_httpd: use ?enable_logging 2025-05-05 10:10:19 -04:00
Simon Cruanes
d9307e4c2c
CI 2025-05-05 10:04:42 -04:00
Simon Cruanes
9d0a5dbf17
CI
Some checks failed
github pages / Deploy doc (push) Has been cancelled
Build and Test / build (push) Has been cancelled
Build and Test / format (push) Has been cancelled
2025-05-02 15:59:45 -04:00
Simon Cruanes
d5f25ddf6f
CI 2025-05-02 15:48:28 -04:00
Simon Cruanes
41ede7fb33
readme 2025-05-02 15:40:06 -04:00
Simon Cruanes
9cfee024cd
expoe global_ev 2025-05-02 15:12:02 -04:00
Simon Cruanes
b96a78cfc0
picos: expose Nanoev_picos.Global_ev module and evloop 2025-05-02 15:10:15 -04:00
Simon Cruanes
a14280c1a8
Merge pull request #2 from c-cube/simon/posix-iomux
poll/ppoll backend using iomux+mtime
2025-05-02 13:52:51 -04:00
Simon Cruanes
b0a29618e7
test: better tracing and scalability for echo client/server 2025-05-02 13:48:54 -04:00
Simon Cruanes
74f87af96c
detail in tiny_httpd 2025-05-02 13:48:47 -04:00
Simon Cruanes
abd651428d
fix(posix): implement timers 2025-05-02 13:48:12 -04:00
Simon Cruanes
03af765e43
fix(unix): properly implement timers(!) 2025-05-02 13:47:57 -04:00
Simon Cruanes
1dcadb3470
add nanoev-picos as a package, also using picos_std 2025-05-02 13:47:40 -04:00
Simon Cruanes
caeae5794c
wip: improve echo server/client 2025-05-02 00:27:21 -04:00
Simon Cruanes
299dd9dddb
improve server 2025-05-02 00:27:11 -04:00
Simon Cruanes
c8d88e3887
wip: echo test 2025-05-01 23:30:00 -04:00
Simon Cruanes
8077a7d493
wip: tests 2025-05-01 23:22:26 -04:00
Simon Cruanes
653fddb850
feat(nanoev.picos): dep on iostream, add IO channels+Net 2025-05-01 23:22:26 -04:00
Simon Cruanes
90311ad4fa
format 2025-05-01 13:32:37 -04:00
Simon Cruanes
6e2d11384b
CI 2025-05-01 13:23:53 -04:00
Simon Cruanes
fcaa4b6636
echo: emit metrics, allow user to set buf size/buf pool size 2025-05-01 13:23:01 -04:00
Simon Cruanes
bd983a395c
picos: simplify a bit read/write retry loops 2025-05-01 13:22:45 -04:00
Simon Cruanes
34a1cc1769
tiny_httpd: use picos semaphore; tweak pool size, buf size 2025-05-01 13:22:15 -04:00
Simon Cruanes
ff870e7fa7
tiny_httpd: limit max pool size to 4096 2025-05-01 12:06:15 -04:00
Simon Cruanes
9b7c628506
fix: update example 2025-05-01 12:06:07 -04:00
Simon Cruanes
14d744c369
refactor picos: move whole setup into Background_thread mod 2025-05-01 12:05:51 -04:00
Simon Cruanes
c2b7c0e39d
remove comment 2025-05-01 11:41:07 -04:00
Simon Cruanes
bbd77c4730
add posix backend to test and to echo.ml 2025-05-01 11:39:45 -04:00
Simon Cruanes
adc468b59d
feat(posix): first working version 2025-05-01 11:39:23 -04:00
Simon Cruanes
26bdb34cba
feat(tiny_httpd): adjust buffer pool size to number of connections 2025-05-01 11:39:00 -04:00
Simon Cruanes
4c3c53ee16
feat(picos): add shutdown and max_fds 2025-05-01 11:38:52 -04:00
Simon Cruanes
3125f3274b
wip: posix 2025-04-30 22:16:19 -04:00
Simon Cruanes
7a0c3e1279
add max_fds to nanoev core interface 2025-04-30 22:16:06 -04:00
Simon Cruanes
8de6936787
format 2025-04-30 21:46:03 -04:00
Simon Cruanes
295b3b5c24
wip: nanoev-posix, using mtime and iomux 2025-04-30 16:12:49 -04:00
Simon Cruanes
00229d652f
ocamlformat 2025-04-30 16:12:44 -04:00
Simon Cruanes
14d365547d
Merge pull request #1 from c-cube/simon/tiny_httpd
add support for tiny_httpd
2025-02-16 22:21:55 -05:00
Simon Cruanes
67a36053b0
fix 2025-02-16 22:10:22 -05:00
Simon Cruanes
7105cf4234
CI 2025-02-16 22:05:43 -05:00
Simon Cruanes
6ee48fb21a
CI 2025-02-15 20:49:46 -05:00
Simon Cruanes
9e9d48b5d8
update 2025-02-15 20:38:20 -05:00
Simon Cruanes
fe57c8082e
format 2025-02-15 16:58:28 -05:00
Simon Cruanes
413346afae
detail 2025-02-15 16:56:43 -05:00
Simon Cruanes
3deea9e585
add readme 2025-02-15 16:56:38 -05:00
Simon Cruanes
6007cf9392
feat: handle close properly; read/write callbacks are informed about
closed FDs
2025-02-15 16:47:59 -05:00