Added comment

This commit is contained in:
Sergey Lyubka 2013-12-26 10:20:02 +00:00
parent 83793aadde
commit f9f212442c

View File

@ -1,6 +1,8 @@
#include <stdio.h> #include <stdio.h>
#include "mongoose.h" #include "mongoose.h"
// Start a browser and hit refresh couple of times. The replies will
// come from both server instances.
static int request_handler(struct mg_connection *conn) { static int request_handler(struct mg_connection *conn) {
mg_printf(conn, "HTTP/1.0 200 OK\r\nContent-Type: text/plain\r\n\r\n" mg_printf(conn, "HTTP/1.0 200 OK\r\nContent-Type: text/plain\r\n\r\n"
"This is a reply from server instance # %s", "This is a reply from server instance # %s",