Skip to content

fix: add ReadHeaderTimeout to http servers (G112) - #1138

Draft
skevetter wants to merge 1 commit into
mainfrom
devsy/auto/8a520d85
Draft

fix: add ReadHeaderTimeout to http servers (G112)#1138
skevetter wants to merge 1 commit into
mainfrom
devsy/auto/8a520d85

Conversation

@skevetter

Copy link
Copy Markdown
Contributor

Task 8a520d85-d633-4122-8e05-8f6a1311d5b9. Set a 5s ReadHeaderTimeout on the daemon local server (pkg/daemon/platform/local_server.go) and the login callback server (pkg/platform/client/client.go), resolving gosec G112 (slowloris) findings. Verification: go test ./pkg/daemon/platform/... ./pkg/platform/client/... pass; golangci-lint shows no G112 on touched packages (remaining findings pre-exist on untouched code); full task cli:test failures in pkg/git and hack/sign_commit reproduce on a clean tree without this change.

Set a 5s ReadHeaderTimeout on the daemon local server and the login callback server to satisfy gosec G112 (slowloris mitigation).
@netlify

netlify Bot commented Aug 26, 2026

Copy link
Copy Markdown

Deploy Preview for devsydev ready!

Name Link
🔨 Latest commit 5547068
🔍 Latest deploy log https://app.netlify.com/projects/devsydev/deploys/6a8e8fadcfe368000852e411
😎 Deploy Preview https://deploy-preview-1138--devsydev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@netlify

netlify Bot commented Aug 26, 2026

Copy link
Copy Markdown

Deploy Preview for images-devsy-sh canceled.

Name Link
🔨 Latest commit 5547068
🔍 Latest deploy log https://app.netlify.com/projects/images-devsy-sh/deploys/6a8e8fad2484760008e1c3ff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant