Releases: valyala/fasthttp
Releases · valyala/fasthttp
v1.14.0
v1.13.1
v1.13.0
This release of fasthttp contains 3 backwards incompatible changes.
- 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. UseClient
instead if you need this functionality (dacd035). ServeFile
now return a redirect for directories without trailing slash instead of serving the directory listing (5bd1b0c)- 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
Fixes s.concurrency
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
- 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 theDate
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
v1.8.0
v1.7.1
v1.7.0
- 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)