tiny_httpd
tiny_httpd copied to clipboard
Minimal HTTP server using good old threads + blocking IO, with a small request router.
cc @anuragsoni this builds on #40. The combination of #40 and this, but using multicore, would be super interesting. However it would become important to make the buffer pool thread...
cc @anuragsoni that could be of interest I suppose, on multicore, directly with domains? :)
Two features which are almost always needed are not provided: - handling of body with Post method (the normal case is ok with Tiny_httpd_util.parse_query, but things like multipart should be...
Headers may have much more that 10 fields and usually use common headers (see []https://en.wikipedia.org/wiki/List_of_HTTP_header_field]) We could encode header_field as type _ header_field = | Connection : 'a header_field |...
This was done just out of curiosity as I wanted to try the multicore compiler. I'm leaving this as a draft here in-case you want to try this on the...
maybe depend on conf-curl/ocurl/curly to do the tests? - [ ] test gzip decoding (upload with compression enabled?) - [ ] test gzip encoding (see echo.ml and `/zcat/file` endpoint) -...
- feat: add `tiny_httpd.fuseau`, a backend with fuseau.unix - refactor: pass explicit buf_pool; add `create_buf_pool` - test: basic echo server with fuseau
https://github.com/crossbario/autobahn-testsuite