diff options
author | Darío <dgrripoll@gmail.com> | 2021-02-16 21:53:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 21:53:40 +0100 |
commit | 1b61ca2e36ab3b581d667156c6b9b9141dc69827 (patch) | |
tree | 3ff2820c53bd1628a8decfe800ce0fa497bfc81c /server.go | |
parent | fix s2b go vet warning (#967) (diff) | |
download | fasthttp-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.go | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 |