aboutsummaryrefslogtreecommitdiff
path: root/prefork
AgeCommit message (Collapse)AuthorFilesLines
2024-03-02Enable few gocritic checks; fix up issues (#1728)Gravatar Oleksandr Redko 1-1/+2
2024-02-21Upgrade golangci-lint to v1.56.2; fix gocritic issues (#1722)Gravatar Oleksandr Redko 1-1/+2
2023-12-13chore: Add missing dots at the end of comments (#1677)Gravatar Oleksandr Redko 1-7/+7
2023-11-24chore: Use 'any' instead of 'interface{}' (#1666)Gravatar Oleksandr Redko 1-1/+1
gofmt -w -r "interface{} -> any" -l .
2023-06-13Enable gofumpt linter; format code `gofumpt -w .` (#1576)v1.48.0Gravatar Oleksandr Redko 1-2/+0
2023-02-15test: bind to localhost instead of all interfaces (#1495)Gravatar Oleksandr Redko 1-1/+1
Co-authored-by: Oleksandr Redko <oleksandr.redko@clarity-ag.net>
2022-04-01Use %v for errors and %q for strings (#1262)v1.35.0Gravatar Erik Dubbelboer 1-8/+8
Mostly in tests.
2021-06-18Lower go test timeGravatar Erik Dubbelboer 1-8/+18
2021-06-18Run go test on github actions (#1047)Gravatar Erik Dubbelboer 1-1/+3
* Run go test on github actions travis-ci.org has stopped. See also: https://github.com/curl/curl/issues/7150 Downside: github actions don't support ppc64le * Run less * delete .travis.yml * Remove travis + minor lint fixes
2020-06-07Prefork does work on windowsGravatar Erik Dubbelboer 2-4/+0
Just need to use Reuseport.
2020-06-06Try TravisCI Windows (#828)Gravatar Erik Dubbelboer 2-1/+14
* Try TravisCI Windows * prefork is supported on windows with Reuseport=true * Bit longer timeouts for tests
2020-03-13Make the prefork mode more robust (#755)Gravatar Andy Pan 1-15/+102
* Make the prefork mode more robust The main process will exit if one of the prefork child processes doesn't complete successfully under the current prefork mode, so it ought to make sure that all child processes run independently and the main process will only exit after all child processes are finished. * Start over those failed child processes automatically * Kill all child processes before main process exits * Remove redundant code * Add configurable threshold of starting over child processes * Return a error of RecoverThreshold * Resolved requested changes * Add logs * Resolve requested changes
2020-02-28feat: workflow to verify security using GoSec (#747)Gravatar RENAN.BASTOS 1-0/+1
* 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-02-12Add prefork utility (#741)Gravatar Sergio Andrés Virviescas Santana 3-0/+492