* Update client cache if the client type changes on a given IP.

* Default .avi files to MIME type video/x-msvideo for better backward compatibility.
This commit is contained in:
Justin Maggard
2009-05-01 01:39:55 +00:00
parent f35e0831d1
commit ff046503bd
4 changed files with 40 additions and 18 deletions

View File

@@ -305,12 +305,12 @@ intervening space) by either an integer or the keyword "infinite". */
if( clients[n].addr.s_addr )
continue;
clients[n].addr = h->clientaddr;
clients[n].type = h->req_client;
DPRINTF(E_DEBUG, L_HTTP, "Added client [%d/%X] to cache slot %d.\n",
clients[n].type, clients[n].addr.s_addr, n);
h->req_client, clients[n].addr.s_addr, n);
break;
}
}
clients[n].type = h->req_client;
clients[n].age = time(NULL);
}
else if( n >= 0 )