Commit Graph

8 Commits

Author SHA1 Message Date
Erik Dubbelboer 87f0fe1394 Update securego/gosec from 2.23.0 to 2.25.0 (#2161) 2026-03-20 07:27:24 +01:00
Erik Dubbelboer c2b317d47d Go 1.26 and golangci-lint updates (#2146)
Keep Go 1.24 compatibility for now (by not using `wg.Go()`).
2026-02-21 10:28:39 +01:00
dependabot[bot] fb6b6d160c chore(deps): bump securego/gosec from 2.22.10 to 2.22.11 (#2110)
* chore(deps): bump securego/gosec from 2.22.10 to 2.22.11

Bumps [securego/gosec](https://github.com/securego/gosec) from 2.22.10 to 2.22.11.
- [Release notes](https://github.com/securego/gosec/releases)
- [Commits](https://github.com/securego/gosec/compare/v2.22.10...v2.22.11)

---
updated-dependencies:
- dependency-name: securego/gosec
  dependency-version: 2.22.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Ignore invalid warnings

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Erik Dubbelboer <erik@dubbelboer.com>
2025-12-18 16:34:33 +01:00
Erik Dubbelboer 1b8c5593da Fix named return bugs
The new golangci-lint doesn't allow empty return statements anymore.

But returning a specific value with named return variables actually assigns it to the variable.
See: https://go.dev/play/p/kNhVx2scGx5

This caused a bug here: https://github.com/valyala/fasthttp/issues/2090
2025-10-23 23:47:40 +02:00
Erik Dubbelboer 0ad54a45d9 Update lint and fix new lint errors 2025-09-28 02:59:00 +02:00
Erik Dubbelboer 30b09beff1 Fix untyped int constant 4294967295
Fix: https://github.com/valyala/fasthttp/issues/1960
2025-03-13 04:58:07 +01:00
pj bb94b26bce add dummy support for js,wasm (#1955) 2025-02-14 14:17:11 +09:00
Kashiwa 321b998f31 Migrate valyala/tcplisten to this repo #1926 (#1929)
* chore: migrate https://github.com/valyala/tcplisten

* chore: merge upstream PR #6 from valyala/tcplisten: Backport TCP backlog size update of uint16->uint32 with Linux

* chore: merge upstream PR #10 from valyala/tcplisten: add support for dual-stack socket

* refactor: update to modern Go syntax

* doc: update README.md

* refactor: replace valyala/tcplisten package  with custom implementation

* fix: the goroutine calls T.Fatalf, which must be called in the same goroutine as the test

* fix: golangci-lint

* fix: add windows fallback

* fix: prevent integer overflow

* test: skip TestConfigDeferAccept, TestConfigFastOpen, TestConfigAll on non-linux OS

* fix: resolve overflow security issue and use wrapped error

* refactor: migrate from syscall to golang.org/x/sys/unix for better compatibility

* chore: merge upstream PR #8 from valyala/tcplisten: z/OS Compatibility

* refactor: rename tcplisten_bsd.go to tscplisten_other.go
2025-01-15 04:35:12 +01:00