aboutsummaryrefslogtreecommitdiff
path: root/fasthttputil
diff options
context:
space:
mode:
authorGravatar Erik Dubbelboer <erik@dubbelboer.com> 2018-08-29 20:06:46 +0800
committerGravatar Erik Dubbelboer <erik@dubbelboer.com> 2018-08-29 20:26:12 +0800
commit2cc8e6be6d4de06aa9f349549c730350522ac316 (patch)
treeaf24c2f00e41a7938f26edda11e3bfc9c9d82820 /fasthttputil
parentUpdate LICENSE (diff)
downloadfasthttp-2cc8e6be6d4de06aa9f349549c730350522ac316.tar.gz
fasthttp-2cc8e6be6d4de06aa9f349549c730350522ac316.tar.bz2
fasthttp-2cc8e6be6d4de06aa9f349549c730350522ac316.zip
go fmt ./...
Diffstat (limited to 'fasthttputil')
-rw-r--r--fasthttputil/inmemory_listener_timing_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/fasthttputil/inmemory_listener_timing_test.go b/fasthttputil/inmemory_listener_timing_test.go
index 0b7ec0e..2691813 100644
--- a/fasthttputil/inmemory_listener_timing_test.go
+++ b/fasthttputil/inmemory_listener_timing_test.go
@@ -39,7 +39,7 @@ func BenchmarkTLSStreaming(b *testing.B) {
// It re-establishes new TLS connection per each http request.
func BenchmarkTLSHandshakeRSAWithClientSessionCache(b *testing.B) {
bc := &benchConfig{
- IsTLS: true,
+ IsTLS: true,
DisableClientSessionCache: false,
}
benchmarkExt(b, handshakeHandler, bc)
@@ -47,7 +47,7 @@ func BenchmarkTLSHandshakeRSAWithClientSessionCache(b *testing.B) {
func BenchmarkTLSHandshakeRSAWithoutClientSessionCache(b *testing.B) {
bc := &benchConfig{
- IsTLS: true,
+ IsTLS: true,
DisableClientSessionCache: true,
}
benchmarkExt(b, handshakeHandler, bc)
@@ -55,7 +55,7 @@ func BenchmarkTLSHandshakeRSAWithoutClientSessionCache(b *testing.B) {
func BenchmarkTLSHandshakeECDSAWithClientSessionCache(b *testing.B) {
bc := &benchConfig{
- IsTLS: true,
+ IsTLS: true,
DisableClientSessionCache: false,
UseECDSA: true,
}
@@ -64,7 +64,7 @@ func BenchmarkTLSHandshakeECDSAWithClientSessionCache(b *testing.B) {
func BenchmarkTLSHandshakeECDSAWithoutClientSessionCache(b *testing.B) {
bc := &benchConfig{
- IsTLS: true,
+ IsTLS: true,
DisableClientSessionCache: true,
UseECDSA: true,
}
@@ -73,7 +73,7 @@ func BenchmarkTLSHandshakeECDSAWithoutClientSessionCache(b *testing.B) {
func BenchmarkTLSHandshakeECDSAWithCurvesWithClientSessionCache(b *testing.B) {
bc := &benchConfig{
- IsTLS: true,
+ IsTLS: true,
DisableClientSessionCache: false,
UseCurves: true,
UseECDSA: true,
@@ -83,7 +83,7 @@ func BenchmarkTLSHandshakeECDSAWithCurvesWithClientSessionCache(b *testing.B) {
func BenchmarkTLSHandshakeECDSAWithCurvesWithoutClientSessionCache(b *testing.B) {
bc := &benchConfig{
- IsTLS: true,
+ IsTLS: true,
DisableClientSessionCache: true,
UseCurves: true,
UseECDSA: true,