summaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-05-11 23:17:36 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-05-18 09:33:47 +0200
commit5871affc7a94936f11918b007cd2f09f5d26d7bf (patch)
tree004bb734c041fb34ea5100cc82324c5d79927866 /lib/url.c
parent3e8a5d88a5fe99a15a2c89aca8aca30d36243be9 (diff)
downloadcurl-5871affc7a94936f11918b007cd2f09f5d26d7bf.tar.gz
http2: remove the stream from the hash in stream_close callback
... and suddenly things work much better!
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/url.c b/lib/url.c
index 483178355..7eb1c4778 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2886,16 +2886,6 @@ void Curl_getoff_all_pipelines(struct SessionHandle *data,
conn->readchannel_inuse = FALSE;
if(Curl_removeHandleFromPipeline(data, conn->send_pipe) && send_head)
conn->writechannel_inuse = FALSE;
-
- if(conn->httpversion == 20) {
- /* delete this handle from the stream hash */
- struct HTTP *stream = data->req.protop;
- if(stream && Curl_hash_delete(&conn->proto.httpc.streamsh,
- &stream->stream_id,
- sizeof(stream->stream_id))) {
- infof(conn->data, "Failed to remove handle from h2 stream hash!!\n");
- }
- }
}
static void signalPipeClose(struct curl_llist *pipeline, bool pipe_broke)