mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-06 08:45:36 +00:00
small windows and sim fixes
This commit is contained in:
@ -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!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user