URL
https://opencores.org/ocsvn/plasma/plasma/trunk
[/] [plasma/] [trunk/] [kernel/] [http.c] - Diff between revs 416 and 430
Show entire file |
Details |
Blame |
View Log
Rev 416 |
Rev 430 |
Line 78... |
Line 78... |
if(socket->funcPtr != HttpServer && socket->funcPtr)
|
if(socket->funcPtr != HttpServer && socket->funcPtr)
|
{
|
{
|
socket->funcPtr(socket);
|
socket->funcPtr(socket);
|
return;
|
return;
|
}
|
}
|
|
socket->dontFlush = 2;
|
bytes = IPRead(socket, buf, sizeof(buf)-1);
|
bytes = IPRead(socket, buf, sizeof(buf)-1);
|
if(bytes)
|
if(bytes)
|
{
|
{
|
buf[bytes] = 0;
|
buf[bytes] = 0;
|
if(strncmp((char*)buf, "GET /", 5) == 0)
|
if(strncmp((char*)buf, "GET /", 5) == 0)
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.