diff options
author | Aliaksandr Valialkin <valyala@gmail.com> | 2015-12-10 11:19:34 +0200 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2015-12-10 11:19:34 +0200 |
commit | 495e130b8f1febd30666cf8b0c4ba571381f6cf2 (patch) | |
tree | 95916d34eed9507d2432a485cacac788c6eef8d3 /strings.go | |
parent | Set response content-length before writing response header (diff) | |
download | fasthttp-495e130b8f1febd30666cf8b0c4ba571381f6cf2.tar.gz fasthttp-495e130b8f1febd30666cf8b0c4ba571381f6cf2.tar.bz2 fasthttp-495e130b8f1febd30666cf8b0c4ba571381f6cf2.zip |
Issue #16: support 'Connection: keep-alive' header for non-http/1.1 requests and/or responses
Diffstat (limited to 'strings.go')
-rw-r--r-- | strings.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -44,6 +44,8 @@ var ( strCookiePath = []byte("path") strClose = []byte("close") + strKeepAlive = []byte("keep-alive") + strKeepAliveCamelCase = []byte("Keep-Alive") strUpgrade = []byte("Upgrade") strChunked = []byte("chunked") strIdentity = []byte("identity") |