mirror of https://github.com/odrling/Aegisub
Set the user agent used for the update checker requests rather than leaving it as 'wxWidgets 2.x'
Originally committed to SVN as r5808.
This commit is contained in:
parent
2cbe7455bb
commit
4d2a2c618e
|
@ -347,6 +347,7 @@ void AegisubVersionCheckerThread::DoCheck()
|
|||
wxString path = base_updates_path + querystring;
|
||||
|
||||
wxHTTP http;
|
||||
http.SetHeader("User-Agent", wxString("Aegisub ") + GetAegisubLongVersionString());
|
||||
http.SetHeader("Connection", "Close");
|
||||
http.SetFlags(wxSOCKET_WAITALL|wxSOCKET_BLOCK);
|
||||
|
||||
|
|
Loading…
Reference in New Issue