Commit graph

174 commits

Author SHA1 Message Date
40a137e906 update tokio version 2018-09-20 20:58:51 -04:00
17427be5ef Update version of bytes 2018-09-20 20:13:27 -04:00
08e8b1311f Use hyper-provided runtime instead of tokio-core 2018-09-18 02:29:01 -04:00
14d468cc7d Update hyper to 0.12 2018-09-18 02:15:02 -04:00
55e1f29906 use impl Future in a few places 2018-05-13 21:05:51 -04:00
4f6cc00fe6 Add anticaching headers 2018-04-26 02:19:14 -04:00
603e741753 Add X-Accel-Buffering header & Nginx proxying instructions 2018-04-25 01:24:43 -04:00
e1866a0918 Add Cargo instructions 2018-04-16 03:36:25 -04:00
aa426bb5df Merge branch 'master' into github 2018-04-16 03:31:46 -04:00
9506c91f5a Write README.md 2018-04-16 03:29:43 -04:00
fc59af64a6
Initial commit 2018-04-16 02:18:09 -04:00
0e370556a2 add a little documentation re: soft buffer limits 2018-04-16 01:58:28 -04:00
32cf6dd2ef Add buffer size limit to chunker 2018-04-16 01:16:03 -04:00
982c5c2dcb Limit buffer size for stream parser 2018-04-16 00:59:53 -04:00
0f3e941031 Remove debug prints from relay command 2018-04-15 23:43:15 -04:00
8b27dc7d8f Fix upload tool, keep request active instead of dropping the Response 2018-04-15 22:07:21 -04:00
8d76bd5c57 Cleanup error handling 2018-04-15 22:06:42 -04:00
739862bc35 Add send subcommand for uploading WebM 2018-04-15 01:43:23 -04:00
885681f009 Add some reusable error conversions 2018-04-15 01:42:47 -04:00
ee82846590 Use tokio_core instead of runtime as top loop 2018-04-15 01:21:00 -04:00
49541347a4 Give all subcommands option of returning a future to run in a Tokio context 2018-04-14 22:35:32 -04:00
0075e52f7b Run filter under Tokio runtime so that Delay works 2018-04-14 18:44:53 -04:00
ab55d951a0 Use nonzero exit code on error. 2018-04-14 18:44:19 -04:00
a847d62b34 Have utilities read stdin via tokio_io wrapper 2018-04-14 18:18:50 -04:00
e77a3d0e98 Implement Throttle filter (fails because not executed on runtime) 2018-04-14 05:04:46 -04:00
9123d63343 Express filter as a future 2018-04-14 04:56:24 -04:00
8b0467c1d7 Add Send bound to WebmetroError::Unknown 2018-04-14 04:56:24 -04:00
2170096a21 Make WebmChunker use WebmetroError 2018-04-14 04:56:24 -04:00
bf56789810 Make EbmlStreamingParser use WebmetroErrors specifically 2018-04-14 04:56:24 -04:00
a9932ee6a1 Create unified error type 2018-04-14 04:56:24 -04:00
15ebdb6b8c Update dependencies + officially add Tokio 2018-04-14 04:56:20 -04:00
6434db0f82 Stub out throttle filter 2018-04-12 23:29:12 -04:00
413375102e Implement core of filter subcommand 2018-04-12 23:07:13 -04:00
bac34e94c5 impl Error for error types 2018-04-12 02:07:46 -04:00
e61244bce3 Factor StdinStream out of dump applet 2018-04-12 00:14:16 -04:00
9b1e61ff80 delete bin/ toys that aren't especially useful anymore 2018-04-11 22:47:03 -04:00
f890437c17 convert bin/stub into a sanity test 2018-04-11 22:45:53 -04:00
da54623006 Move bin/dump into a debug subcommand, read stdin instead of a file 2018-04-11 21:54:02 -04:00
9dbd59c313 Use ? error handling in subcommands 2018-04-11 19:45:02 -04:00
97359801c2 Print help by default 2018-04-11 01:50:18 -04:00
7563c3ef46 Support PUT streams too 2018-04-11 01:43:40 -04:00
98f7f446f9 Move relay_server into a subcommand 2018-04-11 01:39:28 -04:00
f3aa76243f Create stub main binary, using clap argument parser 2018-04-11 00:55:41 -04:00
2310aabe2f Rename crate to webmetro 2018-04-10 01:53:58 -04:00
4970603236 Drop unknown elements when building header 2018-04-09 22:52:01 -04:00
bf0f727b03 Stub out a one-channel video relay server 2018-04-09 21:00:51 -04:00
96f6ec8115 bit of debug support 2018-04-09 21:00:36 -04:00
075c840a46 Use Never type & add missing Transmitter::new() to channel.rs 2018-04-09 18:26:52 -04:00
adea1e4389 Remove unused generic parameter from Chunk 2018-04-09 17:53:32 -04:00
065e653f86 channel.rs: First stab at core of a relay server 2018-04-09 15:53:30 -04:00