forked from wolfSSL/wolfssl
Merge pull request #2130 from jrblixt/feature-WICED6_1-serverChange
examples server HTTP update needed for WICED HTTP parser.
This commit is contained in:
@@ -57,18 +57,19 @@
|
|||||||
* by the client. */
|
* by the client. */
|
||||||
|
|
||||||
static const char webServerMsg[] =
|
static const char webServerMsg[] =
|
||||||
"HTTP/1.1 200 OK\n"
|
"HTTP/1.1 200 OK\r\n"
|
||||||
"Content-Type: text/html\n"
|
"Content-Type: text/html\r\n"
|
||||||
"Connection: close\n"
|
"Connection: close\r\n"
|
||||||
"\n"
|
"Content-Length: 225\r\n"
|
||||||
"<html>\n"
|
"\r\n"
|
||||||
"<head>\n"
|
"<html>\r\n"
|
||||||
"<title>Welcome to wolfSSL!</title>\n"
|
"<head>\r\n"
|
||||||
"</head>\n"
|
"<title>Welcome to wolfSSL!</title>\r\n"
|
||||||
"<body>\n"
|
"</head>\r\n"
|
||||||
"<p>wolfSSL has successfully performed handshake!</p>\n"
|
"<body>\r\n"
|
||||||
"</body>\n"
|
"<p>wolfSSL has successfully performed handshake!</p>\r\n"
|
||||||
"</html>\n";
|
"</body>\r\n"
|
||||||
|
"</html>\r\n";
|
||||||
|
|
||||||
int runWithErrors = 0; /* Used with -x flag to run err_sys vs. print errors */
|
int runWithErrors = 0; /* Used with -x flag to run err_sys vs. print errors */
|
||||||
static int lng_index = 0;
|
static int lng_index = 0;
|
||||||
|
Reference in New Issue
Block a user