Skip to content

Releases: valyala/fasthttp

v1.14.0

02 Jun 07:56
b98999e
Compare
Choose a tag to compare
  • 9468c66 URI.Parse now returns an error (Erik Dubbelboer)
  • 439185e Run cross compilation and race detector on the latest release only (Erik Dubbelboer)
  • bcaa594 Remove unused raw header code (Erik Dubbelboer)
  • 77dcda3 Add custom retry decider for fail http requests (Vural Kap)

v1.13.1

25 May 19:33
Compare
Choose a tag to compare
  • 2f92c68 Add timeouts to tls Handshake (Erik Dubbelboer)
  • 123f6a8 Fix memory reusage bug with auth (Erik Dubbelboer)

v1.13.0

25 May 14:23
Compare
Choose a tag to compare

This release of fasthttp contains 3 backwards incompatible changes.

  1. A HostClient can now only be used for a single protocol. If the HostClient is redirected to a different protocol it will return an error. Use Client instead if you need this functionality (dacd035).
  2. ServeFile now return a redirect for directories without trailing slash instead of serving the directory listing (5bd1b0c)
  3. ASCII control character are not allowed in URLs anymore (079f39b)

Commits:

  • 339ad36 Add Brotli support (Erik Dubbelboer)
  • dacd035 HostClient can't switch between protocols (Erik Dubbelboer)
  • 5bd1b0c Make FS return a redirect for directories without trailing slash (#802) (Moritz Marquardt)
  • 05d4602 Fix race condition in test (Erik Dubbelboer)
  • 9507d7c Don't wrap conn with a TLS Client if it's already a TLS Conn (Erik Dubbelboer)
  • dc6b9db Copy to the req.Header.userAgent from the defaultUserAgent (#796) (Julian Junxiang Zhou)
  • 3294097 allow the expect 100 continue workflow to deny requests (#787) (Mike MacDermaid)
  • 446e1a6 Fix .travis.yml (Erik Dubbelboer)
  • 079f39b Don't allow ASCII control character in URLs (#790) (Erik Dubbelboer)
  • 3e27d8e Fix integer overflow handling in parseUintBuf() (#789) (Ivan Mironov)
  • 571315f Only base64 the proxy auth once (Erik Dubbelboer)
  • 503e363 Remove unnecessary check (Erik Dubbelboer)

v1.12.0

21 Apr 07:16
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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)