We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 057a4ad commit 00886c0Copy full SHA for 00886c0
my-http-server-core/src/http_server.rs
@@ -268,6 +268,7 @@ pub async fn start_http_1_unix_socket(
268
logger: Arc<dyn Logger + Send + Sync + 'static>,
269
connections: Arc<AtomicI64>,
270
) {
271
+ let _ = tokio::fs::remove_file(unix_socket.as_str()).await;
272
let listener = tokio::net::UnixListener::bind(unix_socket.as_str());
273
274
if let Err(err) = &listener {
0 commit comments