diff --git a/examples/server/server.c b/examples/server/server.c index 7f45a2400..dc1b30ae6 100644 --- a/examples/server/server.c +++ b/examples/server/server.c @@ -57,18 +57,19 @@ * by the client. */ static const char webServerMsg[] = - "HTTP/1.1 200 OK\n" - "Content-Type: text/html\n" - "Connection: close\n" - "\n" - "\n" - "\n" - "Welcome to wolfSSL!\n" - "\n" - "\n" - "

wolfSSL has successfully performed handshake!

\n" - "\n" - "\n"; + "HTTP/1.1 200 OK\r\n" + "Content-Type: text/html\r\n" + "Connection: close\r\n" + "Content-Length: 225\r\n" + "\r\n" + "\r\n" + "\r\n" + "Welcome to wolfSSL!\r\n" + "\r\n" + "\r\n" + "

wolfSSL has successfully performed handshake!

\r\n" + "\r\n" + "\r\n"; int runWithErrors = 0; /* Used with -x flag to run err_sys vs. print errors */ static int lng_index = 0;