这是indexloc提供的服务,不要输入任何密码
Skip to content

Sometimes "use of closed network connection" Error When Interrupting Program #234

@quaggalinux

Description

@quaggalinux

webdav sometimes reports an error when I use Ctrl+C to interrupt the program. However, sometimes there are no error reports.

My OS is ubuntu 20 and 24.
webdav version is 5.7.5

The log is below.

2025-06-16T01:18:34.358+0800	WARN	unprotected config: no users have been set, so no authentication will be used
2025-06-16T01:18:34.358+0800	INFO	listening	{"address": "[::]:6065"}
^C2025-06-16T01:31:44.553+0800	INFO	caught signal, shutting down	{"signal": "interrupt"}
2025-06-16T01:31:44.555+0800	ERROR	failed to start server	{"error": "accept tcp [::]:6065: use of closed network connection"}
github.com/hacdias/webdav/v5/cmd.init.func2.2
	github.com/hacdias/webdav/v5/cmd/root.go:97

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions