Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - unknown

#1
Starcraft II Beta / Client Update Protocol
February 28, 2010, 08:07:25 AM
Communication is done over HTTP 1.1
Client (StarCraft II.exe) sends a GET request from port 3622 to:

dist.blizzard.com.edgesuite.net/sc2patch/update/B14133B/sc2-0.3.0.14093-0.4.0.14133-x86-Win-enUS-game-component-dl

UserAgent is "Blizzard Web Client".

Apache server responds with code 200 (OK) and binary data of the file that needs to be updated.

Next, client requests the patch notes from:
www.starcraft2.com/launcher/patch-notes.htm

After the patching process has finished, client notifies the server by sending a POST request to:
us-beta.patch.battle.net:1120

with the following XML data:

<version program="S2">
  <record program="SC2" component="Win" version="14133" />
  <record program="SC2" component="enUS" version="14133" />
  <record program="Bnet" component="base" version="3832" />
  <record program="Bnet" component="Win" version="17577" />
  <record program="Tool" component="Win" version="1406" />
</version>


Server replies with code 204 (No Content) and closes the connection.