Simon Cruanes
5caef14945
buffer pool for lwt server
2025-07-16 22:58:21 -04:00
Simon Cruanes
76cefc0991
cleanup for lwt
2025-07-16 22:53:26 -04:00
Simon Cruanes
3014046a8a
use lwt_direct from lwt PR
2025-07-08 10:32:46 -04:00
Simon Cruanes
029c558802
tiny_httpd_lwt: fix bug in ic refill; revert to bytes
2025-07-02 23:11:37 -04:00
Simon Cruanes
906cc152f2
feat lwt_task: adaptative limit on number of tasks in one go
2025-07-02 23:11:18 -04:00
Simon Cruanes
57bc8e434c
make sure we use epoll
2025-07-02 23:09:11 -04:00
Simon Cruanes
0193a2c0d1
wip: tiny_httpd_lwt
2025-07-02 22:44:57 -04:00
Simon Cruanes
cd0407973f
echo example with lwt
2025-07-02 22:44:28 -04:00
Simon Cruanes
8931def188
package tiny_httpd_lwt
2025-07-02 21:08:29 -04:00
Simon Cruanes
ef5e62e75f
feat: add tiny_httpd_lwt library
2025-07-02 21:07:58 -04:00
Simon Cruanes
8a8aadfbb0
doc
github pages / deploy (push) Has been cancelled
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
2025-06-24 21:13:18 -04:00
Simon Cruanes
9a1343aef7
remove global withlock builder, pass it as argument instead
github pages / deploy (push) Has been cancelled
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
2025-06-23 10:08:07 -04:00
Simon Cruanes
f10992ec32
feat WS: abstraction for critical section
...
github pages / deploy (push) Has been cancelled
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
can be replaced with a proper cooperative lock
2025-06-20 18:03:40 -04:00
Simon Cruanes
0f917ddf72
format
github pages / deploy (push) Has been cancelled
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
2025-06-06 22:25:48 -04:00
Simon Cruanes
03c3e09f12
feat route: add to_url, to produce a URL path from a route
...
provide arguments and get the corresponding path, which makes
it easy to build a full URL if needed.
2025-06-06 22:25:01 -04:00
Simon Cruanes
023805232f
fix warnings in C stubs
2025-06-06 22:24:52 -04:00
Simon Cruanes
022a495de3
fix warnings
2025-06-06 22:24:39 -04:00
Simon Cruanes
6203e7a4a7
prepare for 0.19
github pages / deploy (push) Has been cancelled
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
2025-04-18 09:37:27 -04:00
Simon Cruanes
d7a5cca1d4
feat(headers): set will not reallocate whole list if not needed
2025-04-18 09:37:27 -04:00
Simon Cruanes
cdac33689a
add basic test for response
2025-04-18 09:37:27 -04:00
Simon Cruanes
4c8cc8ba5a
test: update test
2025-04-18 09:37:27 -04:00
Simon Cruanes
173e5fef6e
feat(headers): use case insensitive comparison
2025-04-18 09:37:27 -04:00
Simon Cruanes
94c9239d64
fix(response): do not override "content-length" in raw response
...
close #92
2025-04-18 09:37:27 -04:00
Simon Cruanes
c55e3a2dfc
feat pool: expose acquire/release
2025-04-18 09:37:27 -04:00
Simon Cruanes
f6daff24c0
prepare for 0.18
2025-04-18 09:37:27 -04:00
Simon Cruanes
3c9e505a45
fix test
2025-04-18 09:37:27 -04:00
Simon Cruanes
44002fc355
detail
2025-03-25 15:01:17 -04:00
Simon Cruanes
f3461cfd21
detail in example
2025-03-21 08:37:16 -04:00
Simon Cruanes
075ad0825a
feat: add ?head_middlewares to create
2025-03-19 13:40:49 -04:00
Simon Cruanes
75d90559bd
fix warnings
2025-03-19 13:39:15 -04:00
Simon Cruanes
e177153f10
remove dead comment
2025-03-14 11:12:11 -04:00
Jonah Beckford
1e0bbc7f39
Processing to fix incompatible -O and gcc flags
...
github pages / deploy (push) Has been cancelled
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
Two changes:
1. Accept BUILD_TINY_HTTPD_OPTLEVEL envvar to adjust the -O<num> level. Defaults to 2. Can be negative to remove it entirely, which fixes errors with MSVC which will bail on incompatible options.
2. Do not use -fPIC with MSVC
2025-02-15 20:06:44 -05:00
Simon Cruanes
1f60d6165d
add content-type header for prometheus endpoint
github pages / deploy (push) Has been cancelled
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
2025-02-10 20:38:04 -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
92999d56e8
typo
2025-01-29 22:25:22 -05:00
Simon Cruanes
09ff4f98ed
fix percent encoding for < 0x10 chars
2024-12-25 11:12:42 -05:00
Simon Cruanes
a86eac85bf
add a HEAD endpoint to echo
2024-12-25 10:59:32 -05:00
Simon Cruanes
1318d46efa
fix percent encoding on control chars
2024-12-06 14:42:17 -05:00
Simon Cruanes
1c61c39172
new flag ?enable_logging to disable regular logs (not debug)
2024-12-04 15:52:32 -05:00
Simon Cruanes
7639acfc19
perf: force a lazy in the branch where it is used
2024-12-04 15:10:57 -05:00
Simon Cruanes
709d1106fa
Merge pull request #93 from c-cube/simon/multipart-form
...
library for multipart form data handling
2024-12-03 10:22:58 -05:00
Simon Cruanes
731dd7de51
add a form to echo.ml for manual testing
2024-12-03 10:13:33 -05:00
Simon Cruanes
9875543192
remove debug line
2024-12-03 09:44:16 -05:00
Simon Cruanes
21c0f7f25d
feat: require \r\n before all boundaries but the first
2024-12-02 15:58:16 -05:00
Simon Cruanes
099777b593
test
2024-12-02 15:49:08 -05:00
Simon Cruanes
0b34c966f7
fix multipart: no \r\n before boundary after all
2024-12-02 15:48:52 -05:00
Simon Cruanes
8f0dac2dfe
missing file
2024-12-02 15:32:08 -05:00
Simon Cruanes
ce6119d456
and tests
2024-12-02 14:56:45 -05:00
Simon Cruanes
b966a9eccc
feat multipart-form: expose content_disposition
2024-12-02 14:56:35 -05:00
Simon Cruanes
66f87b7bda
more tests
2024-12-02 14:45:41 -05:00