small windows and sim fixes

This commit is contained in:
openshwprojects
2022-12-12 16:35:30 +01:00
parent 35cd7440b5
commit 547ccc2e7f
11 changed files with 43 additions and 18 deletions

View File

@ -133,7 +133,7 @@ void HTTPServer_RunQuickTick() {
request.replymaxlen = DEFAULT_BUFLEN;
printf("HTTP Server for Windows: Bytes received: %d \n", iResult);
//printf("HTTP Server for Windows: Bytes received: %d \n", iResult);
len = HTTP_ProcessPacket(&request);
if(len > 0) {
@ -180,7 +180,7 @@ void HTTPServer_RunQuickTick() {
break;
}
long delta = timeGetTime() - firstAttempt;
if (delta > 100) {
if (delta > 2) {
printf("HTTP server would freeze to long!\n");
break; // too long freeze!