1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00
forgejo-runner/act/artifacts
Robert Kowalski 416f715ecc lint: add ReadHeaderTimeout (#1277)
currently build fail with:

```
run golangci-lint
  Running [/home/runner/golangci-lint-1.47.0-linux-amd64/golangci-lint run --out-format=github-actions] in [] ...
  Error: G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
```

for example in this PR:
7405009660

this sets the required ReadHeaderTimeout
2022-07-25 12:12:48 +00:00
..
testdata/upload-and-download Added support for chunked uploads. (#1208) 2022-06-20 15:06:55 -07:00
server.go lint: add ReadHeaderTimeout (#1277) 2022-07-25 12:12:48 +00:00
server_test.go Added support for chunked uploads. (#1208) 2022-06-20 15:06:55 -07:00