mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-06 17:41:24 +00:00
sceHttpSetProxy returned success for a live template, connection or request without keeping anything. Store the proxy host, port and the HTTP and WLAN proxy-configuration values on the object's options, following the shadPS4 check order, and copy the guest host string before use so an unreadable host returns ERROR_INVALID_VALUE instead of crashing the host.
829 B
829 B
libSceHttp
change [sceHttpSetProxy]
- sceHttpSetProxy (libSceHttp) - stores the proxy host, port and the HTTP and WLAN proxy-configuration values for a live template, connection or request and returns 0, but no request reaches the network so the stored proxy is never used. The signature
(id, HTTP proxy conf, WLAN proxy conf, host, port)and the order of the checks (ERROR_BEFORE_INIT, thenERROR_INVALID_VALUEfor a null host, thenERROR_INVALID_ID) follow shadPS4 (PS4), which stores the proxy; not measured on a PS5. The host is copied in page-bounded chunks withGuestCopyIn_nid_no_patch, and an unreadable host returnsERROR_INVALID_VALUEas a host-safety fallback