Remove commented old code from webserver.c.
(cherry picked from commit 2b30575ca5
)
This commit is contained in:
parent
6c64b7eeb5
commit
02d0a48609
@ -1428,27 +1428,6 @@ static int http_RecvPostMessage(
|
||||
fclose(Fp);
|
||||
}
|
||||
|
||||
/*
|
||||
while(TotalByteReceived < Instr->RecvWriteSize &&
|
||||
(NumReceived = sock_read(info,Buf, Data_Buf_Size,&Timeout) ) > 0 )
|
||||
{
|
||||
TotalByteReceived = TotalByteReceived + NumReceived;
|
||||
Num_Write = virtualDirCallback.write(Fp, Buf, NumReceived);
|
||||
if (ferror(Fp))
|
||||
{
|
||||
virtualDirCallback.close(Fp);
|
||||
return HTTP_INTERNAL_SERVER_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
if(TotalByteReceived < Instr->RecvWriteSize)
|
||||
{
|
||||
return HTTP_INTERNAL_SERVER_ERROR;
|
||||
}
|
||||
|
||||
virtualDirCallback.close(Fp);
|
||||
}
|
||||
*/
|
||||
return HTTP_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user