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 /args.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 'args.go')
-rw-r--r-- | args.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -11,8 +11,7 @@ import ( // It is forbidden copying Args instances. Create new instances instead // and use CopyTo(). // -// It is unsafe modifying/reading Args instance from concurrently -// running goroutines. +// Args instance MUST NOT be used from concurrently running goroutines. type Args struct { args []argsKV bufKV argsKV |