Fenny
d3cf0e55e7
🩹 add memory storage for csrf
2020-10-24 00:18:25 +02:00
Fenny
d6ee49dce5
🩹 fix workflow
2020-10-22 12:16:04 +02:00
Fenny
4e895a0f61
✏ fix example
2020-10-22 12:09:40 +02:00
Fenny
773968abf0
✏ update test case
2020-10-21 23:42:03 +02:00
Konstantinos Lypitkas
b5e85346ac
Replace localhost with IP
2020-10-15 16:23:13 +03:00
Fenny
e3c2dfae23
🧪 update proxy unit test
2020-10-15 13:03:06 +02:00
Fenny
0db09d9f0b
📦 don't allow empty servers on proxy mw
2020-10-15 12:54:17 +02:00
Fenny
3c40cb7de3
Merge pull request #924 from klipitkas/refactor-proxy-middleware
...
Refactor proxy middleware and increase coverage
2020-10-15 12:53:11 +02:00
Konstantinos Lypitkas
483931fdcc
Remove extra slashes from comments
2020-10-15 13:15:59 +03:00
kiyon
f0a4e6ad36
👷 Improve performance and test coverage
2020-10-15 16:36:39 +08:00
kiyon
dfb4aa26d9
👷 Add benchmark for etag middleware
2020-10-15 12:55:17 +08:00
kiyon
2275fe8ce6
👷 Improve etag middleware
2020-10-15 12:32:54 +08:00
kiyon
fb4cf7e887
👷 Add etag middleware
2020-10-14 17:01:13 +08:00
hi019
db1eedb5b7
💚 Fix CI: remove localhost from target.Listen
2020-10-13 19:23:05 -04:00
Konstantinos Lypitkas
3d59648b7d
Refactor proxy middleware and increase coverage
2020-10-14 00:48:09 +03:00
Fenny
d4e604f1a3
Merge pull request #921 from klipitkas/minor-requestid-change
...
Minor requestid middleware change
2020-10-13 11:48:49 +02:00
Konstantinos Lypitkas
8c49028a39
Refactor basicauth middleware
2020-10-12 19:22:05 +03:00
Konstantinos Lypitkas
67a45db8e2
Add test assertion to requestid
2020-10-12 19:05:48 +03:00
Konstantinos Lypitkas
9d4a83a55b
Minor refactor for clarity
2020-10-12 19:05:27 +03:00
kiyon
d446a32b30
🩹 Avoid panic when updating statistics
...
fix #903
2020-10-10 10:39:12 +08:00
Fenny
d4750fbf2b
Merge pull request #897 from klipitkas/custom-type-compress-middleware
...
Add custom types to compress middleware
2020-10-08 18:13:49 +02:00
Fenny
68e8684add
Merge pull request #898 from Fenny/master
...
📦 add cache benchmark + 1 min default
2020-10-08 18:13:18 +02:00
Fenny
33e91e8111
📦 add benchmark
2020-10-08 18:11:26 +02:00
Konstantinos Lypitkas
550d3a3549
Fix grammatical issues
2020-10-08 10:56:25 +03:00
Konstantinos Lypitkas
60cebf2506
Add custom types to compress middleware
2020-10-08 00:05:34 +03:00
Fenny
47f866fc80
Merge pull request #893 from r-52/r-compress-dont-use-magic-numbers
...
♻️ compression: avoid magic numbers in compression level check
2020-10-07 15:34:11 +02:00
Fenny
7b16c8439c
Merge pull request #895 from Fenny/master
...
🧪 add benchmark to basicauth
2020-10-07 15:27:58 +02:00
Fenny
e30d9dad39
🧪 add benchmark to basicauth
2020-10-07 13:51:18 +02:00
Roman
6e72025b6c
♻️ compression: avoid magic numbers in compression level check
...
Avoid the magic numbers to make it easier to read
2020-10-07 09:56:27 +02:00
Fenny
e090f5278a
Merge pull request #888 from Fenny/master
...
🧨 add public to max age header
2020-10-06 20:18:43 +02:00
Fenny
b37789836d
🧪 update cache test
2020-10-06 20:15:21 +02:00
Fenny
ad06443a7a
🧨 add public to max age header
2020-10-06 20:10:03 +02:00
Roman
180fedc0c4
🩹 fix the anchor tag and external references to fix the GH-generated link
2020-10-06 10:21:16 +02:00
Fenny
b6e8e7cca8
Merge pull request #885 from Fenny/master
...
📦 prepare v2.0.6
2020-10-05 21:54:02 +02:00
Fenny
251a2e46e2
⚠ add warning message
2020-10-05 20:06:36 +02:00
Roman
5a3edb9011
🔥 add the option to set a custom Cache-Control value for a favicon response
...
Right now, each favicon response sets the `Cache-Control` header to
`public, max-age=31536000` (1 year). In some cases this could be a
little bit high if you are changing it etc. and the header is not
replaced by a reverse proxy.
With this change, the favicon middleware allows the configuration of the
`Cache-Control` header. The default behavior is to keep the setting of
`max-age=31536000 `, but you could fine-tune it.
2020-10-05 08:35:29 +02:00
Konstantinos Lypitkas
9df61e925c
Increase coverage in cache middleware
2020-10-04 10:41:54 +03:00
hi019
1fe6d3b25d
Use default values for cookie fields
2020-10-03 10:52:06 -04:00
hi019
4898778e28
🐛 Move cookie expires outside of if
2020-10-03 10:50:29 -04:00
hi019
867f2fc0a8
🐛 Fix passing partial cookie to csrf.New
2020-10-03 10:41:14 -04:00
Fenny
81208a6d6a
📦 fix tests
...
Co-Authored-By: Tom <tom@tdpain.net>
2020-10-01 19:49:49 +02:00
Fenny
2321582d6a
📦 add cache-control option
...
Co-Authored-By: Tom <tom@tdpain.net>
2020-10-01 19:38:37 +02:00
Fenny
55960e86c3
📦 add cache-control option
...
Co-Authored-By: Tom <tom@tdpain.net>
2020-10-01 19:37:34 +02:00
Fenny
7bb6081371
📦 fix race condition in cache mw
...
Co-Authored-By: Konstantinos Lypitkas <3259834+klipitkas@users.noreply.github.com>
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-10-01 16:53:27 +02:00
Konstantinos Lypitkas
9a650b8d2a
Fix issue with expiration, increase coverage
2020-10-01 00:21:30 +03:00
Konstantinos Lypitkas
616a821cb6
Fix spelling and grammatical errors
2020-10-01 00:20:49 +03:00
Konstantinos Lypitkas
f921efe05a
Add basic test for cache middleware
2020-09-30 23:34:31 +03:00
Konstantinos Lypitkas
a430c5aa77
Fix magic number on cache middleware
2020-09-30 23:34:18 +03:00
Fenny
939a65c9d7
Merge pull request #860 from Fenny/master
...
🍪 add max-age to cookie
2020-09-30 21:45:07 +02:00
Juan Camilo Varela López
dfc141660d
fix name prop in doc
...
the prop Generetor doesn't exists, is Generator
2020-09-30 13:42:02 -05:00