Files
AnyPS5/core/libs/prx/libSceHttp2/Cookies.hpp
T
BunnyFlandClaude Opus 5.5 bbef95bb68 fix(libSceHttp2): keep cookie box lookups off the handles mutex
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]>
2026-10-27 15:59:56 +01:00

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);