Simon Cruanes
|
9a587918fb
|
doc
|
2023-06-26 16:04:13 -04:00 |
|
Simon Cruanes
|
e1f0c58065
|
echo examples: add alice endpoint; use eio_posix
|
2023-06-23 17:58:11 -04:00 |
|
Simon Cruanes
|
6c8c24ea40
|
chore: opam dep
|
2023-06-23 17:58:11 -04:00 |
|
Simon Cruanes
|
38789de89c
|
require OCaml 4.05
|
2023-06-23 17:58:11 -04:00 |
|
Simon Cruanes
|
0adebc304b
|
fix issue for 4.04
|
2023-06-23 17:58:11 -04:00 |
|
Simon Cruanes
|
4138b1885a
|
detail in makefile
|
2023-06-23 17:58:11 -04:00 |
|
Simon Cruanes
|
b9faebffe4
|
use a resource pool to recycle buffers
|
2023-06-23 17:58:11 -04:00 |
|
Simon Cruanes
|
5ba1ff0de4
|
add Tiny_httpd_pool
|
2023-06-23 17:58:11 -04:00 |
|
Simon Cruanes
|
3f3d3e3464
|
add shims for Atomic on OCaml < 4.12
|
2023-06-23 17:58:11 -04:00 |
|
Simon Cruanes
|
911db76864
|
fix CI
|
2023-06-21 01:07:32 -04:00 |
|
Simon Cruanes
|
f845f1265b
|
compat: use Eio_unix.Stdenv.base
|
2023-06-21 00:23:35 -04:00 |
|
Simon Cruanes
|
6c499584b8
|
cleanup eio
|
2023-06-21 00:23:35 -04:00 |
|
Simon Cruanes
|
d2b89eee50
|
echo_eio: make quit into a button, to use POST
|
2023-06-21 00:23:34 -04:00 |
|
Simon Cruanes
|
55ef988aa4
|
details in example
|
2023-06-21 00:23:34 -04:00 |
|
Simon Cruanes
|
072a6041be
|
example eio: re-enable camlzip
|
2023-06-21 00:23:11 -04:00 |
|
Simon Cruanes
|
5e0a634c10
|
tiny_httpd_eio: do not use Eio's clock for our internals
|
2023-06-21 00:23:11 -04:00 |
|
Simon Cruanes
|
79cbcca4c1
|
cleanup: remove unused function in Tiny_httpd_server.IO_BACKEND
|
2023-06-21 00:23:11 -04:00 |
|
Simon Cruanes
|
d6402faf94
|
example: detail
|
2023-06-21 00:23:10 -04:00 |
|
Simon Cruanes
|
8620fe688d
|
eio: reimplement some buffering
|
2023-06-21 00:23:10 -04:00 |
|
Simon Cruanes
|
bfe5e9c358
|
copy example echo for eio backend
|
2023-06-21 00:23:09 -04:00 |
|
Simon Cruanes
|
e00c3a5d63
|
wip: tiny_httpd_eio, an alternative IO/concurrency backend based on Eio
|
2023-06-21 00:23:09 -04:00 |
|
Simon Cruanes
|
80ed51576b
|
Merge pull request #65 from c-cube/wip-cleanup-2023-06-20
cleanup and IO backend
|
2023-06-21 00:12:42 -04:00 |
|
Simon Cruanes
|
04f17262b6
|
example: add super stupid http auth endpoints to echo.ml
the endpoint /protected requires user:foobar login to see the content.
|
2023-06-20 23:04:44 -04:00 |
|
Simon Cruanes
|
56bb2db880
|
doc
|
2023-06-20 23:04:43 -04:00 |
|
Simon Cruanes
|
ed0f016f27
|
chore: makefile runs everything in release mode
|
2023-06-20 23:03:32 -04:00 |
|
Simon Cruanes
|
c907dc6af1
|
tighten flags; little fix
|
2023-06-20 23:03:32 -04:00 |
|
Simon Cruanes
|
5d7637becc
|
server: add IO_BACKEND abstraction; implement a unix version of it
this doesn't change the `create`+`run` version, but makes it possible to
create a server that doesn't use unix IOs.
|
2023-06-20 23:03:31 -04:00 |
|
Simon Cruanes
|
009a8d6d3b
|
test: tests for Buf
|
2023-06-20 23:03:31 -04:00 |
|
Simon Cruanes
|
a32297ac6c
|
add Tiny_httpd_io module, abstraction over IOs
abstract channels, and abstract TCP server.
|
2023-06-20 23:03:30 -04:00 |
|
Simon Cruanes
|
ee310b5262
|
fix: description for 401 code
|
2023-06-20 23:03:29 -04:00 |
|
Simon Cruanes
|
1f61af068b
|
chore: makefile
|
2023-06-20 22:45:43 -04:00 |
|
Simon Cruanes
|
ac17e61a81
|
prepare for 0.13
|
2023-05-24 16:14:13 -04:00 |
|
Simon Cruanes
|
c2b6ac24f4
|
fix: unit tests are for tiny_httpd
|
2023-05-24 16:14:13 -04:00 |
|
Simon Cruanes
|
202ef14f59
|
doc
|
2023-05-24 15:42:32 -04:00 |
|
Simon Cruanes
|
163d720641
|
Merge branch 'ocamlformat'
|
2023-05-24 15:41:58 -04:00 |
|
Simon Cruanes
|
aa27963c5a
|
improve docs
|
2023-05-24 15:39:05 -04:00 |
|
Simon Cruanes
|
88bfb9c109
|
feat: Server.run takes ?after_init parameter
also use it in http_of_dir to print the actual port.
|
2023-05-24 15:38:38 -04:00 |
|
Simon Cruanes
|
04fb648576
|
update docs
|
2023-05-24 15:21:49 -04:00 |
|
Simon Cruanes
|
82ebf85ee7
|
remove dep on ounit2 and qtest
|
2023-05-24 15:13:27 -04:00 |
|
Simon Cruanes
|
61ee931b6c
|
fix warnings
|
2023-05-24 15:03:32 -04:00 |
|
Simon Cruanes
|
0908d71e19
|
ocamlformat
|
2023-05-23 17:40:18 -04:00 |
|
Simon Cruanes
|
30a355da5a
|
fix: SSE requires no body
|
2023-05-23 17:39:19 -04:00 |
|
Simon Cruanes
|
997f7aa868
|
expose Response.make_void
it only has no body if the http code is compatible with it.
close #62
|
2023-05-23 17:18:05 -04:00 |
|
Stephane Legrand
|
9c2cf0900d
|
Add OPTIONS method
|
2023-05-07 20:55:46 -04:00 |
|
Simon Cruanes
|
53032c993e
|
fix: get addr/port from the current socket
|
2023-04-03 12:32:13 -04:00 |
|
Simon Cruanes
|
4fdce87dad
|
Merge pull request #57 from c-cube/fix-56
fix missing closing crlf in chunked streams
|
2023-02-21 21:14:39 -05:00 |
|
Simon Cruanes
|
e0338e4d59
|
Merge pull request #58 from craff/patch-3
Update download_chunked.sh
|
2023-02-21 21:09:44 -05:00 |
|
Christophe Raffalli
|
a5cf4060f3
|
Update download_chunked.sh
There was a type: Tranfer instead of Transfer and anyway we want Accept. But Accept-encoding is not looked at for chunked.
|
2023-02-07 16:15:08 -10:00 |
|
Simon Cruanes
|
6f03c521a6
|
fix missing closing crlf in chunked streams
|
2023-02-04 23:52:30 -05:00 |
|
Simon Cruanes
|
c81ca48fbd
|
Merge pull request #55 from craff/close_stream
close stream after Response.output
|
2023-01-19 00:24:23 -05:00 |
|