v1.56.0
What's Changed
- fix: add timeout to proxy connection reading and writing by @Sniper91 in #1791
- Validate header values by @erikdubbelboer in #1796
- chore(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by @dependabot in #1800
- chore(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0 by @dependabot in #1802
- chore(deps): bump golang.org/x/net from 0.26.0 to 0.27.0 by @dependabot in #1801
- Optimize struct field order to reduce memory usage by @ksw2000 in #1809
- Fix possible race condition on request ctx done #1662 by @byte0o in #1806
- Fix header parser (#1808) by @ksw2000 in #1810
- Replace custom AppendUint with strconv.AppendUint by @gaby in #1813
- Use Named Fields and Align Structures to Reduce Memory Usage by @gaby in #1814
- chore(deps): bump golang.org/x/crypto from 0.25.0 to 0.26.0 by @dependabot in #1820
- chore(deps): bump golang.org/x/net from 0.27.0 to 0.28.0 by @dependabot in #1821
- chore(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 by @dependabot in #1823
- StreamRequestBody shouldn't read more data than actual need. by @newacorn in #1819
- Reduce the size of ResponseHeader and RequestHeader by @ksw2000 in #1826
- A response without a body can't have trailers by @erikdubbelboer in #1825
- TestHostClientMaxConnWaitTimeoutError test case sometimes fails by @newacorn in #1832
- Fix the MaxConns semaphore issue in HostClient. by @newacorn in #1831
- Add a dedicated cache container for the zstd compression algorithm by @newacorn in #1828
- We cannot avoid continuing to call SetReadDeadline and similar methods after the connection is closed. by @newacorn in #1835
- Remove support for go 1.19 and 1.20, and add support for 1.23 by @erikdubbelboer in #1837
- Merge the various proxy dialer implementations from the fasthttpproxy into a single struct. by @newacorn in #1829
- Make RetryIfFunc handle request errors by @ksw2000 in #1818
- Using atomic instead of mutex and delete scratch slice by @NikoMalik in #1833
- Fix Different request paths share the same
fs
cache is some cases. by @newacorn in #1843 - Make the tests complete earlier. by @newacorn in #1848
- Fix potential data race reports when the
-race
flag is enabled. by @newacorn in #1847 - Fix issues with tests interfering with each other in certain situations. by @newacorn in #1842
- When
StreamRequestBody
is set totrue
, we cannot safely releasebr
by @newacorn in #1844 - Revert Pull 1233 fix: The client write operation did not immediately return upon encountering an RST packet. by @newacorn in #1849
- RetryIf might need more information and greater control over the execution flow. by @newacorn in #1850
- Sorry about forgetting to remove a redundant field and clarify the comments. by @newacorn in #1851
- chore(deps): bump golang.org/x/crypto from 0.26.0 to 0.27.0 by @dependabot in #1858
- chore(deps): bump golang.org/x/net from 0.28.0 to 0.29.0 by @dependabot in #1857
- chore(deps): bump securego/gosec from 2.20.0 to 2.21.1 by @dependabot in #1855
- chore(deps): bump securego/gosec from 2.21.1 to 2.21.2 by @dependabot in #1861
- Revert "Using atomic instead of mutex and delete scratch slice" by @newacorn in #1846
- Fix improper memory reuse in NewFastHTTPHandler by @sigmundxia in #1860
- Improve the performance of ConnState.String() by @ksw2000 in #1871
- chore(deps): bump securego/gosec from 2.21.2 to 2.21.3 by @dependabot in #1870
- Reduce the size of the Cookie by 32 bytes. by @ksw2000 in #1866
- fix: type assertion to perIPTLSConn instead of erroneous perIPConn by @KSpaceer in #1863
- Improve performance of ParseUfloat by @ksw2000 in #1865
New Contributors
- @Sniper91 made their first contribution in #1791
- @ksw2000 made their first contribution in #1809
- @newacorn made their first contribution in #1819
- @NikoMalik made their first contribution in #1833
- @sigmundxia made their first contribution in #1860
- @KSpaceer made their first contribution in #1863
Full Changelog: v1.55.0...v1.56.0