mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 09:42:40 +01:00
Merge pull request #106 from niklasf/starting-url
give a url in the log when starting
This commit is contained in:
commit
ceb97cd6b9
@ -281,7 +281,7 @@ impl<H: IntoHttpHandler> HttpServer<H>
|
|||||||
|
|
||||||
// start acceptors threads
|
// start acceptors threads
|
||||||
for (addr, sock) in addrs {
|
for (addr, sock) in addrs {
|
||||||
info!("Starting http server on {}", addr);
|
info!("Starting server on http://{}", addr);
|
||||||
self.accept.push(
|
self.accept.push(
|
||||||
start_accept_thread(sock, addr, self.backlog, workers.clone()));
|
start_accept_thread(sock, addr, self.backlog, workers.clone()));
|
||||||
}
|
}
|
||||||
@ -343,7 +343,7 @@ impl<H: IntoHttpHandler> HttpServer<H>
|
|||||||
|
|
||||||
// start acceptors threads
|
// start acceptors threads
|
||||||
for (addr, sock) in addrs {
|
for (addr, sock) in addrs {
|
||||||
info!("Starting tls http server on {}", addr);
|
info!("Starting server on https://{}", addr);
|
||||||
self.accept.push(
|
self.accept.push(
|
||||||
start_accept_thread(sock, addr, self.backlog, workers.clone()));
|
start_accept_thread(sock, addr, self.backlog, workers.clone()));
|
||||||
}
|
}
|
||||||
@ -387,7 +387,7 @@ impl<H: IntoHttpHandler> HttpServer<H>
|
|||||||
|
|
||||||
// start acceptors threads
|
// start acceptors threads
|
||||||
for (addr, sock) in addrs {
|
for (addr, sock) in addrs {
|
||||||
info!("Starting tls http server on {}", addr);
|
info!("Starting server on https://{}", addr);
|
||||||
self.accept.push(
|
self.accept.push(
|
||||||
start_accept_thread(sock, addr, self.backlog, workers.clone()));
|
start_accept_thread(sock, addr, self.backlog, workers.clone()));
|
||||||
}
|
}
|
||||||
@ -420,7 +420,7 @@ impl<H: IntoHttpHandler> HttpServer<H>
|
|||||||
|
|
||||||
// start acceptors threads
|
// start acceptors threads
|
||||||
for (addr, sock) in addrs {
|
for (addr, sock) in addrs {
|
||||||
info!("Starting http server on {}", addr);
|
info!("Starting server on http://{}", addr);
|
||||||
self.accept.push(
|
self.accept.push(
|
||||||
start_accept_thread(sock, addr, self.backlog, workers.clone()));
|
start_accept_thread(sock, addr, self.backlog, workers.clone()));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user