aboutsummaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
authorGravatar Darío <dgrripoll@gmail.com> 2021-02-16 21:53:40 +0100
committerGravatar GitHub <noreply@github.com> 2021-02-16 21:53:40 +0100
commit1b61ca2e36ab3b581d667156c6b9b9141dc69827 (patch)
tree3ff2820c53bd1628a8decfe800ce0fa497bfc81c /server.go
parentfix s2b go vet warning (#967) (diff)
downloadfasthttp-1b61ca2e36ab3b581d667156c6b9b9141dc69827.tar.gz
fasthttp-1b61ca2e36ab3b581d667156c6b9b9141dc69827.tar.bz2
fasthttp-1b61ca2e36ab3b581d667156c6b9b9141dc69827.zip
Added Protocol() as a replacement of hardcoded strHTTP11 (#969)
* Added Protocol() as a replacement of hardcoded strHTTP11 * Applied review changes * Modify h.proto in parseFirstLine
Diffstat (limited to 'server.go')
-rw-r--r--server.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/server.go b/server.go
index 0cda0f8..600b065 100644
--- a/server.go
+++ b/server.go
@@ -375,7 +375,6 @@ type Server struct {
// which will close it when needed.
KeepHijackedConns bool
-
// CloseOnShutdown when true adds a `Connection: close` header when when the server is shutting down.
CloseOnShutdown bool
@@ -384,7 +383,6 @@ type Server struct {
// larger then the current limit.
StreamRequestBody bool
-
tlsConfig *tls.Config
nextProtos map[string]ServeHandler