Skip to content

fix(filter, registry): close access log files on error paths - #3561

Merged
Alanxtl merged 2 commits into
apache:developfrom
XnLemon:fix/issue-3553-fd-leaks
Aug 4, 2026
Merged

Alanxtl merged 2 commits into
apache:developfrom
XnLemon:fix/issue-3553-fd-leaks

add test

6276c71
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 29, 2026 in 22s

Annotations

Check warning on line 126 in filter/accesslog/file_handle_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary variable declaration and use the expression directly in the condition.

See more on https://sonarcloud.io/project/issues?id=apache_dubbo-go&issues=AZ-qMRXB1eeMvlV2PZZm&open=AZ-qMRXB1eeMvlV2PZZm&pullRequest=3561