gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r28174 - libmicrohttpd/src/spdy2http


From: gnunet
Subject: [GNUnet-SVN] r28174 - libmicrohttpd/src/spdy2http
Date: Thu, 18 Jul 2013 18:52:05 +0200

Author: andreyu
Date: 2013-07-18 18:52:05 +0200 (Thu, 18 Jul 2013)
New Revision: 28174

Modified:
   libmicrohttpd/src/spdy2http/proxy.c
Log:
spdy proxy: finish on curl error

Modified: libmicrohttpd/src/spdy2http/proxy.c
===================================================================
--- libmicrohttpd/src/spdy2http/proxy.c 2013-07-18 15:38:15 UTC (rev 28173)
+++ libmicrohttpd/src/spdy2http/proxy.c 2013-07-18 16:52:05 UTC (rev 28174)
@@ -717,15 +717,11 @@
   long timeout_curl = -1;
        struct timeval timeout;
        int ret;
-       //int ret2;
        int ret_curl;
        int ret_spdy;
        fd_set rs;
        fd_set ws;
        fd_set es;
-       //fd_set curl_rs;
-       //fd_set curl_ws;
-       //fd_set curl_es;
        int maxfd = -1;
        int maxfd_curl = -1;
        struct SPDY_Daemon *daemon;
@@ -906,8 +902,10 @@
         }
         else
         {
-          //TODO handle error
-          PRINT_INFO("bad curl result");
+          PRINT_VERBOSE2("bad curl result for '%s'", proxy->url);
+          proxy->done = true;
+          call_spdy_run = true;
+          //TODO spdy should be notified to send RST_STREAM
         }
       }
       else PRINT_INFO("shouldn't happen");




reply via email to

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