Commit Graph

8 Commits

Author SHA1 Message Date
Erik Dubbelboer 0e99e64ee8 Update golangci-lint and gosec (#1609) 2023-08-26 12:49:17 +02:00
Oleksandr Redko b334443d63 docs: add missing dot to ConvertRequest comment (#1516) 2023-03-14 22:37:04 +01:00
Oleksandr Redko e15a810a98 docs: fix grammar issues and typos in comments (#1492) 2023-02-13 10:43:44 +08:00
Shawn 9b4a7e5bf4 fix http2 adapter (#1457) 2022-12-25 10:07:22 +01:00
Emre Savcı 40eec0b706 byte to string unsafe conversion in fasthttpadaptor ConvertRequest method (#1375)
* add byte to string unsafe conversion to fasthttpadaptor ConvertRequest method()

* add nosec comment line

* Update fasthttpadaptor/request.go

Co-authored-by: Erik Dubbelboer <erik@dubbelboer.com>

* move unsafe package import next to std packages

* fix lint error in test

Co-authored-by: Erik Dubbelboer <erik@dubbelboer.com>
2022-09-15 23:15:26 +03:00
Aoang a696949f6c Deprecate Go 1.15 (#1379)
* Dropping support for 1.15.

* Replaces Go 1.16 Deprecated functions

* Update test build flag

* Fix import sort and comment

* Update github.com/klauspost/compress to v1.15.9

https://github.com/klauspost/compress improved performance and changed Minimum version is 1.16, this should be the final supported release for Go 1.16 (https://github.com/klauspost/compress/commit/6d0019a95afa3221f7522d1f2eed0033b5e79470) .
2022-09-15 22:28:25 +03:00
Sergio Andrés Virviescas Santana 7d13e18a4f Add Request.TLS and try to avoid a new alloc if Request.Header is already allocated (#1034) 2021-05-26 09:06:37 +02:00
Nícolas Barbosa 04cde74c41 feature: add ConvertRequest func (#1024)
* feature: add ConvertRequest func

To easy method to convert ctx.RequestCtx to http.Request

* chore: minor changes by code review #1024
2021-05-17 09:20:10 +02:00