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]>
sceHttp2SetCookieBox and sceHttp2GetCookieBox follow an emulator run of
the firmware 13.42 module: templates and requests take a live box or 0,
other ids and unknown boxes return the invalid-id error, a new request
copies its template's box, and the getter checks a null output first.
A request with a bound box sends the box's matching cookies and stores
every Set-Cookie of the response in the box.
Co-Authored-By: Claude Opus 5.5 <[email protected]>