mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-08 13:50:20 +00:00
The transport read and stored a bound box's cookies under the request's state mutex, and the box lookup took the handles mutex, while deleting a request holds the handles mutex and waits for that state mutex. The cookie module now records live boxes itself, so the lookup no longer needs the handles mutex. Co-Authored-By: Claude Opus 5.5 <[email protected]>
12 lines
380 B
C++
12 lines
380 B
C++
#pragma once
|
|
|
|
#include <optional>
|
|
#include <string>
|
|
#include <string_view>
|
|
|
|
void Http2AddCookieBox(int cookieBoxId);
|
|
void Http2ForgetCookies(int cookieBoxId);
|
|
void Http2FlushCookies(int cookieBoxId);
|
|
std::optional<std::string> Http2CookieHeader(int cookieBoxId, std::string_view url);
|
|
void Http2StoreResponseCookie(int cookieBoxId, std::string_view url, std::string_view cookie);
|