]> granicus.if.org Git - curl/commit
cookies: when reading from a file, only remove_expired once
authorLauri Kasanen <cand@gmx.com>
Fri, 30 Mar 2018 15:33:52 +0000 (18:33 +0300)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 2 Apr 2018 08:40:32 +0000 (10:40 +0200)
commit4073cd83b2f3bcf93f1ce7f5d567d22175bad9af
treeeeee27d641e37738414d87e7bf1a716734b9776a
parent28faaacee287b019bcf2961da3bf2f91d331bcbd
cookies: when reading from a file, only remove_expired once

This drops the cookie load time for 8k cookies from 178ms to 15ms.

Closes #2441
lib/cookie.c
lib/cookie.h
lib/http.c
lib/setopt.c