Vadim Sabirov
dc147d9b97
Fix #1523 by adding secure cookie if SameSite mode is None
2020-12-03 10:21:31 +03:00
Vadim Sabirov
cb15226984
Merge branch 'master' of https://github.com/labstack/echo
2020-12-03 09:43:47 +03:00
Roland Lammel
a908413281
Merge pull request #1701 from lnenad/master
...
Adds IgnoreBase parameter to static middleware
2020-12-02 16:37:02 +01:00
Roland Lammel
b90e4e8ea1
Merge pull request #1702 from pafuent/increase_number_of_benchmarks_in_comparison_action
...
Increasing number of benchmarks on GitHub action
2020-12-01 11:24:29 +01:00
Roland Lammel
257547187e
Merge pull request #1703 from pafuent/adding_codecov_configuration
...
Adding Codecov configuration
2020-12-01 11:24:11 +01:00
Nenad Lukic
571661692f
Uses filepath.Join instead of hardcoded separator for static middleware test
2020-12-01 09:03:00 +01:00
Pablo Andres Fuente
61514f1c84
Changes on codecov.yml will trigger GitHub Actions
2020-12-01 05:06:31 +00:00
Pablo Andres Fuente
99d5a07097
Adding Codecov configuration
...
Adding a 1% of threshold for coverage diffs
2020-12-01 05:00:19 +00:00
Pablo Andres Fuente
364b7e6eca
Increasing number of benchmarks on GitHub action
...
Now the number of times that the benchmarks are run before being
compared is 8 on the GitHub action.
2020-12-01 04:39:06 +00:00
Nenad Lukic
3206527cfe
Adds IgnoreBase parameter to static middleware
...
Adds IgnoreBase parameter to static middleware to support the use case of nested route groups
2020-11-30 19:06:00 +01:00
Roland Lammel
502cce28d5
Merge pull request #1651 from curvegrid/cors-allow-origin-func
...
CORS: add an optional custom function to validate the origin
2020-11-25 10:36:46 +01:00
Pierre Rousset
e6f24aa8b1
Addressed PR feedback
2020-11-24 16:25:49 +09:00
Pierre Rousset
26ab188922
CORS: add an optional custom function to validate the origin
2020-11-24 16:24:17 +09:00
Roland Lammel
17a5fca161
Merge pull request #1692 from pafuent/benchmark_github_action
...
Adding GitHub action to compare benchmarks
2020-11-23 18:00:47 +01:00
Pablo Andres Fuente
5b9bbbd356
Adding GitHub action to compare benchmarks
...
The GitHub action runs all the benchmarks for the target branch, and the
compares those values with the benchmarks results for the PR new code.
2020-11-23 05:28:17 +00:00
Roland Lammel
ad3be08de1
Merge pull request #1683 from asahasrabuddhe/patch-2
...
Add support for Go 1.15 to CI
2020-11-20 13:38:34 +01:00
Roland Lammel
3912d62031
Merge pull request #1662 from santosh653/master
...
Adding second arch ppc64le to CI
2020-11-20 12:46:14 +01:00
Roland Lammel
9676696b42
Merge pull request #1656 from imxyb/remove-defer
...
remove useless defer for Context.FormFile
2020-11-20 12:43:26 +01:00
Ajitem Sahasrabuddhe
fdbcc2f94e
add support for go 1.12
2020-11-20 17:11:08 +05:30
Roland Lammel
90bef88e1a
Merge pull request #1669 from ulasakdeniz/fix-incorrect-cors-headers
...
Fix empty/incorrect CORS headers
2020-11-20 11:54:01 +01:00
Roland Lammel
ce95e12416
Merge pull request #1687 from arun0009/master
...
adding decompress gzipped request middleware
2020-11-20 11:26:37 +01:00
Arun Gopalpuri
b47042f385
adding decompress gzipped request middleware
2020-11-20 00:51:24 -08:00
Ajitem Sahasrabuddhe
d385a92e51
add support for Go 1.15 & drop support for Go 1.12
2020-11-13 17:30:47 +05:30
Roland Lammel
7a90304d2d
Merge pull request #1637 from pofl/patch-2
...
Run Test Workflow only if Go code was changed
2020-11-11 14:48:26 +01:00
Florian Polster
31599cf1f4
Workflow also run on changes to go.mod, _fixture, .github changes
2020-11-11 10:19:05 +01:00
Roland Lammel
2ab69d892d
Merge pull request #1672 from pafuent/compress_middleware_pool_optimization
...
Adding sync.Pool to Compress Middleware
2020-11-10 15:30:20 +01:00
Pablo Andres Fuente
ac54e132e4
Adding sync.Pool to Compress Middleware
...
Adding a sync.Pool for the *gzip.Writer reduces the allocations of the
Compress middleware in 50% and gives an increase on execution speed of
a 85%
This fix #1643
2020-11-07 03:52:35 +00:00
Ulas Akdeniz
871ed9c68d
Fix incorrect CORS headers
...
- Fix empty Access-Control-Allow-Origin
- Set CORS headers only if request Origin is existing and allowed
- Increase middleware test coverage
2020-11-06 03:10:16 +01:00
Roland Lammel
ceffc10ecb
Merge pull request #1630 from arun0009/master
...
bugfix proxy and rewrite, updated test with actual call settings
2020-11-05 13:55:55 +01:00
Roland Lammel
6b48de32ca
Merge pull request #1666 from neotel-at/feature/1477-defaulterrorhandler-with-debug
...
Fix DefaultHTTPErrorHandler with enabled debug (#1477 )
2020-11-05 12:11:38 +01:00
Roland Lammel
cdd946aaa0
Fix DefaultHTTPErrorHandler with Debug=true ( #1477 )
2020-11-05 03:37:15 +01:00
Roland Lammel
095af21449
Merge pull request #1640 from imxyb/feature/opt-split
...
Use IndexAny instead of Split to reduce memory allocation
2020-11-05 01:38:37 +01:00
santosh653
44b4054b9e
Update .travis.yml
...
adding power support
2020-11-02 10:10:16 -05:00
yonbiaoxiao
42271822e4
remove unless defer
2020-10-20 11:54:40 +08:00
Arun Gopalpuri
f6dfcbe774
bugfix proxy and rewrite, updated test with actual call settings
2020-09-16 19:29:22 -07:00
yonbiaoxiao
64c4950996
improve the test coverage for context.go
2020-09-16 10:37:45 +08:00
yonbiaoxiao
622f5e33d4
Use IndexByte instead of Split to reduce memory allocation and improve performance
2020-09-15 19:56:33 +08:00
Roland Lammel
151ed6b3f1
Merge pull request #1636 from pofl/patch-1
...
Update godoc link in README to /v4
2020-09-14 18:12:41 +02:00
Roland Lammel
0fd6fce45f
Merge pull request #1632 from imxyb/hardcode_for_http
...
Use http constants instead of hardcoded status
2020-09-14 18:10:42 +02:00
yonbiaoxiao
5c5c83d290
change the hardcode for http constant
2020-09-14 10:23:54 +08:00
Florian Polster
a7b6d444a4
Run Test Workflow only if Go code was changed
2020-09-12 10:57:58 +02:00
Florian Polster
bfbab25044
Update godoc link in README to /v4
2020-09-12 10:47:03 +02:00
Roland Lammel
28ec3f7bdb
Merge pull request #1627 from juanbelieni/master
...
Create ErrJWTInvalid to allow modify error when JWT is invalid
2020-09-01 16:10:16 +02:00
Roland Lammel
2d79ff3d6c
Merge pull request #1628 from arun0009/master
...
set raw path and path in proxy, so url.EscapePath uses raw path
2020-09-01 16:03:30 +02:00
Roland Lammel
cf2fcad01b
Merge pull request #1588 from choyri/bugfix/rewrite
...
Fixes the uses of caret(^) in rewrite regex
2020-09-01 13:22:01 +02:00
Roland Lammel
bcb316500e
Merge pull request #1623 from KlotzAndrew/cors_regex
...
cors allow regex pattern
2020-09-01 13:20:23 +02:00
Arun Gopalpuri
1a6ec73e57
using url.EscapedPath instead of custom GetPath, rewritePath func added to middleware - used by proxy and rewrite
2020-08-31 13:09:24 -07:00
Vishal Rana
cb84205219
Bumped version
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2020-08-27 20:09:25 -07:00
风吹过
28020c2a47
The directory path does not end with '/', it needs to be redirected ( #1572 )
...
* The directory path does not end with '/', it needs to be redirected
* changed guide highlighting to shell (#1593 )
* Fix recover print stack trace log level (#1604 )
* Fix recover print stack trace log level
* Add recover log level test
* Add default LogLevel to DefaultRecoverConfig
Co-authored-by: solym <ymwh@foxmai.com>
Co-authored-by: roz3x <52892437+roz3x@users.noreply.github.com>
Co-authored-by: Masahiro Furudate <178inaba.git@gmail.com>
2020-08-27 17:53:48 -07:00
Peter C
6463bcb190
added ModifyResponse option to ProxyConfig ( #1622 )
...
Co-authored-by: Peter C <petoc@users.noreply.github.com>
2020-08-27 17:51:27 -07:00