Skip to content

simplehttpserver: Remove socketpath if it exists

When socketpath is used, if the socket path already exists due to a previous run not having removed it, on subsequent starts the server process will fail with "address already in use" because the socket file already exists. So remove it to avoid that.

Edited by Xavier Thompson

Merge request reports