Skip to content

Releases: valyala/fasthttp

v1.37.0

17 May 07:08
66bc61e
Compare
Choose a tag to compare
  • 66bc61e Add an option to allow empty root in the fsHandler (#1299) (RW)
  • 9961079 Fix userdata re-use after Remove (Erik Dubbelboer)

v1.36.0

27 Apr 07:19
7cc6f4c
Compare
Choose a tag to compare
  • 7cc6f4c Fix DoTimeout Streaming body bug (Erik Dubbelboer)
  • 9a0b4d0 optimize (#1275) (tyltr)
  • e3d2512 optimize (#1272) (tyltr)
  • b40b5a4 Update tlsClientHandshake (#1263) (Mikhail Faraponov)
  • c7576cc Added Windows support and removed some panics (#1264) (Mauro Leggieri)
  • f0e1be5 add nil check of req.body and resp.body on ReleaseBody (#1266) (zzzzwc)

v1.35.0

05 Apr 15:12
7a5afdd
Compare
Choose a tag to compare
  • 7a5afdd Use %v for errors and %q for strings (#1262) (Erik Dubbelboer)
  • e4a541f support adding/removing clients from LBClient (#1243) (Cam Sweeney)
  • b4152d1 Only set RequestCtx.s once (Erik Dubbelboer)
  • d4c739e State active (#1260) (Erik Dubbelboer)
  • f3bce3a Add Go 1.18 support (#1253) (Aoang)
  • c674263 Fix race conditions in tests (Erik Dubbelboer)
  • 286828e add a test for AppendQuotedArg (#1255) (ZhangYunHao)
  • 2044e1e reduce unnessary type assart (#1254) (tyltr)
  • 3101938 Imporve AppendHTMLEscape fast path (#1249) (ZhangYunHao)
  • d1753f7 bytesconv: add appropriate build tags for s390x (#1250) (Nick Rosbrook)
  • 8f5e51f Add connection pool queuing strategies in HostClient. (#1238) (Y.Horie)
  • f7423e3 Fix AppendHTMLEscape (#1248) (ZhangYunHao)
  • 1a5f2f4 Read response when client closes connection #1232 (#1233) (ArminBTVS)

v1.34.0

07 Mar 15:35
59f94a3
Compare
Choose a tag to compare
  • 59f94a3 Update github.com/klauspost/compress (#1237) (Mikhail Faraponov)
  • 62c15a5 Don't reset RequestCtx.s (#1234) (Erik Dubbelboer)
  • 7670c6e Fix windows tests (#1235) (Erik Dubbelboer)
  • f54ffa1 feature: Keep the memory usage of the service at a stable level (#1216) (Rennbon)
  • 15262ec Warn about unsafe ServeFile usage (#1228) (Erik Dubbelboer)
  • 1116d03 Fix panic while reading invalid trailers (Erik Dubbelboer)
  • 856ca8e Update dependencies (#1230) (Mikhail Faraponov)
  • 6b5bc7b Add windows support to normalizePath (Erik Dubbelboer)
  • f0b0cfe Don't log ErrBadTrailer by default (Erik Dubbelboer)
  • 6937fee fix: (useless check), skip Response body if http method HEAD (#1224) (Pavel Burak)
  • b85d2a2 Fix http proxy behavior (#1221) (Aoang)
  • ad8a07a RequestHeader support set no default ContentType (#1218) (Jack.Ju)
  • c94581c support configure HostClient (#1214) (lin longhjui)
  • 632e222 Client examples (#1208) (Sergey Ponomarev)
  • 6a3cc23 uri_test.go use example.com for clearness (#1212) (Sergey Ponomarev)
  • 9d665e0 Update dependencies (#1204) (Mikhail Faraponov)
  • 8d7953e Fix scheme check for not yet parsed requests (#1203) (ArminBTVS)

v1.33.0

27 Jan 09:41
61aa8b1
Compare
Choose a tag to compare
  • 61aa8b1 remove redundant code (#1202) (tyltr)
  • 4369776 fix(hijack): reuse RequestCtx (#1201) (Sergio VS)
  • 2aca3e8 fix(hijack): reset userValues after hijack handler execution (#1199) (Sergio VS)
  • 9123060 Updated dependencies (#1194) (Mikhail Faraponov)

v1.32.0

10 Jan 11:21
7eeb00e
Compare
Choose a tag to compare
  • 7eeb00e Make tests less flaky (#1189) (Erik Dubbelboer)
  • d19b872 Update tcpdialer.go (#1188) (Mikhail Faraponov)
  • c727b99 Release UseHostHeader in ReleaseRequest() (#1185) (Tolyar)
  • 6c0518b Fix UseHostHeader for DoTimeout + tests (#1184) (Tolyar)
  • 6b55811 Add MaxIdleWorkerDuration to Server. (#1183) (Kilos Liu)
  • 4517204 Allow to set Host header for Client (#1169) (Tolyar)
  • 258a4c1 fix: reset response after reset user values on keep-alive connections (#1176) (Sergio VS)
  • e9db537 Use %w to wrap errors (#1175) (Erik Dubbelboer)
  • 7db0597 Fix bad request trailer panic (Erik Dubbelboer)
  • 4aadf9a Fix parseTrailer panic (Erik Dubbelboer)
  • da7ff7a Add trailer support (#1165) (ichx)
  • 017f0aa fix: reset request after reset user values on keep-alive connections (#1162) (Sergio VS)
  • 3b117f8 feat: close idle connections when server shutdown (#1155) (ichx)
  • a94a2c3 Remove redundant code (#1154) (ichx)
  • f7c354c Fix race condition in Client.mCleaner (Erik Dubbelboer)
  • c078a9d Add string and bytes buffer convert trick in README (#1151) (ichx)
  • 3ff6aaa uri: isHttps() and isHttp() (#1150) (Sergey Ponomarev)
  • 8febad0 http.go: Request.SetURI() (Fix #1141) (#1148) (Sergey Ponomarev)
  • 2ca01c7 fix: Status Line parsing and writing (#1135) (Shivansh Vij)
  • 931d0a4 Fix lint (Erik Dubbelboer)
  • d613502 use sync.map is better (#1145) (halst)
  • c15e642 Don't run all race tests on windows (#1143) (Erik Dubbelboer)
  • 6006c87 chore (#1137) (tyltr)
  • 6d4db9b Fix race condition in getTCPAddrs (Erik Dubbelboer)
  • 528dd62 feat: ability to read body separate from header (#1130) (Shivansh Vij)
  • 556aa81 feat: ability to edit status messages (#1126) (Valentin Paz Marcolla)
  • 4cfec1a feat: make public Server.TLSConfig (#1128) (Sergio VS)
  • fe7d90e remove redundant code (#1127) (tyltr)

v1.31.0

11 Oct 13:09
81fc968
Compare
Choose a tag to compare
  • 81fc968 Add warning to readme (Erik Dubbelboer)
  • 7fdd526 feat: a new userData API Remove (#1117) (tyltr)
  • f307299 feat:no need to store nil (#1116) (tyltr)
  • ad6d128 URI.Parse should never change it's input (Erik Dubbelboer)
  • ffab77a Improve return value reusability documentation (Erik Dubbelboer)
  • 542a203 Properly parse URI (Erik Dubbelboer)
  • 711e421 feat: improve TCPDialer by sync.map instead of map+mutex (#1106) (tyltr)
  • adc0e57 Remove useless runtime.KeepAlive (#1107) (Oleg Kovalov)
  • 44d0333 fix: typo (#1105) (tyltr)
  • 06b464f fix typo in deadline (#1099) (Evgenii)
  • 46d9235 Check go fmt during lint (#1097) (Erik Dubbelboer)

v1.30.0

09 Sep 11:48
713da4e
Compare
Choose a tag to compare
  • 713da4e Adding new compressible prefixes (#1092) (Kyle Unverferth)
  • 1647255 remove unnecessary op (#1095) (tyltr)
  • f0a2189 feat: improve IsMethod (#1088) (tyltr)
  • 5d73da3 Update status.go (#1093) (Mikhail Faraponov)
  • 3f70d78 Some FS tests can't run in parallel (Erik Dubbelboer)
  • ba40107 compatible with new build tag (#1087) (tyltr)
  • d9c7573 improve invalidStatusLine by appending a []byte directly (#1086) (tyltr)
  • cad867a Remove the redundant badage (#1085) (Andy Pan)
  • 38992da Fix []byte reuse bug (Erik Dubbelboer)
  • 6321103 Various deadline fixes (#1081) (Erik Dubbelboer)
  • 51508d7 Fix various Windows Github Action errors (#1082) (Erik Dubbelboer)
  • c7ce95f Fix s2b (#1079) (YenForYang)
  • a50f59b Increase various test timeouts (Erik Dubbelboer)
  • 0fe8cdd Optimize size of Server by moving bool fields (#1077) (Lanco)
  • a6f9c8a Fix Client doc and mCleaner (#1076) (Erik Dubbelboer)
  • 5a6e6e1 Add Go 1.17 support (#1074) (Erik Dubbelboer)

v1.29.0

17 Aug 11:14
97e1319
Compare
Choose a tag to compare
  • 97e1319 Update compress (#1069) (Mikhail Faraponov)
  • 0263cae Fix FasthttpSocksDialer example (Erik Dubbelboer)
  • d31e6db Handle perIPConn in RequestCtx.IsTLS() specially (#1064) (Tianyi Song)
  • 9466cd7 fix typo: occured -> occurred (#1061) (Kazumasa Takenaka (Bamboo))
  • b3ece39 Update README.md (#1058) (Darío)
  • d0df1e1 Add ResetUserValues() and test (#1056) (Sujit Baniya)

v1.28.0

30 Jun 10:25
Compare
Choose a tag to compare
  • 1504a84 Increase TestHostClientMaxConnWaitTimeoutSuccess timeout (Erik Dubbelboer)
  • f6560be Flush buffered responses if we have to wait for the next request (#1050) (Erik Dubbelboer)