diff options
author | Aliaksandr Valialkin <valyala@gmail.com> | 2015-11-24 15:48:10 +0200 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2015-11-24 15:48:10 +0200 |
commit | 52c04f13b2bbb0a9c361825ee9b1c7306f5f0910 (patch) | |
tree | 76cbf61a7d815d0761698c27e7f8e5e846abb608 /strings.go | |
parent | Fixed data race when hijacked conn is backed by firstByteReader, which is att... (diff) | |
download | fasthttp-52c04f13b2bbb0a9c361825ee9b1c7306f5f0910.tar.gz fasthttp-52c04f13b2bbb0a9c361825ee9b1c7306f5f0910.tar.bz2 fasthttp-52c04f13b2bbb0a9c361825ee9b1c7306f5f0910.zip |
Added support for 'Connection: Upgrade', so RequestHandler may detect such connections and hijack them
Diffstat (limited to 'strings.go')
-rw-r--r-- | strings.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -39,6 +39,7 @@ var ( strCookiePath = []byte("path") strClose = []byte("close") + strUpgrade = []byte("Upgrade") strChunked = []byte("chunked") strIdentity = []byte("identity") strPostArgsContentType = []byte("application/x-www-form-urlencoded") |