Remove commented old code from webserver.c.

(cherry picked from commit 2b30575ca5)
This commit is contained in:
Marcelo Roberto Jimenez 2010-11-11 21:31:53 -02:00
parent 6c64b7eeb5
commit 02d0a48609

View File

@ -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;
}