Skip to content

fix(net): unexpected write#8291

Merged
xhofe merged 1 commit intoAlistGo:mainfrom
j2rong4cn:fix2
Apr 12, 2025
Merged

fix(net): unexpected write#8291
xhofe merged 1 commit intoAlistGo:mainfrom
j2rong4cn:fix2

Conversation

@j2rong4cn
Copy link
Copy Markdown
Contributor

@xhofe xhofe requested a review from Copilot April 12, 2025 09:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

server/webdav/webdav.go:61

  • [nitpick] Variable 'Writer' should use lowerCamelCase (e.g., 'writer') to follow Go naming conventions.
Writer := &common.WrittenResponseWriter{ResponseWriter: w}

server/handles/down.go:131

  • [nitpick] Variable 'Writer' should be renamed to 'writer' for consistency with Go naming conventions.
Writer := &common.WrittenResponseWriter{ResponseWriter: c.Writer}

@xhofe xhofe merged commit a2f2662 into AlistGo:main Apr 12, 2025
12 checks passed
@j2rong4cn j2rong4cn deleted the fix2 branch April 12, 2025 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

某些存储驱动开启“本地代理”时,如果下载文件时网络中断,那么下载的文件会损坏

3 participants