* Fix accidental double-scan from last checkin.

* Add XBox360 compatibility.
This commit is contained in:
Justin Maggard
2009-02-10 07:41:50 +00:00
parent 42be3989bf
commit 0d3505656d
8 changed files with 81 additions and 20 deletions

View File

@ -184,6 +184,16 @@ intervening space) by either an integer or the keyword "infinite". */
{
h->reqflags |= FLAG_HOST;
}
else if(strncasecmp(line, "User-Agent", 10)==0)
{
p = colon + 1;
while(isspace(*p))
p++;
if(strncasecmp(p, "Xbox/", 5)==0)
{
h->req_client = EXbox;
}
}
else if(strncasecmp(line, "Transfer-Encoding", 17)==0)
{
p = colon + 1;