HTTP Services: Difference between revisions
→HTTP service "http:C": Fix wrong command Header |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 101: | Line 101: | ||
| [[1.0.0-0]] | | [[1.0.0-0]] | ||
| | | | ||
| AddPostDataBinary | | [[HTTPC:AddPostDataBinary|AddPostDataBinary]] | ||
|- | |- | ||
| 0x00140082 | | 0x00140082 | ||
Line 296: | Line 296: | ||
| [[8.0.0-18|8.0.0-X]] | | [[8.0.0-18|8.0.0-X]] | ||
| | | | ||
| | |SetKeepAlive? | ||
|- | |- | ||
| 0x003B0082 | | 0x003B0082 | ||
| [[9.0.0-20|9.0.0-X]] | | [[9.0.0-20|9.0.0-X]] | ||
| | | | ||
| | |SetCrl | ||
|- | |- | ||
| 0x003C0080 | | 0x003C0080 | ||
| [[9.0.0-20|9.0.0-X]] | | [[9.0.0-20|9.0.0-X]] | ||
| | | | ||
| | |SetInternalCrl | ||
|- | |- | ||
| 0x003D0080 | | 0x003D0080 | ||
| [[9.0.0-20|9.0.0-X]] | | [[9.0.0-20|9.0.0-X]] | ||
| | | | ||
| | |SetCrlStore | ||
|- | |- | ||
| 0x003E0000 | | 0x003E0000 | ||
| [[9.0.0-20|9.0.0-X]] | | [[9.0.0-20|9.0.0-X]] | ||
| | | | ||
| | |CreateCrlStore | ||
|- | |- | ||
| 0x003F0040 | | 0x003F0040 | ||
| [[9.0.0-20|9.0.0-X]] | | [[9.0.0-20|9.0.0-X]] | ||
| | | | ||
| | |DestroyCrlStore | ||
|- | |- | ||
| 0x00400082 | | 0x00400082 | ||
| [[9.0.0-20|9.0.0-X]] | | [[9.0.0-20|9.0.0-X]] | ||
| | | | ||
| | |AddCrlToCrlStore | ||
|- | |- | ||
| 0x00410080 | | 0x00410080 | ||
| [[9.0.0-20|9.0.0-X]] | | [[9.0.0-20|9.0.0-X]] | ||
| | | | ||
| | |AddInternalCrl | ||
|- | |- | ||
| | | 0x00420040 | ||
| [[9.0.0-20|9.0.0-X]] | | [[9.0.0-20|9.0.0-X]] | ||
| | | | ||
| | |RemoveCrlFromCrlStore | ||
|} | |} | ||
Line 347: | Line 347: | ||
=ClientCert Contexts= | =ClientCert Contexts= | ||
These are basically the same as RootCertChains except for TLS client cert+privk. The maximum number of ClientCert-contexts that can exist for an user-process, is only | These are basically the same as RootCertChains except for TLS client cert+privk. The maximum number of ClientCert-contexts that can exist for an user-process, is only 2. | ||
= Error codes = | = Error codes = | ||
Line 359: | Line 359: | ||
|- | |- | ||
| 0xd8a0a046 | | 0xd8a0a046 | ||
| This is returned by [[HTTPC:Initialize]] when no network connection is available(or at least when wifi is disabled via Home Menu on New3DS). | | This is returned by [[HTTPC:Initialize]] when no network connection is available(or at least when wifi is disabled via Home Menu on New3DS). Seems to be caused by DNS lookup failure([[SOCU:getaddrinfo]] returning an error). | ||
|- | |||
| 0xd8a0a049 | |||
| Seems to be caused by a socket connect() timeout error? | |||
|- | |- | ||
| 0xd8a0a066 | | 0xd8a0a066 | ||
| This indicates that the context handle is wrong. | | This indicates that the context handle is wrong. | ||
|- | |||
| 0xd820a069 | |||
| This is returned when the call times out (with any call with a timeout arg) | |||
|} | |} |