gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] branch master updated: apply copyright head


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: apply copyright header
Date: Sun, 26 Feb 2017 22:46:55 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new b3a45b40 apply copyright header
b3a45b40 is described below

commit b3a45b40e034a077f2a31b141223580218ee4fdd
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Feb 26 22:46:24 2017 +0100

    apply copyright header
---
 src/examples/timeout.c | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/src/examples/timeout.c b/src/examples/timeout.c
index ef18c0ee..6a9a1e3e 100644
--- a/src/examples/timeout.c
+++ b/src/examples/timeout.c
@@ -1,3 +1,28 @@
+/*
+     This file is part of libmicrohttpd
+     Copyright (C) 2016, 2017 Christian Grothoff,
+     Silvio Clecio (silvioprog), Karlson2k (Evgeny Grin)
+
+     This library is free software; you can redistribute it and/or
+     modify it under the terms of the GNU Lesser General Public
+     License as published by the Free Software Foundation; either
+     version 2.1 of the License, or (at your option) any later version.
+
+     This library is distributed in the hope that it will be useful,
+     but WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+     Lesser General Public License for more details.
+
+     You should have received a copy of the GNU Lesser General Public
+     License along with this library; if not, write to the Free Software
+     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 
 USA
+*/
+/**
+ * @file timeout.c
+ * @brief example for how to use libmicrohttpd request timeout
+ * @author Christian Grothoff, Silvio Clecio (silvioprog), Karlson2k (Evgeny 
Grin)
+ */
+
 #include <microhttpd.h>
 #include <stdio.h>
 #include <string.h>
@@ -42,6 +67,7 @@ main (int argc,
                              PORT,
                              NULL, NULL,
                              &answer_to_connection, NULL,
+                             /* 3 seconds */
                              MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 3,
                              MHD_OPTION_END);
   if (NULL == daemon)

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]