Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-11-24 | chore: Use 'any' instead of 'interface{}' (#1666) | Oleksandr Redko | 1 | -1/+1 | |
gofmt -w -r "interface{} -> any" -l . | |||||
2023-09-15 | chore: move rsa.key, rsa.pem to test variables (#1621) | Ilya Selivanau | 3 | -49/+51 | |
2023-06-13 | Enable gofumpt linter; format code `gofumpt -w .` (#1576)v1.48.0 | Oleksandr Redko | 1 | -6/+3 | |
2023-05-07 | Fix tests (#1552) | Erik Dubbelboer | 1 | -12/+0 | |
2023-02-15 | test: close response body (#1496) | Oleksandr Redko | 1 | -0/+1 | |
2023-02-11 | Refactor golangci-lint config and remove redundant nolints (#1486) | Oleksandr Redko | 1 | -2/+2 | |
* Refactor golangci-lint config - Use golangci-lint-action for GitHub workflow. - Add additional golangci-lint run options. - Remove unused nolint directives. * Revert exclude-use-default option | |||||
2022-12-07 | add optional simulated addresses to pipeconn and inmemorylistener (#1449) | Tobias Krischer | 4 | -6/+217 | |
* add optional simulated addresses to pipeconn and inmemorylistener * add mutexes to addresses of pipeConn and InmemoryListener | |||||
2022-11-16 | Use time.Until(deadline) instead of -time.Since(deadline) (#1434) | Andy Pan | 1 | -1/+1 | |
2022-09-15 | Deprecate Go 1.15 (#1379) | Aoang | 2 | -4/+2 | |
* 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-08-28 | Don't use tls ClientSessionCache | Erik Dubbelboer | 3 | -114/+9 | |
net/http doesn't use it either. Some servers have issues with this preventing fasthttp from working: https://github.com/valyala/fasthttp/issues/1364 https://github.com/valyala/fasthttp/issues/1296 https://github.com/valyala/fasthttp/issues/1335 https://github.com/valyala/fasthttp/issues/984 Also removed code that benchmarks crypto/tls as that has nothing to do with fasthttp. | |||||
2022-08-14 | Add Go 1.19 Support (#1355)v1.39.0 | Aoang | 1 | -4/+4 | |
* Update Go Version to Go1.19.x And add cache * Fix CI Line endings * Update test CI Go Version to Go1.19.x And add cache * Update Gosec Security Scanner CI to securego/gosec@v2.12.0 * Format comment Go 1.19 adds support for links, lists, and clearer headings in doc comments. As part of this change, gofmt now reformats doc comments to make their rendered meaning clearer. See “Go Doc Comments” for syntax details and descriptions of common mistakes now highlighted by gofmt. As another part of this change, the new package go/doc/comment provides parsing and reformatting of doc comments as well as support for rendering them to HTML, Markdown, and text. ref: https://tip.golang.org/doc/go1.19 ref: https://tip.golang.org/doc/comment * Fix doc structure | |||||
2022-04-01 | Use %v for errors and %q for strings (#1262)v1.35.0 | Erik Dubbelboer | 3 | -37/+37 | |
Mostly in tests. | |||||
2021-12-13 | Use %w to wrap errors (#1175) | Erik Dubbelboer | 1 | -2/+2 | |
2021-06-18 | Lower go test time | Erik Dubbelboer | 2 | -0/+26 | |
2020-07-17 | Update linting (#851) | Erik Dubbelboer | 2 | -12/+12 | |
2020-06-06 | Try TravisCI Windows (#828) | Erik Dubbelboer | 1 | -1/+1 | |
* Try TravisCI Windows * prefork is supported on windows with Reuseport=true * Bit longer timeouts for tests | |||||
2020-02-28 | feat: workflow to verify security using GoSec (#747) | RENAN.BASTOS | 1 | -2/+2 | |
* feat: workflow to valid security using GoSec * Update security.yml * Fix gosec problems These are all either false positives or os.Open operations done on filenames supplied by the fasthttp user which we have to assume is safe. * Just ignore some rules globally * Fix more warnings * No more warnings Co-authored-by: Erik Dubbelboer <erik@dubbelboer.com> | |||||
2020-01-31 | Client should return ErrTimeout on timeout (#736)v1.9.0 | Erik Dubbelboer | 1 | -1/+18 | |
Not ErrConnectionClosed which is incorrect. Fixes: https://github.com/valyala/fasthttp/issues/355 | |||||
2020-01-12 | Resolve code issues from goreportcard.com (#725) | Andy Pan | 1 | -0/+1 | |
2019-11-16 | Run golangci-lint using a Github Action | Erik Dubbelboer | 3 | -4/+4 | |
2019-10-22 | fasthttputil: add errInmemoryListenerClosed (#678) | ZhangYunHao | 1 | -4/+6 | |
* add errInmemoryListenerClosed * Fix test error * Expose ErrInmemoryListenerClosed * rename | |||||
2019-10-16 | Document PipeConns not being safe for concurrent use | Erik Dubbelboer | 1 | -0/+3 | |
2019-10-16 | fix 664 (#674) | rogercarter1 | 1 | -0/+2 | |
2019-09-04 | Fix data race in fasthttputil.pipeConn (#645) | Kazushi Kitaya | 2 | -2/+102 | |
* add tests for fasthttputil.InmemoryListener * fix data race in pipeConn * update use of readDeadlineChLock | |||||
2019-02-02 | Make InmemoryListener.Dial return when the connection is accepted | Erik Dubbelboer | 1 | -6/+16 | |
This makes InmemoryListener deterministic which makes our tests much less flacky under high load or when GOMAXPROCS=1 | |||||
2018-08-29 | go fmt ./... | Erik Dubbelboer | 1 | -6/+6 | |
2017-10-08 | A lot of typo fixes | xPushkin | 2 | -2/+2 | |
2017-04-24 | fasthttputil: added TLS benchmarks for ECDSA certificates | Aliaksandr Valialkin | 5 | -6/+48 | |
Handshakes with ECDSA certificates are optimized much better comparing to RSA certificates - see https://github.com/golang/go/issues/20058 . | |||||
2017-04-20 | fasthttputil: added TLS benchmarks for handshakes with elliptic curves | Aliaksandr Valialkin | 1 | -0/+25 | |
2017-04-20 | fasthttputil: added BenchmarkTLSHandshakeWithoutClientSessionCache | Aliaksandr Valialkin | 1 | -35/+73 | |
2016-09-26 | fasthttputil.PipeConns: add read/write deadline support | Aliaksandr Valialkin | 2 | -8/+170 | |
2016-08-17 | Fixed a race when reading data from pipe. This fixes flacky tests involving ↵ | Aliaksandr Valialkin | 1 | -1/+7 | |
fasthttputil.PipeConns: TestResponseGzipStream and TestWorkerPoolMaxWorkersCountSerial | |||||
2016-06-10 | Simplified PipeConns - now they properly handle the case when reader side is ↵ | Aliaksandr Valialkin | 2 | -127/+68 | |
closed | |||||
2016-06-10 | Improved testPipeConnsCloseWhileReadWrite | Aliaksandr Valialkin | 1 | -15/+29 | |
2016-06-10 | move inmemory_listener_timing_test to *_test package, so it could import ↵ | Aliaksandr Valialkin | 1 | -4/+5 | |
fasthttp without cycle | |||||
2016-03-01 | Reduced concurrency and increased wait time in ↵ | Aliaksandr Valialkin | 1 | -2/+2 | |
TestPipeConnsCloseWhileReadWriteConcurrent, so it may pass on slow CPUs and/or with -race flag | |||||
2016-03-01 | fasthttputil: added concurrent test for closing PipeConns while ↵ | Aliaksandr Valialkin | 1 | -1/+24 | |
reading/writing from it | |||||
2016-03-01 | Fixed data races in PipeConns | Aliaksandr Valialkin | 2 | -4/+56 | |
2016-02-05 | Moved expvarhandler from fasthttputil to fasthttp root | Aliaksandr Valialkin | 2 | -129/+0 | |
2016-02-05 | Added docs to expvar | Aliaksandr Valialkin | 1 | -0/+2 | |
2016-02-05 | Moved ExpvarHandler to a dedicated package in order to break import cycle | Aliaksandr Valialkin | 2 | -2/+2 | |
2016-02-05 | typo fix | Aliaksandr Valialkin | 1 | -1/+1 | |
2016-02-05 | added ability to filter ExpvarHandler output with regexp | Aliaksandr Valialkin | 2 | -6/+64 | |
2016-02-05 | fasthttputil: added ExpvarHandler for serving variables exported via ↵ | Aliaksandr Valialkin | 3 | -0/+71 | |
standard expvar package | |||||
2016-02-05 | fasthttputil: renamed files: pipe -> pipeconns | Aliaksandr Valialkin | 2 | -0/+0 | |
2016-02-05 | Fixed golint warnings | Aliaksandr Valialkin | 1 | -8/+9 | |
2016-02-04 | fasthttputil: pre-allocate memory in newly created byteBuffer | Aliaksandr Valialkin | 1 | -1/+3 | |
2016-02-04 | fasthttputil: pipe errors cleanup | Aliaksandr Valialkin | 1 | -3/+6 | |
2016-02-04 | fasthttputil: properly release pipeChan | Aliaksandr Valialkin | 1 | -7/+12 | |
2016-02-04 | fasthttputil: added pipe tests | Aliaksandr Valialkin | 2 | -3/+152 | |