Commit graph

536 commits

Author SHA1 Message Date
Simon Cruanes
cac954f10a fix(http_of_dir): handle bad symlinks
close #6
2019-11-19 18:27:32 -06:00
Simon Cruanes
20275c164f improve docs and opam, tidy up for 0.1; rename stream 2019-11-18 23:18:46 -06:00
Simon Cruanes
f548041263 improve docs and opam, tidy up for 0.1 2019-11-18 23:12:33 -06:00
Simon Cruanes
8bfcf3673a feat: add host field to request 2019-11-18 23:04:23 -06:00
Simon Cruanes
3ac031b367 feat: add semaphore to limit number of simultaneous connections 2019-11-18 22:44:08 -06:00
Simon Cruanes
046ac43bac doc: proper titles 2019-11-18 22:13:35 -06:00
Simon Cruanes
2024d2d1c2 update doc 2019-11-18 22:09:31 -06:00
Simon Cruanes
95248a132c add more doc 2019-11-18 22:03:01 -06:00
Simon Cruanes
3048bfcc82 feat(http_of_dir): basic cache control with mtime in etag 2019-11-18 20:19:57 -06:00
Simon Cruanes
506292c587 fix: break properly on empty read in Stream_.read_line 2019-11-18 19:49:06 -06:00
Simon Cruanes
fba2af546c feat(http_of_dir): better parsing of max-upload size 2019-11-18 19:06:12 -06:00
Simon Cruanes
9c84f95e12 feat: simplify type of streams 2019-11-18 19:06:12 -06:00
Simon Cruanes
e75e97a559 fix: remove debug msg 2019-11-18 19:06:12 -06:00
Simon Cruanes
3245647dc9 improve API for tiny_httpd 2019-11-18 19:06:12 -06:00
Simon Cruanes
989971bb04 feat: use rust-like streams, much better 2019-11-18 19:06:12 -06:00
Simon Cruanes
8ba3c823c2 refactor API for streams, heavy bugfixing 2019-11-17 21:44:37 -06:00
Simon Cruanes
939b183a50 wip: new IO API with streams 2019-11-17 19:10:49 -06:00
Simon Cruanes
76408b7e39 wip: IO streams 2019-11-17 17:40:26 -06:00
Simon Cruanes
460492ded0 feat: use more precise error codes; improve http_of_dir 2019-11-17 17:36:04 -06:00
Simon Cruanes
7f68812312 feat: allow delete and use it in http_of_dir 2019-11-17 17:15:52 -06:00
Simon Cruanes
7b59670d60 feat(bin): accept PUT method for uploading up to max size 2019-11-17 16:52:42 -06:00
Simon Cruanes
193a9d9d31 change API with accept pre-filter, use these before 100-continue 2019-11-17 16:52:39 -06:00
Simon Cruanes
833a523cab chore: update travis 2019-11-17 16:00:39 -06:00
Simon Cruanes
3c5189a663 rename to tiny_httpd 2019-11-17 12:18:15 -06:00
Simon Cruanes
49b46b1c4e bin: first full version of http_of_dir 2019-11-17 12:09:16 -06:00
Simon Cruanes
43df91110c feat: support chunked output streams in responses; set some socket opts 2019-11-17 12:08:52 -06:00
Simon Cruanes
bca1466fe5 wip: simple binary for serving a directory 2019-11-17 11:37:59 -06:00
Simon Cruanes
6b4deb55f9 refactor: modify API 2019-11-17 11:37:42 -06:00
Simon Cruanes
2e66a92e68 fix: compat pre 4.05 2019-11-17 10:30:23 -06:00
Simon Cruanes
f6efa9b703 feat: debug, and chunked encoding handled properly
(tested with local server, upload, and curl)

close #1
2019-11-16 18:40:37 -06:00
Simon Cruanes
bd3d4c591d have a reusable buffer along with in_channel 2019-11-15 19:14:48 -06:00
Simon Cruanes
ea09e5507f feat: support 100-continue
close #2
2019-11-15 19:06:04 -06:00
Simon Cruanes
aa51327d6a feat: callbacks for request and response 2019-11-14 00:03:28 -06:00
Simon Cruanes
901fa87c3f fix: compat on unix.socket 2019-11-13 23:47:44 -06:00
Simon Cruanes
cd2e0bb0ae doc: more readme 2019-11-13 23:47:38 -06:00
Simon Cruanes
3703436d18 initial commit 2019-11-13 23:38:38 -06:00