Skip to content

Releases: valyala/fasthttp

v1.6.0

28 Oct 05:58
Compare
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
Compare
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
Compare
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)

v1.3.0

19 May 11:16
Compare
Choose a tag to compare
  • 3bfa86f Timing fixes (Erik Dubbelboer)
  • ed16dc0 Fix go test -bench (Erik Dubbelboer)
  • ea427d2 Fix nil Response support in Do* methods (Erik Dubbelboer)
  • 517df88 added option to keep hijacked connection open (#550) (Kirill Danshin)
  • 2d52ea9 enable 1.12 support (Kirill Danshin)
  • 64c234a reset request before ctx release; fixes #548 (Kirill Danshin)
  • 733a650 Support huge read-only []byte response bodies (#477) (Ciprian Dorin Craciun)

v1.2.0

17 Feb 10:13
Compare
Choose a tag to compare
  • ed3793a add tests for copyto (#545) (xuecai)
  • 6453619 Remove methods that had been deprecated in 2015 (Erik Dubbelboer)
  • 0558e34 fix context Err() issue (#544) (Tiago Peczenyj)
  • 7ace827 Add Kratgo to related projects (#543) (Sergio Andrés Virviescas Santana)
  • 10b98c2 add conn's address info in Response (#537) (xuecai)
  • 61039c9 Add zero allocation guarantee tests (Erik Dubbelboer)
  • 02b7301 Fix TechEmpower performance degradation (Erik Dubbelboer)
  • e722d81 Fix HostClient.MaxConns (Erik Dubbelboer)
  • 8b58c26 Fix ReduceMemoryUsage (Erik Dubbelboer)
  • 6647cb2 Remove duplicate check (Erik Dubbelboer)
  • fa7a110 An atomic approach for HostClient.MaxConns (#531) (Okunev Yu Dmitry)
  • 71e7652 SkipBody is propagated to Response copy (#532) (Nikolay Markov)
  • 4554824 Add TCPDialer (Erik Dubbelboer)
  • 627d63d change timer to public api #525 (#527) (xuecai)
  • aaec9b0 Make InmemoryListener.Dial return when the connection is accepted (Erik Dubbelboer)
  • 51532b9 Shutdown close channel returned by RequestCtx.Done (Erik Dubbelboer)
  • 9574c37 Various changes regarding code readibility (#523) (Shulhan)
  • 2f22f20 all: fix typo on comments (Shulhan)
  • 4c53f11 all: pre-allocated slice with possible known size (Shulhan)
  • 5de7a83 Add warning to DoTimeout (Erik Dubbelboer)
  • c3ff460 Detect 308 as redirect status code (Erik Dubbelboer)

v1.1.0

08 Jan 08:47
Compare
Choose a tag to compare
  • c88be72 add method Sort in args (#505) (xuecai)
  • 9793e28 Add test for ConnState (Erik Dubbelboer)
  • 4fb459a fix args empty string be changed to boolen (#502) (xuecai)
  • 2f131ba Add RequestHeader.VisitAllInOrder (Erik Dubbelboer)
  • 62dcd6f Support SameSite cookie attribute (#488) (Matt Reyer)
  • caea867 Added method (*Server).GetOpenConnectionsCount() and option DisableSleepWhenConcurrencyLimitsExceeded (#485) (Okunev Yu Dmitry)
  • 1d2d99c Add MaxIdemponentCallAttempts to fasthttp.Client (#484) (Blless)
  • 5836521 Use case-insensitive header value comparison (Erik Dubbelboer)
  • 8be35c8 cleanup resources (amezghal abdelilah)
  • a3c314e cleanup (amezghal abdelilah)
  • 8388aaa check cleanup status using atomic (amezghal abdelilah)
  • 92e4256 cleanup resources (amezghal abdelilah)
  • db09046 cleaup after timeout (amezghal abdelilah)
  • 7b6cfd2 fix potential leak (amezghal abdelilah)
  • 80829ab Make sure to always release resources (amezghal abdelilah)
  • 707bfb8 remove extra space (zhaoxy)
  • a26bbd1 Remove the set read and write deadline optimization since golang has fixed it golang/go#15133 (comment) (zhaoxy)
  • 8a7123e fix check failed (zhaoxy)
  • 4570d12 avoid empty pointer (川宇)
  • c7d1f2a reset connection read and write deadline for reuse (川宇)
  • cd72109 Update server to not release read and write buffers if ReduceMemoryUsage is not set (Ciprian Dorin Craciun)
  • f9d5eea Add note about panic recovery for Server.Handler (Ciprian Dorin Craciun)
  • 598a522 No error response on keep-alive close (Erik Dubbelboer)
  • 65955d6 Don't reset headers when reading the body fails (Erik Dubbelboer)
  • efe4585 Make RequestCtx implement context.Context (Erik Dubbelboer)
  • e9eca1e noCopy didn't implement sync.Locker well. L letter of Unlock must be lower case (dgrr)
  • 8a9bdc8 Fix ParseUint to support all possible numbers (Erik Dubbelboer)
  • 9d6d9b7 fix go vet do not work on noCopy (Jiajun Huang)
  • e771b6f #457: allow to rewrite system error response (#458) (Berezhnoy Pavel)
  • fcaab42 Don't retry client requests with ErrBodyTooLarge (Erik Dubbelboer)
  • 63a0b46 Changed hasNextProto name to getNextProto and deleted TODO. (dgrr)
  • 3fb1313 Changed *tls.Conn by extended connTLSer (dgrr)
  • d37102d Fixed NextProto error caused by non-Handshake call. (dgrr)
  • 8f4c5d5 Change HostClient.pendingRequest to an int32 (Erik Dubbelboer)
  • 6b0a1c5 Added a comment to (*Server).GetCurrentConcurrency() (Dmitry Yu Okunev)
  • 5684318 Fixed race-condition of the method (*Server).GetCurrenctConcurrency() (Dmitry Yu Okunev)
  • 0915d61 Added method (*Server).GetCurrenctConcurrency() (Dmitry Yu Okunev)
  • aebec40 Only remove a HostClient from Client if it is unused (Erik Dubbelboer)
  • 1925153 Add Client.NoDefaultUserAgentHeader (Erik Dubbelboer)
  • 1b3ac0c Fix Server.ConnState hook #441 (Sigalas Alexandros)
  • f9004be Bump Go versions and use '.x' to always get latest minor versions (Harald Nordgren)
  • 996610f Schema changes detection with HostClient (Gabriel Pérez S)
  • afcef43 Add RequestCtx.Conn() method (Erik Dubbelboer)
  • 573be81 Hopefully fix TestShutdownReuse flakiness (Erik Dubbelboer)
  • 63ea2d3 Remove invalid test introduced in #378 (Erik Dubbelboer)
  • d459e25 Use form headers in WriteMultipartForm (Tommy Chen)
  • 4dfc129 Add RequestHeader.RawHeaders() (Erik Dubbelboer)
  • 8dfc881 Added Server.nextProtos (Erik Dubbelboer)
  • 33b80a5 Add support for named profiles like heap, goroutine, threadcreate, allocs, block, and mutex. (mmta)

v1.0.0

09 Oct 13:18
Compare
Choose a tag to compare
Support Go modules

20180529

29 May 15:06
Compare
Choose a tag to compare

Mostly bugfixes since the previous release in 2016.

new release

17 Jun 10:20
Compare
Choose a tag to compare
Set response Server header to Server.Name if it is empty. This proper…

…ly handles #118