Skip to content

Releases: valyala/fasthttp

v1.12.0

21 Apr 07:16

Choose a tag to compare

  • 54df169 Add fasthttpproxy.FasthttpHTTPDialer (Erik Dubbelboer)
  • 96a8ad6 Upgrade dependencies (Erik Dubbelboer)
  • 5ce12a8 oss-security got new email (Kirill Danshin)

Fixes s.concurrency

18 Apr 22:11

Choose a tag to compare

This version fixes server concurrency counter for cases, when you use ListenAndServe, and not ServeConn manually.

For example, in previous versions if your server is started by ListenAndServe, you will have GetCurrentConcurrency() returning constant zero. This version is fixing this. You can find corresponding PR here.

This is considered a minor update, to allow users some time to update, if they relied on previous behavior.

Feel free to report any bugs here. Thank you.

v1.10.0

16 Apr 07:43
db18810

Choose a tag to compare

  • db18810 Add configuration to not pre-parse multipart form data (#778) (Markmerc)
  • 402e095 Fixed case when no hijacker is added but no-response is true (#772) (Darío)
  • ea20759 Add third-party framework to README (#774) (Vic Shóstak)
  • a1cfe58 Added fastws (alphabetically) to related projects (#770) (Darío)
  • 70b1d3b feat: make client to wait when no free connections (#764) (Daniel Qian)
  • 0ba26f7 Don't retry requests with a BodyStream (Erik Dubbelboer)
  • 75c6008 client: Implement DoRedirects (#765) (Tomás Senart)
  • 38aa88a Make the prefork mode more robust (#755) (Andy Pan)
  • 0b93308 Resolve the security issue of GoSec (#762) (Andy Pan)
  • b71c8c5 Add support for NoDefaultDate option that excludes the sending of the Date header (#758) (phuslu)
  • 11e8301 Add LocalAddr to TCPDialer (Erik Dubbelboer)
  • 695f713 feat: workflow to verify security using GoSec (#747) (RENAN.BASTOS)
  • b9d2e96 Run tests on 1.14 (Erik Dubbelboer)
  • 76b74e3 Don't send the fragment/hash/# part of a URL to the server (Erik Dubbelboer)
  • aa96a47 Add prefork utility (#741) (Sergio Andrés Virviescas Santana)
  • 021c821 Fix NetHTTPServerGet benchmarks (Erik Dubbelboer)
  • b8803fe increase correctness of open conn count (#738) (Forest Gagnon)

v1.9.0

04 Feb 07:57
69d5c37

Choose a tag to compare

  • 69d5c37 Client should return ErrTimeout on timeout (#736) (Erik Dubbelboer)
  • 38e068a Fix XHR Typo (#735) (Fenny)
  • b0102c9 Support calling Serve multiple times on a Server (#731) (Erik Dubbelboer)

v1.8.0

12 Jan 12:20

Choose a tag to compare

  • 03813ae Fix TCPDialer is not setting ZoneID (Erik Dubbelboer)
  • 59b28fe Resolve code issues from goreportcard.com (#725) (Andy Pan)
  • 8d8443d Forward context in fasthttpadaptor (#720) (Lovro Mažgon)
  • 16c53d6 Set StatusRequestTimeout when net timeout error occurred (#713) (谷月轩)

v1.7.1

30 Dec 15:12
958ed36

Choose a tag to compare

  • 958ed36 Allow no response to be send when a connection is hijacked (#712) (Erik Dubbelboer)
  • 0724b3e Update LICENSE formatting (Erik Dubbelboer)

v1.7.0

18 Dec 17:33

Choose a tag to compare

  • 415e5fc Fix panic in header parser (Erik Dubbelboer)
  • fd55658 Improve multiline header parsing (#708) (Erik Dubbelboer)
  • 6a8a72a add extra checking of header buffer, to support multi line header value (#123) (#688) (tedli)
  • a266a92 Only show master branch on travis-ci (Erik Dubbelboer)
  • 6cccaeb Fix parsing relative URLs starting with // (#702) (Erik Dubbelboer)
  • 39dd104 Allow a body for GET requests (#703) (Erik Dubbelboer)
  • bc5b479 Custom LookupIPAddr function (#699) (Nikolay Markov)
  • 32de06d Don't start a goroutine when not needed (Erik Dubbelboer)
  • 32793db Run golangci-lint using a Github Action (Erik Dubbelboer)
  • 5f66658 Add Client.MaxConnDuration (Erik Dubbelboer)
  • 3fb2eba Ability to pass custom DNS resolver to TCPDialer (#689) (Nikolay Markov)
  • 70223a1 Recover from panic in body write (#687) (Vladimir Shteinman)
  • 87c4546 Add a badge for showing projects that use fasthttp (#685) (Andy Pan)

v1.6.0

28 Oct 05:58

Choose a tag to compare

  • 4489df8 Update "TechEmpower Benchmark" from round 12 to round 18 (#683) (Andy Pan)
  • 9f11af2 Make several optimizations to worker pool (#680) (Andy Pan)
  • f82a646 Requests with incomplete bodies no longer cause log noise (#682) (Kevin Burns)
  • 9bc6da1 fix: when multipartform no data,FormValue do not panic (#677) (alexDango)
  • 707b1c1 Format errors (#679) (ZhangYunHao)
  • 18c619f fasthttputil: add errInmemoryListenerClosed (#678) (ZhangYunHao)
  • bf98e3b Use least total connections instead of round robin for lbclient (#673) (Erik Dubbelboer)
  • ec2e396 Don't run TestClientNilResp in parallel (Erik Dubbelboer)
  • d428e1b Fix race condition in tests, fix URI bug (Erik Dubbelboer)
  • c3d82ca Speed up testing by running tests in parallel (Erik Dubbelboer)
  • 352ec7c Use Fatal instead of Fatalf when no formatting used (Erik Dubbelboer)
  • 9dbe5fc Don't allow spaces in request header keys (Erik Dubbelboer)
  • 4ebe993 Document PipeConns not being safe for concurrent use (Erik Dubbelboer)
  • 044d35e fix 664 (#674) (rogercarter1)
  • ffcdb75 Allow client to disable path normalization (#672) (Ian Leue)
  • af531ad Move comment to now show up on godoc (Erik Dubbelboer)
  • 28af1f1 Fix previous commit (Erik Dubbelboer)
  • 5038ebc Refactoring to reuse response status codes (#666) (Vendin)
  • b1ca43f Use 'go generate' in bytesconv.go (#663) (ZhangYunHao)
  • 97d51fb go fmt ./... (Erik Dubbelboer)
  • e6a8bcf Add go version to go.mod, test with 1.13.1 (Erik Dubbelboer)
  • 1d6a7e0 The Authorization header should include the Basic keyword (Erik Dubbelboer)
  • dc9b54d Precompute default regexp (#662) (Oleg Kovalov)
  • be93fbd Add lowerhex (ZYunH)
  • 79bd450 Use 0xf instead of 15 (ZYunH)
  • 91138ee Replace int2hexbyte with uppercase (ZYunH)
  • 9bc19f8 Replace hexCharUpeer with upperhex (#657) (ZYunH)
  • d644da4 Update README.md (Kirill Danshin)
  • ae42116 Improve appendQuotedPath and AppendQuotedArg (#654) (ZYunH)
  • ee84500 Added option to disable path normalization (#649) (Daniel Firsht)
  • c6037ab Update fuzzit (Erik Dubbelboer)

v1.5.0

14 Sep 10:15

Choose a tag to compare

  • 8b0b919 Fix FasthttpSocksDialer documentation (Erik Dubbelboer)
  • b29d896 Fix fuzzit for Go 1.13 (Erik Dubbelboer)
  • ec83abe Also test with the new Go 1.13 (Erik Dubbelboer)
  • 7e6a4c8 Update dependencies (Erik Dubbelboer)
  • e5e21db Reuse the socks5 dialer (Erik Dubbelboer)
  • 8713335 Fix data race in fasthttputil.pipeConn (#645) (Kazushi Kitaya)
  • 4fa45fa Propagating custom SkipBody value to allow explicitly skip body reading for responses (#647) (Nikolay Markov)
  • 8ce231e Add stub/wrapper for reuseport.Listen on Windows platforms (#638) (andrewheberle)
  • 1241ed7 Add fuzzit support (#634) (Erik Dubbelboer)
  • d4833f6 Use ipv6-compliant methodology for joining host port (#640) (Ian Leue)
  • c5413ff A faster s2b function (#637) (ZYunH)
  • ce02b85 Add ability to set timeout for handshake (#631) (Mike Faraponov)
  • 2edabf3 Add support for user:pass in URLs (#614) (Erik Dubbelboer)
  • 85217e0 Correctly handle NoDefaultContentType without setting an Content-Type value (#628) (Ciprian Dorin Craciun)
  • b97bc32 Update README (#621) (Sergio Andrés Virviescas Santana)
  • 55ea350 Update README.md (#610) (wencan)
  • ccaae97 Support {readTimeout,maxBodySize,writeTimeout} per request based on the headers. (#598) (Marcelo Pires)
  • a0248ed Fix read timeout with nothing read (Erik Dubbelboer)

v1.4.0

09 Jul 15:39

Choose a tag to compare

  • 1bd0404 Removing redundant else statement from HeaderCookie (#596) (Dair Aidarkhanov)
  • 9ba4cef Support SameSite value "None" cookie attribute (#581) (Rem)
  • 9494955 ADD TimeoutWithCodeHandler support (#589) (losingle)
  • d3715c3 ⚡ Used Headers constants instead raw strings (Maxim Lebedev)
  • a4505cb ✨ Added headers keys constants (Maxim Lebedev)
  • f14dea7 Option for immediate header flush (#575) (Erik Dubbelboer)
  • 20ea781 Add warning to RequestCtx.Error (Erik Dubbelboer)
  • 1ee3b84 Fix Client.DoTimeout race condition (Erik Dubbelboer)
  • c754e0f Create SECURITY.md (Kirill Danshin)