1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-22 20:04:20 +00:00

31 Commits

Author SHA1 Message Date
Trim21
80a6fdc215
client: fix Agent use after free (#2037)
* fix

* fix

* fix
2022-08-22 08:01:40 +02:00
M. Efe Çetin
6669ec4486
📝 docs: gofmt & add missing copyright texts (#2013) 2022-08-15 20:25:26 +02:00
M. Efe Çetin
dac929fdee
🧹 client: remove beta warning (#1951)
* 🧹 client: remove beta warning

* Stabilize the Test_Test_Timeout unittest

Co-authored-by: wernerr <rene@gofiber.io>
2022-07-04 07:50:37 +02:00
Pinank Solanki
bb9ac8feaf
🐛 Fix expiration time in cache middleware (#1881)
* 🐛 Fix: Expiration time in cache middleware

* Custom expiration time using ExpirationGenerator is also functional
now instead of default Expiration only

* 🚨 Improve Test_CustomExpiration

* - stabilization of the tests
- speed up the cache tests
- fix race conditions in client and client tests

Co-authored-by: wernerr <rene@gofiber.io>
2022-05-01 11:43:46 +02:00
M. Efe Çetin
ee65ea5bab
🧹 Use encoding/json (#1851)
* remove goccy/go-json

* fix tests.
2022-04-13 10:45:33 +02:00
vecpeng
6036f402db
feat: add retryIf function to client agent (#1726) 2022-01-27 12:41:55 +01:00
M. Efe Çetin
68d3b773bc
Add route naming feature. (#1650)
* Add route naming feature.

* Update basicauth_test.go

* Fix gosec issues.

* Change RoutaName -> Name

* Fix race conditions.

* Update READMEs.
2021-12-28 14:04:04 +01:00
M. Efe Çetin
9eaa8b0c73
Change default json lib. (#1563)
* Change default json lib.

* Remove gopsutil test.

* Fix tests.

* Ignore linter for UnmarshalFieldError.

* update
2021-10-11 08:28:06 +02:00
RW
7ad55451a0
Fix: Fiber Client does multiple requests when using Timeout() and MaxRedirectsCount() #1457 (#1464)
* Fiber Client does multiple requests when using Timeout() and MaxRedirectsCount() 🐛 #1457
2021-08-02 10:43:10 +02:00
Diego Sandrim
0dc67e80d2 Moves .getBytes and .getString from package variable to App instance variable, avoiding data race when creating a new App. 2021-05-05 17:24:26 -03:00
Kiyon
ef8f1ddaa3 👷 Only show client warning once everytime 2021-03-10 15:09:50 +08:00
Kiyon
6ea71e9464 🍺 Cleanup 2021-02-26 10:48:53 +08:00
Kiyon
09ff81716c 👷 Add beta warning 2021-02-25 10:41:39 +08:00
Kiyon
f9d1074635 👷 Should not force Agent.dest to Agent.dest[:0] 2021-02-22 14:37:31 +08:00
Kiyon
2772af030e 👷 handle pre errors for Struct 2021-02-22 10:06:38 +08:00
Kiyon
1fddaed072 👷 Add Dest for reusing returned body bytes 2021-02-22 09:47:47 +08:00
Kiyon
b5402e0f38 👷 Add SetResponse to set custom response for full control of response 2021-02-22 09:13:24 +08:00
Kiyon
bc9651d58b 👷 Remove custom request and export agent request 2021-02-22 08:38:54 +08:00
Kiyon
a2eab0d754 👷 Improve documentation 2021-02-22 08:19:44 +08:00
Kiyon
c34ca83c06 👷 Add JSONEncoder and JSONDecoder 2021-02-20 16:45:13 +08:00
Kiyon
c477128e5b 👷 Improve test coverage 2021-02-20 16:12:06 +08:00
Kiyon
62d311133b 👷 Add Bytes functions 2021-02-20 15:46:41 +08:00
Kiyon
645e011813 👷 Add HEAD PUT PATCH DELETE 2021-02-20 14:50:20 +08:00
Kiyon
7c5fac67cf 👷 Improve doc 2021-02-20 14:31:48 +08:00
Kiyon
5093eb8e27 👷 Fix G304 and allow G402 2021-02-20 14:31:17 +08:00
Kiyon
f4307905a4 👷 Add MultipartForm 2021-02-19 17:21:59 +08:00
Kiyon
5af0d42e7b 👷 Add XML 2021-02-19 10:03:51 +08:00
Kiyon
20104ba10f 👷 Add BasicAuth 2021-02-19 09:53:51 +08:00
Kiyon
6cc4a5ec04 🍀 Cleanup 2021-02-19 09:01:54 +08:00
Kiyon
e93306ca61 👷 Add BodyString 2021-02-18 17:26:13 +08:00
Kiyon
51986b2e7c 🔥 Fiber Client poc 2021-02-18 17:06:40 +08:00