Oleksandr Redko
9ffdf086e7
test: fix typo ( #1790 )
2024-06-10 19:08:51 +02:00
Erik Dubbelboer
b001a40bea
Use FASTHTTP_PREFORK_CHILD env variable to detect child ( #1783 )
...
It's better to use an environment variable as they are more standard.
They way flags are parsed isn't standardized within the Go ecosystem.
Fixes: https://github.com/valyala/fasthttp/issues/1782
2024-06-02 10:33:50 +02:00
Oleksandr Redko
ffdf59d04c
Enable gofumpt linter; format code gofumpt -w . ( #1576 )
2023-06-13 15:18:59 +02:00
Oleksandr Redko
2ab79063af
test: bind to localhost instead of all interfaces ( #1495 )
...
Co-authored-by: Oleksandr Redko <oleksandr.redko@clarity-ag.net >
2023-02-15 11:56:23 +01:00
Erik Dubbelboer
7a5afddf5b
Use %v for errors and %q for strings ( #1262 )
...
Mostly in tests.
2022-04-01 18:11:16 +02:00
Erik Dubbelboer
9f2c63676d
Lower go test time
2021-06-18 14:57:18 +02:00
Erik Dubbelboer
1671faf0bd
Prefork does work on windows
...
Just need to use Reuseport.
2020-06-07 11:19:31 +02:00
Erik Dubbelboer
cc9db3ab20
Try TravisCI Windows ( #828 )
...
* Try TravisCI Windows
* prefork is supported on windows with Reuseport=true
* Bit longer timeouts for tests
2020-06-06 15:57:38 +02:00
Sergio Andrés Virviescas Santana
aa96a4709d
Add prefork utility ( #741 )
2020-02-12 13:51:27 +01:00