gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 97/178: http2: clear the "drain counter" when a str


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 97/178: http2: clear the "drain counter" when a stream is closed
Date: Wed, 23 May 2018 12:25:32 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 7645c6bd5ea6c337414a264b37f50995b0f9e7d2
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Apr 19 20:01:52 2018 +0200

    http2: clear the "drain counter" when a stream is closed
    
    This fixes the notorious "httpc->drain_total >= data->state.drain"
    assert.
    
    Reported-by: Anders Bakken
    
    Fixes #1680
    Closes #2509
---
 lib/http2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/http2.c b/lib/http2.c
index 077c03e6f..6ac69b9b5 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -162,6 +162,7 @@ static CURLcode http2_disconnect(struct connectdata *conn,
   nghttp2_session_del(c->h2);
   Curl_safefree(c->inbuf);
   http2_stream_free(conn->data->req.protop);
+  conn->data->state.drain = 0;
 
   H2BUGF(infof(conn->data, "HTTP/2 DISCONNECT done\n"));
 

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



reply via email to

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