diff options
author | Aliaksandr Valialkin <valyala@gmail.com> | 2016-02-17 11:45:21 +0200 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2016-02-17 11:45:21 +0200 |
commit | fd2887a5fce550b6c603aa1d7a81b010cc61aad3 (patch) | |
tree | a7f4308fc10dfc7d376f335bcb7dc88c1b043772 /cookie.go | |
parent | Issue #51: Make RequestCtx.SendFile a synonim to ServeFile. This breaks Reque... (diff) | |
download | fasthttp-fd2887a5fce550b6c603aa1d7a81b010cc61aad3.tar.gz fasthttp-fd2887a5fce550b6c603aa1d7a81b010cc61aad3.tar.bz2 fasthttp-fd2887a5fce550b6c603aa1d7a81b010cc61aad3.zip |
Issue #53: Clarify that the following instances mustn't be used from concurrently running goroutines: Args, Cookie, URI, RequestCtx, Request, Response, RequestHeader and ResponseHeader
Diffstat (limited to 'cookie.go')
-rw-r--r-- | cookie.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -21,8 +21,7 @@ var ( // // Do not copy Cookie objects. Create new object and use CopyTo instead. // -// It is unsafe modifying/reading Cookie instance from concurrently -// running goroutines. +// Cookie instance MUST NOT be used from concurrently running goroutines. type Cookie struct { key []byte value []byte |