multi_done: if multiplexed, make conn->data point to another transfer
[platform/upstream/curl.git] / lib / url.c
index a228a14..ff90739 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -1192,6 +1192,8 @@ ConnectionExists(struct Curl_easy *data,
         }
       }
 
+      DEBUGASSERT(!check->data || GOOD_EASY_HANDLE(check->data));
+
       if(!canmultiplex && check->data)
         /* this request can't be multiplexed but the checked connection is
            already in use so we skip it */