Skip to content

Tags: valyala/fasthttp

Tags

v1.60.0

Toggle v1.60.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove idleConns mutex for every request (#1986)

Locking and unlocking a mutex multiple times per request is a major
slowdown that we can avoid with clever use of atomics.

Before:
```
BenchmarkServerGet100ReqPerConn10KClients-12    	 84167428	       867.7 ns/op
```
After:
```
BenchmarkServerGet100ReqPerConn10KClients-12    	187397954	       386.3 ns/op
```

v1.59.0

Toggle v1.59.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
add dummy support for js,wasm (#1955)

v1.58.0

Toggle v1.58.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: ShutdownWithContext and ctx.Done() exist race. (#1908)

* fix: ShutdownWithContext and ctx.Done() exist race.

* fix: Even if ln.Close() err, the Shutdown process should still proceed.

* refactor: remove END label.

v1.57.0

Toggle v1.57.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix RequestCtx is canceled (#1879) (#1890)

Create done channel in fakeServer during the initialization of newRequestCtx to prevent the done channel from being nil

v1.56.0

Toggle v1.56.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Improve performance of ParseUfloat (#1865)

* Improve performance of ParseUfloat function

Replaced `offset` handling logic with more efficient math.Pow10 based calculation.

goos: linux
goarch: amd64
pkg: github.com/valyala/fasthttp
cpu: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
              │   old.txt   │           new.txt           │
              │   sec/op    │   sec/op     vs base        │
ParseUfloat-8   44.22n ± 0%   31.06n ± 0%  -29.76% (n=50)

* fix: lint error return value is not checked

* Handling uint64 overflow issues

* Implement ParseUfloat by calling strconv.ParseFloat

* fix: lint error

v1.55.0

Toggle v1.55.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(deps): bump securego/gosec from 2.19.0 to 2.20.0 (#1776)

Bumps [securego/gosec](https://github.com/securego/gosec) from 2.19.0 to 2.20.0.
- [Release notes](https://github.com/securego/gosec/releases)
- [Changelog](https://github.com/securego/gosec/blob/master/.goreleaser.yml)
- [Commits](securego/gosec@v2.19.0...v2.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

1.54.0

Toggle 1.54.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fs: fix openIndexFile when dirPath is empty string (#1779)

v1.54.0

Toggle v1.54.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fs: fix openIndexFile when dirPath is empty string (#1779)

v1.53.0

Toggle v1.53.0's commit message

Verified

This commit was signed with the committer’s verified signature.
erikdubbelboer Erik Dubbelboer
Try to fix oss-fuzz low memory limit again

v1.52.0

Toggle v1.52.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Prevent request smuggling (#1719)

* Prevent request smuggling

Prevent request smuggling when fasthttp is behind a reverse proxy that
might interprets headers differently by being stricter. Should also
prevent request smuggling when fasthttp is used as the reverse proxy.

* Make header value comparison case-insensitive