mirror of
1
Fork 0
forgejo/modules/graceful
Mewp 377052c90c fix: Listening on abstract domain sockets (#7020)
When passed a socket name that starts with @, go will listen on an
abstract unix domain socket. Forgejo breaks this by assuming the socket
name is a file path and normalizing it to an absolute path.

This small commit prevents treating the socket name as a filesystem path
if it starts with @.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7020
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Mewp <codeberg.org@mewp.pl>
Co-committed-by: Mewp <codeberg.org@mewp.pl>
2025-03-09 16:06:52 +00:00
..
releasereopen Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
context.go Improve graceful manager code/comment (#28063) 2023-11-15 22:02:46 +08:00
manager.go [FIX] make pprof labels conformant with prometheus spec 2024-03-31 17:07:14 +02:00
manager_common.go [FIX] make pprof labels conformant with prometheus spec 2024-03-31 17:07:14 +02:00
manager_unix.go Drop SSPI auth support and more Windows files (#7148) 2025-03-08 00:43:41 +00:00
net_unix.go fix: Listening on abstract domain sockets (#7020) 2025-03-09 16:06:52 +00:00
net_unix_linux_test.go fix: Listening on abstract domain sockets (#7020) 2025-03-09 16:06:52 +00:00
restart_unix.go Drop SSPI auth support and more Windows files (#7148) 2025-03-08 00:43:41 +00:00
server.go Improve graceful manager code/comment (#28063) 2023-11-15 22:02:46 +08:00
server_hooks.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
server_http.go Improve graceful manager code/comment (#28063) 2023-11-15 22:02:46 +08:00