projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dd79bc
)
http2: don't call stream-close on already closed streams
96/221996/1
accepted/tizen/base/20200110.070424
submit/tizen_base/20200109.040447
author
Seonah Moon
<seonah1.moon@samsung.com>
Thu, 9 Jan 2020 03:48:56 +0000
(12:48 +0900)
committer
Seonah Moon
<seonah1.moon@samsung.com>
Thu, 9 Jan 2020 03:49:00 +0000
(12:49 +0900)
- bug: https://github.com/curl/curl/issues/4043
- fix: https://github.com/curl/curl/commit/
c0c40ab075cdf86424dfe346a70a31b08dc651da
Change-Id: I90808233da69e8fc3d03189f8514bca1f73d90ee
lib/http2.c
patch
|
blob
|
history
diff --git
a/lib/http2.c
b/lib/http2.c
index
83e88ff
..
40af0ff
100644
(file)
--- a/
lib/http2.c
+++ b/
lib/http2.c
@@
-1720,11
+1720,11
@@
static ssize_t http2_recv(struct connectdata *conn, int sockindex,
return retlen;
}
- /* If stream is closed, return 0 to signal the http routine to close
+ /* If
this
stream is closed, return 0 to signal the http routine to close
the connection */
- if(stream->closed)
{
- return
http2_handle_stream_close(conn, data, stream, err)
;
- }
+ if(stream->closed)
+ return
0
;
+
*err = CURLE_AGAIN;
H2BUGF(infof(data, "http2_recv returns AGAIN for stream %u\n",
stream->stream_id));