Commit Graph
101 Commits
Author SHA1 Message Date
boykopovar 35cf8d56cd refactor(sdk): add canonical headers for core libraries 2026-10-24 23:17:37 +03:00
Adrià a39be6252d Merge pull request #8357 from MarrasFederico/feat/http-memory-pool-stats
feat(libSceHttp): report a context's pool in sceHttpGetMemoryPoolStats
2026-10-24 12:48:06 +02:00
Dean 9446779906 Merge pull request #9413 from MarcZX10/feat/http-cookie-enabled-option
feat(libSceHttp): implement cookie-enabled option state
2026-10-23 19:28:53 +13:00
Dean 291cb22c04 Merge pull request #9066 from orezraey/fix/http-status-line-measured-ps5
fix(libSceHttp): parse status lines past lineLen as measured on a PS5
2026-10-23 15:36:50 +13:00
Dean b7a451d62b Merge pull request #9073 from orezraey/fix/http-uri-copy-measured-ps5
fix(libSceHttp): copy URIs as measured on a PS5
2026-10-23 14:43:44 +13:00
orezraeyandClaude Opus 5.5 5fd2403725 Merge main into fix/http-status-line-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 22:39:17 -03:00
Dean Galvin 57bf968aa3 Merge main into feat/http-cookie-enabled-option 2026-10-23 14:37:47 +13:00
Dean 2e0c9251df Merge pull request #9405 from MarcZX10/feat/http-auth-enabled-option
feat(libSceHttp): implement auth-enabled option state
2026-10-23 14:22:37 +13:00
Dean a8a34cbb75 Merge pull request #9058 from orezraey/fix/http-uri-parse-measured-ps5
fix(libSceHttp): parse, build and merge URIs as measured on a PS5
2026-10-23 14:06:45 +13:00
Federico Marras 73822f3fea Merge commit '3ca07d086d5f44fbe3c00370e7f03953ab46ca1b' into feat/http-memory-pool-stats 2026-10-22 15:42:59 +02:00
MarcZX10 94ea385b51 feat(libSceHttp): implement cookie-enabled option state 2026-10-22 13:31:21 +00:00
MarcZX10 0aac538d00 fix(libSceHttp): keep auth option PR scoped 2026-10-22 13:31:21 +00:00
MarcZX10 13eea0a93f feat(libSceHttp): implement request header removal stub 2026-10-22 13:31:21 +00:00
MarcZX10 eb7ed110b5 feat(libSceHttp): implement auth-enabled option state 2026-10-22 13:31:21 +00:00
Yossi Yadgar 008a78aa2c feat(libSceHttp): check the arguments of sceHttpSetProxy 2026-10-22 08:26:07 +03:00
Federico Marras 83be1aae7d Merge remote-tracking branch 'upstream/main' into feat/http-memory-pool-stats
# Conflicts:
#	core/libs/prx/libSceHttp/Export.cpp
#	docs/dev/debt/libSceHttp.md
2026-10-22 07:05:11 +02:00
orezraeyandClaude Opus 5.5 3bcc0fd719 Merge main into fix/http-uri-parse-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 20:51:44 -03:00
orezraeyandClaude Opus 5.5 20ec66fe21 Merge main into fix/http-status-line-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 20:49:58 -03:00
orezraeyandClaude Opus 5.5 eed64b8c11 Merge main into fix/http-uri-copy-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 20:48:42 -03:00
boykopovar 5b01f05550 fix(http): apply sdk character rules to uri decoding 2026-10-21 21:51:45 +03:00
boykopovar 7eac0fbbac fix(http): restore uri builder limits and output rules 2026-10-21 21:51:43 +03:00
boykopovar 3985ae95cb fix(http): match native header parsing and uri decoding 2026-10-21 21:51:42 +03:00
boykopovar bd7a73eb58 fix(http): restore cookie and socket callback signatures 2026-10-21 21:51:39 +03:00
boykopovar f0e10376bb fix(http): restore epoll and diagnostic query signatures 2026-10-21 21:50:49 +03:00
boykopovar adb500a3c1 fix(http): recover the cookie statistics layout 2026-10-21 21:47:19 +03:00
boykopovar 2239c0b717 fix(http): recover request metadata and memory stats signatures 2026-10-21 21:45:01 +03:00
boykopovar 35943b3e7b fix(http): recover cookie buffer and limit signatures 2026-10-21 21:45:01 +03:00
boykopovar 5266e7f770 fix(http): recover cache and request option stub signatures
verify argument widths against the local system module, including the four-register auth cache export and four-byte option outputs. keep every throwing stub body unchanged.
2026-10-21 21:44:51 +03:00
orezraeyandClaude Opus 5.5 6369edbf12 Merge main into fix/http-uri-parse-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 09:10:14 -03:00
Adrià d099bc6cd8 Merge pull request #8245 from YossiYad/feat/http-object-options
feat(libSceHttp): keep options per template, connection and request and implement their getters
2026-10-21 14:04:15 +02:00
orezraeyandClaude Opus 5.5 19d7e29b3a fix(libSceHttp): copy URIs as measured on a PS5
A payload on a PS5 (firmware 13.60) shows sceHttpUriCopy clears the
whole output and all prepare bytes of the pool before it reads the
source, so a source that is the output or lies in the pool copies as
empty. Read the source after clearing, clear the output with its
padding, and test the measured layout, failures and aliasing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 08:33:25 -03:00
orezraeyandClaude Opus 5.5 77a05cbfe9 fix(libSceHttp): parse status lines past lineLen as measured on a PS5
A payload process on a PS5 (firmware 13.60) parsed 124 status lines and
lengths. It checks lineLen only for its minimum of 8 and for the three
code digits, reads the version and its separators past it, and finds the
line feed up to and including the byte at lineLen, so a length that
stops right before the line feed still parses. When the version ends
past lineLen the unsigned subtractions wrap and the search continues
until a line feed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 08:24:19 -03:00
orezraeyandClaude Opus 5.5 b9b9c07713 fix(libSceHttp): parse, build and merge URIs as measured on a PS5
A payload process on a PS5 (firmware 13.60) parsed, built and merged
several hundred URIs. sceHttpUriParse cuts the hostname at the first
byte that cannot be in it and starts the path there instead of failing,
takes the userinfo up to the first '@', accepts a port up to 65536 that
ends at '/' or the end, and gives https... schemes 443 and http...
schemes 80. It sweeps the path as sceHttpUriSweepPath does but sizes the
pool for the unswept path, and leaves require alone when the pool is too
small. sceHttpUriBuild writes IPv6 hostnames without brackets.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 08:07:12 -03:00
Dean 1bcaa14234 Merge pull request #8307 from hypermoist/fix/libs-console-results-part2
fix(libs): return what the firmware returns from 31 more calls it does not implement
2026-10-21 20:57:00 +13:00
Yossi Yadgar ede0124063 fix(libSceHttp): refuse the option calls before init and sceHttpSetEpoll for a handle that is not an epoll
The last sceHttpTerm now ends every template, connection and request's options, so a stale id is refused after the next sceHttpInit.
2026-10-21 09:36:43 +03:00
Dean 9f4ddf7cf9 Merge pull request #8838 from orezraey/fix/http-uri-unescape-sweep-measured-ps5
fix(libSceHttp): unescape and sweep URIs as measured on a PS5
2026-10-21 16:10:19 +13:00
orezraeyandClaude Opus 5.5 d991252d25 fix(libSceHttp): keep the unmeasured single-dot sweep boundary
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 22:50:59 -03:00
orezraeyandClaude Opus 5.5 e2c37be594 fix(libSceHttp): unescape and sweep URIs as measured on a PS5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 20:25:59 -03:00
orezraeyandClaude Opus 5.5 a8c5db1be9 fix(libSceHttp): bound and return sceHttpParseResponseHeader's value as measured on a PS5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 20:19:58 -03:00
Federico Marras 849bc36362 feat(libSceHttp): report a context's pool in sceHttpGetMemoryPoolStats 2026-10-20 12:58:42 +02:00
hypermistandClaude Opus 5.5 db25758397 fix(libs): return what the firmware returns from 29 more calls it does not implement
The NetCtl ApRp calls, the SaveData debug calls, HttpDbgEnableProfile,
HttpDbgSetPrintf, PadEnableExtensionPort and VideoRecording Init, Term
and SendCommand return 0; ImeForTestFunction returns 0x80BC00FF; the Hmd
distortion work memory align and size are 0x400 and 0x20000 and
DistortionGetCompoundEyeCorrectionCommand returns 0x81110009;
AjmInstanceCodecType returns the instance id shifted right by 14.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-20 22:38:57 +13:00
Yossi Yadgar c0f8251a4b feat(libSceHttp): accept the redirect cache, private SSL and forced abort calls
Without a network these change nothing, so they check their arguments and return 0, and the debt file lists them as silent stubs.
2026-10-20 09:37:17 +03:00
Yossi Yadgar 2525578179 feat(libSceHttp): implement sceHttpGetEpoll
sceHttpSetEpoll and sceHttpUnsetEpoll now keep and clear the object's epoll and argument, which sceHttpGetEpoll returns.
2026-10-20 09:36:03 +03:00
Yossi Yadgar 32f0a809be feat(libSceHttp): implement the Accept-Encoding gzip switches
sceHttpSetDefaultAcceptEncodingGZIPEnabled sets the value templates of that context start with; sceHttpSetAcceptEncodingGZIPEnabled and sceHttpGetAcceptEncodingGZIPEnabled set and read it per object.
2026-10-20 09:35:20 +03:00
Yossi Yadgar 585e42bcab feat(libSceHttp): implement sceHttpGetNonblock and the Try variants of the nonblocking switch 2026-10-20 09:34:26 +03:00
Yossi Yadgar ac6ceb0b55 feat(libSceHttp): keep redirect options per object and implement sceHttpGetAutoRedirect
Templates, connections and requests now each keep their options, copied from the parent when they are created, so sceHttpSetAutoRedirect is no longer dropped and sceHttpGetAutoRedirect returns it.
2026-10-20 09:33:53 +03:00
Dean 23c0381313 Merge pull request #8020 from ymatrix1/feat/http-missing-exports
feat(libSceHttp): export missing firmware HTTP interfaces
2026-10-20 17:55:27 +13:00
Yuri Olive 7d9d41c3db feat(libSceHttp): export missing firmware interfaces 2026-10-19 14:55:42 -03:00
Atharv Jairath 81cd06b8bb fix(http): make URI parsing independent of host locale 2026-10-19 23:17:34 +05:30
Dean 95d08209cd Merge pull request #7779 from Antifrag/codex/http-cache-flush
fix(libSceHttp): add authentication and cookie cache flush exports
2026-10-19 23:52:45 +13:00