mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-25 03:29:00 +08:00
Added comment
This commit is contained in:
parent
83793aadde
commit
f9f212442c
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user