Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump github.com/valyala/fasthttp from 1.55.0 to 1.56.0 (#411)
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp) from 1.55.0 to 1.56.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/valyala/fasthttp/releases">github.com/valyala/fasthttp's releases</a>.</em></p> <blockquote> <h2>v1.56.0</h2> <h2>What's Changed</h2> <ul> <li>fix: add timeout to proxy connection reading and writing by <a href="https://github.com/Sniper91"><code>@Sniper91</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1791">valyala/fasthttp#1791</a></li> <li>Validate header values by <a href="https://github.com/erikdubbelboer"><code>@erikdubbelboer</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1796">valyala/fasthttp#1796</a></li> <li>chore(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1800">valyala/fasthttp#1800</a></li> <li>chore(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1802">valyala/fasthttp#1802</a></li> <li>chore(deps): bump golang.org/x/net from 0.26.0 to 0.27.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1801">valyala/fasthttp#1801</a></li> <li>Optimize struct field order to reduce memory usage by <a href="https://github.com/ksw2000"><code>@ksw2000</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1809">valyala/fasthttp#1809</a></li> <li>Fix possible race condition on request ctx done <a href="https://redirect.github.com/valyala/fasthttp/issues/1662">#1662</a> by <a href="https://github.com/byte0o"><code>@byte0o</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1806">valyala/fasthttp#1806</a></li> <li>Fix header parser (<a href="https://redirect.github.com/valyala/fasthttp/issues/1808">#1808</a>) by <a href="https://github.com/ksw2000"><code>@ksw2000</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1810">valyala/fasthttp#1810</a></li> <li>Replace custom AppendUint with strconv.AppendUint by <a href="https://github.com/gaby"><code>@gaby</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1813">valyala/fasthttp#1813</a></li> <li>Use Named Fields and Align Structures to Reduce Memory Usage by <a href="https://github.com/gaby"><code>@gaby</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1814">valyala/fasthttp#1814</a></li> <li>chore(deps): bump golang.org/x/crypto from 0.25.0 to 0.26.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1820">valyala/fasthttp#1820</a></li> <li>chore(deps): bump golang.org/x/net from 0.27.0 to 0.28.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1821">valyala/fasthttp#1821</a></li> <li>chore(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1823">valyala/fasthttp#1823</a></li> <li>StreamRequestBody shouldn't read more data than actual need. by <a href="https://github.com/newacorn"><code>@newacorn</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1819">valyala/fasthttp#1819</a></li> <li>Reduce the size of ResponseHeader and RequestHeader by <a href="https://github.com/ksw2000"><code>@ksw2000</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1826">valyala/fasthttp#1826</a></li> <li>A response without a body can't have trailers by <a href="https://github.com/erikdubbelboer"><code>@erikdubbelboer</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1825">valyala/fasthttp#1825</a></li> <li>TestHostClientMaxConnWaitTimeoutError test case sometimes fails by <a href="https://github.com/newacorn"><code>@newacorn</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1832">valyala/fasthttp#1832</a></li> <li>Fix the MaxConns semaphore issue in HostClient. by <a href="https://github.com/newacorn"><code>@newacorn</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1831">valyala/fasthttp#1831</a></li> <li>Add a dedicated cache container for the zstd compression algorithm by <a href="https://github.com/newacorn"><code>@newacorn</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1828">valyala/fasthttp#1828</a></li> <li>We cannot avoid continuing to call SetReadDeadline and similar methods after the connection is closed. by <a href="https://github.com/newacorn"><code>@newacorn</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1835">valyala/fasthttp#1835</a></li> <li>Remove support for go 1.19 and 1.20, and add support for 1.23 by <a href="https://github.com/erikdubbelboer"><code>@erikdubbelboer</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1837">valyala/fasthttp#1837</a></li> <li>Merge the various proxy dialer implementations from the fasthttpproxy into a single struct. by <a href="https://github.com/newacorn"><code>@newacorn</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1829">valyala/fasthttp#1829</a></li> <li>Make RetryIfFunc handle request errors by <a href="https://github.com/ksw2000"><code>@ksw2000</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1818">valyala/fasthttp#1818</a></li> <li>Using atomic instead of mutex and delete scratch slice by <a href="https://github.com/NikoMalik"><code>@NikoMalik</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1833">valyala/fasthttp#1833</a></li> <li>Fix Different request paths share the same <code>fs</code> cache is some cases. by <a href="https://github.com/newacorn"><code>@newacorn</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1843">valyala/fasthttp#1843</a></li> <li>Make the tests complete earlier. by <a href="https://github.com/newacorn"><code>@newacorn</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1848">valyala/fasthttp#1848</a></li> <li>Fix potential data race reports when the <code>-race</code> flag is enabled. by <a href="https://github.com/newacorn"><code>@newacorn</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1847">valyala/fasthttp#1847</a></li> <li>Fix issues with tests interfering with each other in certain situations. by <a href="https://github.com/newacorn"><code>@newacorn</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1842">valyala/fasthttp#1842</a></li> <li>When <code>StreamRequestBody</code> is set to <code>true</code>, we cannot safely release <code>br</code> by <a href="https://github.com/newacorn"><code>@newacorn</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1844">valyala/fasthttp#1844</a></li> <li>Revert Pull 1233 fix: The client write operation did not immediately return upon encountering an RST packet. by <a href="https://github.com/newacorn"><code>@newacorn</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1849">valyala/fasthttp#1849</a></li> <li>RetryIf might need more information and greater control over the execution flow. by <a href="https://github.com/newacorn"><code>@newacorn</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1850">valyala/fasthttp#1850</a></li> <li>Sorry about forgetting to remove a redundant field and clarify the comments. by <a href="https://github.com/newacorn"><code>@newacorn</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1851">valyala/fasthttp#1851</a></li> <li>chore(deps): bump golang.org/x/crypto from 0.26.0 to 0.27.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1858">valyala/fasthttp#1858</a></li> <li>chore(deps): bump golang.org/x/net from 0.28.0 to 0.29.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1857">valyala/fasthttp#1857</a></li> <li>chore(deps): bump securego/gosec from 2.20.0 to 2.21.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1855">valyala/fasthttp#1855</a></li> <li>chore(deps): bump securego/gosec from 2.21.1 to 2.21.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1861">valyala/fasthttp#1861</a></li> <li>Revert "Using atomic instead of mutex and delete scratch slice" by <a href="https://github.com/newacorn"><code>@newacorn</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1846">valyala/fasthttp#1846</a></li> <li>Fix improper memory reuse in NewFastHTTPHandler by <a href="https://github.com/sigmundxia"><code>@sigmundxia</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1860">valyala/fasthttp#1860</a></li> <li>Improve the performance of ConnState.String() by <a href="https://github.com/ksw2000"><code>@ksw2000</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1871">valyala/fasthttp#1871</a></li> <li>chore(deps): bump securego/gosec from 2.21.2 to 2.21.3 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1870">valyala/fasthttp#1870</a></li> <li>Reduce the size of the Cookie by 32 bytes. by <a href="https://github.com/ksw2000"><code>@ksw2000</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1866">valyala/fasthttp#1866</a></li> <li>fix: type assertion to perIPTLSConn instead of erroneous perIPConn by <a href="https://github.com/KSpaceer"><code>@KSpaceer</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1863">valyala/fasthttp#1863</a></li> <li>Improve performance of ParseUfloat by <a href="https://github.com/ksw2000"><code>@ksw2000</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/1865">valyala/fasthttp#1865</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Sniper91"><code>@Sniper91</code></a> made their first contribution in <a href="https://redirect.github.com/valyala/fasthttp/pull/1791">valyala/fasthttp#1791</a></li> <li><a href="https://github.com/ksw2000"><code>@ksw2000</code></a> made their first contribution in <a href="https://redirect.github.com/valyala/fasthttp/pull/1809">valyala/fasthttp#1809</a></li> <li><a href="https://github.com/newacorn"><code>@newacorn</code></a> made their first contribution in <a href="https://redirect.github.com/valyala/fasthttp/pull/1819">valyala/fasthttp#1819</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/valyala/fasthttp/commit/e2bb2e0d64cfde45313daf361a8cb725569f0e91"><code>e2bb2e0</code></a> Improve performance of ParseUfloat (<a href="https://redirect.github.com/valyala/fasthttp/issues/1865">#1865</a>)</li> <li><a href="https://github.com/valyala/fasthttp/commit/7c9c003d1d2b3385809d6c8950500b9618718fb9"><code>7c9c003</code></a> fix: type assertion to perIPTLSConn instead of erroneous perIPConn (<a href="https://redirect.github.com/valyala/fasthttp/issues/1863">#1863</a>)</li> <li><a href="https://github.com/valyala/fasthttp/commit/318e68ece341ced1af5e6806f22a922e956b1cf1"><code>318e68e</code></a> Reduce the size of the Cookie by 32 bytes. (<a href="https://redirect.github.com/valyala/fasthttp/issues/1866">#1866</a>)</li> <li><a href="https://github.com/valyala/fasthttp/commit/012887190c8fca37f75d6919c7b670da127c320f"><code>0128871</code></a> chore(deps): bump securego/gosec from 2.21.2 to 2.21.3 (<a href="https://redirect.github.com/valyala/fasthttp/issues/1870">#1870</a>)</li> <li><a href="https://github.com/valyala/fasthttp/commit/5745601565f0133faadf0fc9feebc137640e0523"><code>5745601</code></a> Represent stateName by []string instead of map (<a href="https://redirect.github.com/valyala/fasthttp/issues/1871">#1871</a>)</li> <li><a href="https://github.com/valyala/fasthttp/commit/65e989e8b8bcf2541d840fcf27dcf8a11931b9db"><code>65e989e</code></a> Fix improper memory reuse in NewFastHTTPHandler (<a href="https://redirect.github.com/valyala/fasthttp/issues/1860">#1860</a>)</li> <li><a href="https://github.com/valyala/fasthttp/commit/74864cbda955032ad85d8f7c762b49f6ff7d009d"><code>74864cb</code></a> Revert "Using atomic instead of mutex and delete scratch slice" (<a href="https://redirect.github.com/valyala/fasthttp/issues/1846">#1846</a>)</li> <li><a href="https://github.com/valyala/fasthttp/commit/1d8ad873d165a24ba64e26299e38db2b135f6c33"><code>1d8ad87</code></a> chore(deps): bump securego/gosec from 2.21.1 to 2.21.2 (<a href="https://redirect.github.com/valyala/fasthttp/issues/1861">#1861</a>)</li> <li><a href="https://github.com/valyala/fasthttp/commit/c3050516d957b5bf75b353683c50302e4f955c6b"><code>c305051</code></a> Fix lint and security issues</li> <li><a href="https://github.com/valyala/fasthttp/commit/7699fc915180188c5215b093cbef75b3495b6848"><code>7699fc9</code></a> chore(deps): bump securego/gosec from 2.20.0 to 2.21.1 (<a href="https://redirect.github.com/valyala/fasthttp/issues/1855">#1855</a>)</li> <li>Additional commits viewable in <a href="https://github.com/valyala/fasthttp/compare/v1.55.0...v1.56.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/valyala/fasthttp&package-manager=go_modules&previous-version=1.55.0&new-version=1.56.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information