HTTP server built using Rust.
Limited implementation of RFC2616 14.35.1, just enough so that "wget -c" works. You can resume paused downloads.
-
Clone the repo:
git clone [email protected]:dafaqdhruv/little-rusty.git && cd little-rusty
-
Build binary:
cargo build
or, to build in release mode:
cargo build --release
-
In target directory:
./path/to/binary [port]
[port]
The TCP port number to listen on. Default is8990
. Incoming requests are manually logged tostdout
. Verbose logging will be added in future. -
Send
ctrl+c
(SIGINT) to kill server