move back SocketConfig to aquatic_http

This commit is contained in:
Joakim Frostegård 2020-07-02 17:06:34 +02:00
parent 82378e71f6
commit b86787ef20
5 changed files with 18 additions and 31 deletions

View file

@ -69,7 +69,7 @@ pub fn run_socket_worker(
response_channel_receiver: ResponseChannelReceiver,
opt_tls_acceptor: Option<TlsAcceptor>,
){
match create_listener(&config.network.socket){
match create_listener(config.network.address, config.network.ipv6_only){
Ok(listener) => {
socket_worker_statuses.lock()[socket_worker_index] = Some(Ok(()));