From 708af6d9c59d968360b1beb646e44b9800288d3a Mon Sep 17 00:00:00 2001 From: Sergey Lyubka <valenok@gmail.com> Date: Tue, 24 Jun 2014 17:09:00 +0100 Subject: [PATCH] more comments in big_upload.c --- examples/big_upload.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/big_upload.c b/examples/big_upload.c index b9e28573f..af41226b0 100644 --- a/examples/big_upload.c +++ b/examples/big_upload.c @@ -29,7 +29,7 @@ static int handle_request(struct mg_connection *conn) { conn->connection_param = p; mg_send_header(conn, "Content-Type", "text/html"); } - return MG_MORE; + return MG_MORE; // Tell mongoose to keep this connection open } else { mg_printf_data(conn, "%s", "<html><body>Upload example." @@ -38,7 +38,7 @@ static int handle_request(struct mg_connection *conn) { "<input type=\"file\" name=\"file\" /> <br/>" "<input type=\"submit\" value=\"Upload\" />" "</form></body></html>"); - return MG_TRUE; + return MG_TRUE; // Tell mongoose to close this connection } } @@ -59,10 +59,10 @@ static int handle_poll(struct mg_connection *conn) { fclose(p->fp); free(p); conn->connection_param = NULL; - return MG_TRUE; + return MG_TRUE; // Tell mongoose to close this connection } } - return MG_FALSE; + return MG_FALSE; // Tell mongoose to keep this connection open } static int ev_handler(struct mg_connection *conn, enum mg_event ev) { -- GitLab