Changes

660 bytes added ,  19:21, 2 November 2015
Line 509: Line 509:     
There is a cache for this in savedata. The request is only done when at least 24-hours have passed since the last time the request was done(see the below savedata section).
 
There is a cache for this in savedata. The request is only done when at least 24-hours have passed since the last time the request was done(see the below savedata section).
  −
The URL is requested using [[HTTP_Services|HTTPC]].
      
It is still possible to guard against this update by blocking the previous URLs using a proxy.  
 
It is still possible to guard against this update by blocking the previous URLs using a proxy.  
 
It is not possible to remove the update message by entering the [[Recovery Mode]].
 
It is not possible to remove the update message by entering the [[Recovery Mode]].
 +
 +
=== Page request ===
 +
The browser(with SKATER at least) does the following with [[HTTP_Services|HTTPC]] for requesting the above page:
 +
* Initializes the HTTP context and uses [[HTTPC:InitializeConnectionSession]] + [[HTTPC:SetProxyDefault]].
 +
* Uses [[HTTP_Services|HTTPC]] command 0x250080 twice with cmd[1]=contexthandle: first time cmd[2]=0x3, second time cmd[2]=0x6.
 +
* Then [[HTTPC:AddTrustedRootCA]] is used 48 times to setup 48 trusted root CAs.
 +
* Then [[HTTPC:BeginRequest]] is used.
 +
* Then [[HTTPC:ReceiveDataTimeout]] is used, the recv-size seems to be fixed to 0x20.
 +
* Then [[HTTPC:GetResponseStatusCodeTimeout]] is used.
 +
* Then [[HTTPC:GetDownloadSizeState]] is used.
 +
* Then the HTTP context is closed.
    
== v9.9 dummy web-browser ==
 
== v9.9 dummy web-browser ==