[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 182/222: http2: expire a timeout at end of stream
From: |
gnunet |
Subject: |
[gnurl] 182/222: http2: expire a timeout at end of stream |
Date: |
Thu, 07 Nov 2019 00:11:18 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 59041f052a5209a3aebb146c01b689424f9f7b04
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Oct 17 14:25:45 2019 +0200
http2: expire a timeout at end of stream
To make sure that transfer is being dealt with. Streams without
Content-Length need a final read to notice the end-of-stream state.
Reported-by: Tom van der Woerdt
Fixes #4496
---
lib/http2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/http2.c b/lib/http2.c
index b5b831b56..c0f29f83e 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -848,6 +848,7 @@ static int on_stream_close(nghttp2_session *session,
int32_t stream_id,
stream->closed = TRUE;
httpc = &conn->proto.httpc;
drain_this(data_s, httpc);
+ Curl_expire(data_s, 0, EXPIRE_RUN_NOW);
httpc->error_code = error_code;
/* remove the entry from the hash as the stream is now gone */
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 147/222: docs: added multi-event.c example, (continued)
- [gnurl] 147/222: docs: added multi-event.c example, gnunet, 2019/11/06
- [gnurl] 163/222: socketpair: fix double-close in error case, gnunet, 2019/11/06
- [gnurl] 170/222: security: silence conversion warning, gnunet, 2019/11/06
- [gnurl] 178/222: test1162: disable MSYS2's POSIX path conversion, gnunet, 2019/11/06
- [gnurl] 166/222: KNOWN_BUGS: "LDAP on Windows does authentication wrong", gnunet, 2019/11/06
- [gnurl] 171/222: smbserver: fix Python 3 compatibility, gnunet, 2019/11/06
- [gnurl] 168/222: TODO: Handle growing SFTP files, gnunet, 2019/11/06
- [gnurl] 189/222: tests: add missing proxy features, gnunet, 2019/11/06
- [gnurl] 177/222: RELEASE-NOTES: synced, gnunet, 2019/11/06
- [gnurl] 181/222: travis: Add an ARM64 build, gnunet, 2019/11/06
- [gnurl] 182/222: http2: expire a timeout at end of stream,
gnunet <=
- [gnurl] 187/222: tests: use %FILE_PWD for file:// URLs, gnunet, 2019/11/06
- [gnurl] 192/222: test1591: fix spelling of http feature, gnunet, 2019/11/06
- [gnurl] 193/222: schannel: reverse the order of certinfo insertions, gnunet, 2019/11/06
- [gnurl] 199/222: HTTP3: fix typo somehere1 > somewhere1, gnunet, 2019/11/06
- [gnurl] 188/222: RELEASE-NOTES: synced, gnunet, 2019/11/06
- [gnurl] 180/222: examples/sslbackend: fix -Wchar-subscripts warning, gnunet, 2019/11/06
- [gnurl] 197/222: RELEASE-NOTES: synced, gnunet, 2019/11/06
- [gnurl] 203/222: url: make Curl_close() NULLify the pointer too, gnunet, 2019/11/06
- [gnurl] 205/222: gtls: make gnutls_bye() not wait for response on shutdown, gnunet, 2019/11/06
- [gnurl] 207/222: mbedtls: add error message for cert validity starting in the future, gnunet, 2019/11/06