1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-22 14:30:54 +00:00

update libogg, libvorbis, minihttp + enable /MP for vs2008 debug builds.

This commit is contained in:
fgenesis 2017-01-13 13:06:31 +01:00
parent 6f4474df36
commit bb7cb7df71
849 changed files with 150371 additions and 75476 deletions

View file

@ -154,9 +154,10 @@ void ModDL::GetModlist(const std::string& url, bool allowChaining, bool first)
}
else
{
std::string host, dummy_file;
std::string host, dummy_file, dummy_protocol;
int dummy_port;
minihttp::SplitURI(url, host, dummy_file, dummy_port);
bool dummy_useSSL;
minihttp::SplitURI(url, dummy_protocol, host, dummy_file, dummy_port, dummy_useSSL);
stringToLower(host);
if(knownServers.find(host) != knownServers.end())
{

View file

@ -87,7 +87,7 @@ protected:
notifyRequests.push(RequestDataHolder(data));
}
virtual void _OnRecv(char *buf, unsigned int size)
virtual void _OnRecv(void *buf, unsigned int size)
{
if(!size)
return;
@ -196,7 +196,7 @@ static HttpDumpSocket *th_CreateSocket()
static bool th_DoSendRequest(RequestData *rq)
{
Request get;
SplitURI(rq->url, get.host, get.resource, get.port);
SplitURI(rq->url, get.protocol, get.host, get.resource, get.port, get.useSSL);
if(get.port < 0)
get.port = 80;
@ -206,7 +206,7 @@ static bool th_DoSendRequest(RequestData *rq)
HttpDumpSocket *sock = th_CreateSocket();
get.user = rq;
return sock->SendGet(get, false);
return sock->SendRequest(get, false);
}
static int _NetworkWorkerThread(void *)