mirror of
https://github.com/curl/curl.git
synced 2026-07-29 04:23:08 +03:00
cookie: CURLOPT_COOKIEFILE set to NULL switches off cookies
Add test 676 to verify that setting CURLOPT_COOKIEFILE to NULL again clears the cookiejar from memory. Reported-by: Stefan Karpinski Fixes #6889 Closes #6891
This commit is contained in:
parent
566b74a0e1
commit
520bd5225c
6 changed files with 175 additions and 3 deletions
|
|
@ -5,7 +5,7 @@
|
|||
.\" * | (__| |_| | _ <| |___
|
||||
.\" * \___|\___/|_| \_\_____|
|
||||
.\" *
|
||||
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
.\" *
|
||||
.\" * This software is licensed as described in the file COPYING, which
|
||||
.\" * you should have received as part of this distribution. The terms
|
||||
|
|
@ -57,6 +57,9 @@ Subsequent files will add more cookies.
|
|||
|
||||
The application does not have to keep the string around after setting this
|
||||
option.
|
||||
|
||||
Setting this option to NULL will (since 7.77.0) explicitly disable the cookie
|
||||
engine and clear the list of files to read cookies from.
|
||||
.SH DEFAULT
|
||||
NULL
|
||||
.SH PROTOCOLS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue