made large parts of the stdlib gcsafe
This commit is contained in:
parent
be6474af63
commit
e6d17e6273
21 changed files with 138 additions and 113 deletions
|
|
@ -377,7 +377,7 @@ proc setCookie*(name, value: string) =
|
|||
write(stdout, "Set-Cookie: ", name, "=", value, "\n")
|
||||
|
||||
var
|
||||
gcookies: PStringTable = nil
|
||||
gcookies {.threadvar.}: PStringTable
|
||||
|
||||
proc getCookie*(name: string): TaintedString =
|
||||
## Gets a cookie. If no cookie of `name` exists, "" is returned.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue