removed useless tls binary name #48
@ -4,11 +4,7 @@ use std::fs::File;
|
|||||||
use std::net::{TcpListener, TcpStream};
|
use std::net::{TcpListener, TcpStream};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let mut args = std::env::args();
|
match std::env::args().next() {
|
||||||
|
|
||||||
let entrypoint = args.next();
|
|
||||||
|
|
||||||
match entrypoint {
|
|
||||||
Some(s) => match s.as_str() {
|
Some(s) => match s.as_str() {
|
||||||
"connection_listener" => connection_listener_entrypoint(),
|
"connection_listener" => connection_listener_entrypoint(),
|
||||||
"http_handler" => http_handler_entrypoint(),
|
"http_handler" => http_handler_entrypoint(),
|
||||||
|
Loading…
Reference in New Issue
Block a user