Merge pull request #2761 from JacobBarthelmeh/Testing

add close on pre to echoserver example
This commit is contained in:
John Safranek
2020-01-28 09:29:29 -08:00
committed by GitHub

View File

@@ -383,7 +383,7 @@ THREAD_RETURN CYASSL_THREAD echoserver_test(void* args)
const char resp[] =
"HTTP/1.0 200 ok\r\nContent-type: text/html\r\n\r\n"
"<html><body BGCOLOR=\"#ffffff\"><pre>\r\n"
"greetings from wolfSSL\r\n</body></html>\r\n\r\n";
"greetings from wolfSSL\r\n</pre></body></html>\r\n\r\n";
echoSz = (int)strlen(resp) + 1;
if (echoSz > (int)sizeof(command)) {