Skip to content

[Bug] “444 - Connection Closed” returns an HTTP response instead of closing the connection when unauthenticate #11450

@Trashblazer

Description

@Trashblazer

Contact Information

No response

1Panel Version

2.0.15

Problem Description

当前结果:

$ curl -i http://127.0.0.1:23456/

HTTP/2 444
content-type: text/plain; charset=utf-8
content-length: 0
date: Thu, 25 Dec 2025 02:19:13 GMT

预期:

$ curl -i http://127.0.0.1:23456/
curl: (52) Empty reply from server

Steps to Reproduce

  1. 设置“面板设置-安全-未认证设置”为“444-连接被关闭”
  2. 用 curl -i 测试1Panel面板端口

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions