]> git.ipfire.org Git - thirdparty/curl.git/commit
cookie: overhaul and cleanup
authorDaniel Stenberg <daniel@haxx.se>
Thu, 10 Oct 2024 08:08:15 +0000 (10:08 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 11 Oct 2024 07:01:03 +0000 (09:01 +0200)
commitbe39ed19a5124a900626ab377e2afe5f41839830
tree63144f91c36227172bf6ee393d40a77424b676b2
parent91d451b48809f20415ba8627786f5d4f5aaf8bfe
cookie: overhaul and cleanup

- split the huge Curl_cookie_add() into several smaller static functions

- switch to using the common llist instead of custom linked list

- use less memory for *getlist()

- use bitfields for flags in the Cookie struct

- avoid the copy for date parsing

- more consistent variable naming

Closes #15247
lib/cookie.c
lib/cookie.h
lib/http.c