gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r5506 - GNUnet/src/transports


From: gnunet
Subject: [GNUnet-SVN] r5506 - GNUnet/src/transports
Date: Wed, 15 Aug 2007 03:54:36 -0600 (MDT)

Author: grothoff
Date: 2007-08-15 03:54:35 -0600 (Wed, 15 Aug 2007)
New Revision: 5506

Modified:
   GNUnet/src/transports/http.c
Log:
fix

Modified: GNUnet/src/transports/http.c
===================================================================
--- GNUnet/src/transports/http.c        2007-08-15 09:31:44 UTC (rev 5505)
+++ GNUnet/src/transports/http.c        2007-08-15 09:54:35 UTC (rev 5506)
@@ -599,7 +599,7 @@
  */
 static int
 accessHandlerCallback (void *cls,
-                       struct MHD_Session *session,
+                       struct MHD_Connection *session,
                        const char *url,
                        const char *method,
                        const char *upload_data,
@@ -660,6 +660,7 @@
     {
       /* handle get */
       response = MHD_create_response_from_callback (-1,
+                                                   64 * 1024,
                                                     contentReaderCallback,
                                                     httpSession,
                                                     contentReaderFreeCallback);
@@ -1183,7 +1184,7 @@
   port = getGNUnetHTTPPort ();
   if ((mhd_daemon == NULL) && (port != 0))
     {
-      mhd_daemon = MHD_start_daemon (MHD_USE_IPv4,
+      mhd_daemon = MHD_start_daemon (MHD_NO_FLAG,
                                      port,
                                      &acceptPolicyCallback,
                                      NULL, &accessHandlerCallback, NULL,





reply via email to

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