Releases: valyala/fasthttp
Releases · valyala/fasthttp
v1.48.0
- ffdf59d Enable gofumpt linter; format code
gofumpt -w .
(#1576) (Oleksandr Redko) - b79233f add DisableSpecialHeaders option (#1573) (Anthony Ter-Saakov)
- f0865d4 fs: fix race condition on global map (#1565) (leonklingele)
- 829f5b2 Don't run test that times out often in parallel (Erik Dubbelboer)
- e6ce5f0 Remove invalid documentation (Erik Dubbelboer)
- 9bc8e48 Request timeout settings for the same domain name are reused (#1558) (byte0o)
- d2f97fc fix the problem: HostClient maybe delete when pendingClientRequests > 0 (#1562) (Zhengkai Wang)
- 7ea3b63 add concurrency for client's HostClient map (#1550) (Zhengkai Wang)
- eaab8ff Refactor by removing unnecessary else block (#1559) (Oleksandr Redko)
- 1a46e57 update go.sum (#1555) (tyltr)
- fa72f3c Fix tests (#1552) (Erik Dubbelboer)
v1.47.0
- 1dcf562 test: refactor to use WriteString (#1546) (Oleksandr Redko)
- d2f0d17 examples/client: fix error (#1545) (Oleksandr Redko)
- 00c291b pprofhandler: use bytes.HasPrefix for consistency (#1543) (Oleksandr Redko)
- 1aac293 test: use ReplaceAll, remove unnecessary else (#1542) (Oleksandr Redko)* 1dcf562 test: refactor to use WriteString (#1546) (Oleksandr Redko)
- d2f0d17 examples/client: fix error (#1545) (Oleksandr Redko)
- 00c291b pprofhandler: use bytes.HasPrefix for consistency (#1543) (Oleksandr Redko)
- 1aac293 test: use ReplaceAll, remove unnecessary else (#1542) (Oleksandr Redko)
v1.46.0
- cdea4fe Refactor client's example code (#1539) (Nikolay Vedernikov)
- 87cb886 client:Fix DoTimeout timeout failure by setting temporary dial (#1535) (kukayiyi)
- 43cc487 fix: add noDefaultContentType copy (#1538) (kinggo)
- d76662b Fixed transfer-encoding for empty chunked payload (#1536) (Abe Saiovici)
- 6b958c2 support response body stream (#1414) (Anthony-Dong)
- 239cce4 format : update some codes style (#1533) (LeoSun)
- 5f4899a remove (#1534) (tyltr)
- d0f2727 get rid of some panics (#1526) (Moritz Poldrack)
- 5209cc3 optimize:reduce loop (#1532) (tyltr)
- 0be5a41 test: simplify bytes.Buffer declaration (#1523) (Oleksandr Redko)
- faf565e GitHub actions/setup-go@v4 (#1520) (Oleksandr Redko)
v1.45.0
- 53e376f Update dependencies (Erik Dubbelboer)
- b334443 docs: add missing dot to ConvertRequest comment (#1516) (Oleksandr Redko)
- a281f1d client: HostClient.Do hangs out when ErrConnPoolStrategyNotImpl (#1515) (Oleksandr Redko)
- 7846101 client: fix Do hangs when configure host client fails (#1514) (Oleksandr Redko)
- 9c0e39f Fix proxy auth bug (Erik Dubbelboer)
- a9d57a9 client: remove unused go:build comment (#1511) (Oleksandr Redko)
- 498a814 test: fix typos in function, error message, comment (#1512) (Oleksandr Redko)
- 4ca6994 test: use Fprintf to simplify writing headers (#1510) (Oleksandr Redko)
- 74a0507 Immediately return ErrTimeout if deadline is already reached. (#1497) (Igor Menshenin)
- 559d536 Bump golang.org/x/crypto from 0.0.0-20220214200702-86341886e292 to 0.1.0 (#1508) (dependabot[bot])
- 4e8c92b http.go: close form file if copyZeroAlloc fails (#1498) (Oleksandr Redko)
- 8800d4b Bump golang.org/x/net from 0.0.0-20220906165146-f3363e06e74c to 0.7.0 (#1503) (dependabot[bot])
- c8d2e0e Bump golang.org/x/text from 0.3.7 to 0.3.8 (#1502) (dependabot[bot])
- ac631aa fix functiom name (#1505) (cui fliter)
- 2ab7906 test: bind to localhost instead of all interfaces (#1495) (Oleksandr Redko)
- b79a03a test: close response body (#1496) (Oleksandr Redko)
- 9230a3d docs: Deprecate ErrAlreadyServing as never returning (#1491) (Oleksandr Redko)
- e15a810 docs: fix grammar issues and typos in comments (#1492) (Oleksandr Redko)
- 5147cec docs: replace links to golang.org with go.dev (#1489) (Oleksandr Redko)
- 934f04e Refactor golangci-lint config and remove redundant nolints (#1486) (Oleksandr Redko)
- f84e234 Rename unexported funcs, vars to match common Go (#1488) (Oleksandr Redko)
- f111c7e Add missing fasthttp prefix in example usage (#1487) (Oleksandr Redko)
- 8dcbc41 test: use T.TempDir instead of MkdirTemp (#1485) (Oleksandr Redko)
- c0c5f9c doc,test: correct typos (#1484) (Oleksandr Redko)
- b0fe6f0 optimized b2s function (#1483) (orangesobeautiful)
- 2e81dca update compress modulule, drop 1.16 (#1482) (M. Efe Çetin)
- 9d5a7bf Add support for Go 1.20 (#1481) (Erik Dubbelboer)
- b2e66a5 docs: add http2curl (#1480) (kinggo)
- 776a4c7 fix: modify normalizePath (#1478) (kinggo)
- eef368e clear dst bodyRaw before copy (#1476) (tyltr)
- e87f84c fix: CopyTo doesn't copy bodyraw deeply (#1471) (kinggo)
v1.44.0
- fc2d704 chore: Update README.md (#1470) (Aadithya V)
- 2a00c86 Github actions/checkout@v3 (Erik Dubbelboer)
- 434022b server.go Simplify default Server name logic (#1467) (Sergey Ponomarev)
- 51048b0 client.go Simplify default UA logic (#1466) (Sergey Ponomarev)
- e46afc3 fix: client may remove hostclient incorrectly (#1461) (Xuran)
- 9b4a7e5 fix http2 adapter (#1457) (Shawn)
- c637221 optimize: allow http head when use getonly (#1456) (kinggo)
- b788e66 feat: support custom formvalue function (#1453) (kinggo)
- 2a572e0 doc: optimize the comment of the Request.Done method (#1454) (kinggo)
- f6aac90 Fixed an error caused of character when @ > 1 during proxy authentication (#1452) (Amzza0x00)
- 951f5a1 add optional simulated addresses to pipeconn and inmemorylistener (#1449) (Tobias Krischer)
v1.43.0
v1.42.0
- 4995135 feat: add ShutdownWithContext (#1383) (kinggo)
- 7b3bf58 style: modify typo and remove repeated type conversions (#1437) (kinggo)
- 8f43443 Wait for the response of pipelineWork in background and return it to pool (#1436) (Andy Pan)
- c367454 Fix some potential pool leaks (#1433) (Andy Pan)
- b32a3dd Use time.Until(deadline) instead of -time.Since(deadline) (#1434) (Andy Pan)
- 8a60232 Assert with *net.TCPConn instead of *net.TCPListener in acceptConn() for TCP sockets (#1432) (Andy Pan)
- c57a2ce Make sure nothing is nil in tmp slice (#1423) (hs son)
- f095481 Request.SetTimeout (#1415) (brian-armstrong-discord)
- c88dd5d fix form empty field error when used with pipe (#1417) (nick9822)
- a468a7d feat: support mulit/range (#1398) (byene0923)
- 3963a79 feat: add PeekKeys and PeekTrailerKeys (#1405) (kinggo)
- eca86de fix: (#1410) (byene0923)
- e214137 fix: ignore body should not set content-length of streaming (#1406) (byene0923)
v1.41.0
- 128e9b3 optimize: adjust the behavior of PeekAll based on VisitAll (#1403) (kinggo)
- 2c8ce3b feat: add header.PeekAll (#1394) (kinggo)
- d404f2d make RequestCtx's userdata accept keys that are of type: interface{} (#1387) (pj)
- bcf7e8e test: merge test in adaptor_test.go (#1381) (kinggo)
- 31fdc79 resolve CVE-2022-27664 (#1377) (Craig O'Donnell)
- 40eec0b byte to string unsafe conversion in fasthttpadaptor ConvertRequest method (#1375) (Emre Savcı)
- a696949 Deprecate Go 1.15 (#1379) (Aoang)
v1.40.0
- 2f1e949 Improve isTLSAlready check (Erik Dubbelboer)
- 404c8a8 Chore (#1365) (tyltr)
- 79ccfff Don't use tls ClientSessionCache (Erik Dubbelboer)
- 28bec71 Fix "use of closed network connection" error check (Erik Dubbelboer)
- 3b147b7 Fix(server): reset maxRequestBodySize to the server's config (#1360) (Geralt X Li)
- af94725 Reduce slice growth in adaptor (#1356) (Qing Moy)
v1.39.0
- ea60524 Add Go 1.19 Support (#1355) (Aoang)
- a5f448f Improve Client timeout (#1346) (Erik Dubbelboer)
- 42f83c6 Prevent overflow and panic on large HTTP responses (#1351) (mathew)
- f3513cc Introduce FS.CompressRoot (#1331) (mojatter)
- c94be05 use timeout insteadof read/writetimeout when timeout lower than read/… (#1336) (fare83)
- b23c5e9 Close new connections after 5s in closeIdleConns (Erik Dubbelboer)
- 5b0cbf2 Fix apparent documentation typo (#1330) (kayos)