[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 180/220: ngtcp2: set flow control window to stream
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 180/220: ngtcp2: set flow control window to stream buffer size |
Date: |
Thu, 12 Sep 2019 17:29:00 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 0690b3330cee7f7d9469300d2c16c7a6b850281a
Author: Daniel Stenberg <address@hidden>
AuthorDate: Wed Aug 28 12:19:42 2019 +0200
ngtcp2: set flow control window to stream buffer size
Closes #4274
---
lib/vquic/ngtcp2.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c
index 9fa04b4c7..d616667d6 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -127,7 +127,8 @@ static int setup_initial_crypto_context(struct quicsocket
*qs)
return 0;
}
-static void quic_settings(ngtcp2_settings *s)
+static void quic_settings(ngtcp2_settings *s,
+ uint64_t stream_buffer_size)
{
ngtcp2_settings_default(s);
#ifdef DEBUG_NGTCP2
@@ -136,7 +137,7 @@ static void quic_settings(ngtcp2_settings *s)
s->log_printf = NULL;
#endif
s->initial_ts = timestamp();
- s->max_stream_data_bidi_local = QUIC_MAX_STREAMS;
+ s->max_stream_data_bidi_local = stream_buffer_size;
s->max_stream_data_bidi_remote = QUIC_MAX_STREAMS;
s->max_stream_data_uni = QUIC_MAX_STREAMS;
s->max_data = QUIC_MAX_DATA;
@@ -703,7 +704,7 @@ CURLcode Curl_quic_connect(struct connectdata *conn,
if(result)
return result;
- quic_settings(&qs->settings);
+ quic_settings(&qs->settings, data->set.buffer_size);
qs->local_addrlen = sizeof(qs->local_addr);
rv = getsockname(sockfd, (struct sockaddr *)&qs->local_addr,
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [gnurl] 158/220: travis: bump to using nghttp2 version 1.39.2, (continued)
- [GNUnet-SVN] [gnurl] 158/220: travis: bump to using nghttp2 version 1.39.2, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 178/220: CURLINFO docs: mention that in redirects times are added, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 190/220: CMake: remove needless newlines at end of gss variables, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 188/220: CMake: use platform dependent name for dlopen() library, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 191/220: Curl_addr2string: take an addrlen argument too, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 192/220: THANKS: remove duplicate, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 157/220: docs/examples/curlx: fix errors, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 161/220: ngtcp2: accept upload via callback, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 169/220: quiche: send the HTTP body correctly on callback uploads, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 186/220: quiche: decrease available buffer size, don't assign it!, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 180/220: ngtcp2: set flow control window to stream buffer size,
gnunet <=
- [GNUnet-SVN] [gnurl] 183/220: plan9: fix installation instructions, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 184/220: curl: fix include conditions, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 211/220: urlapi: one colon is enough for the strspn() input (typo), gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 197/220: urldata: avoid 'generic', use dedicated pointers, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 215/220: gitignore: add sig files., gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 198/220: netrc: free 'home' on error, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 213/220: THANKS: from the 7.66.0 release, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 200/220: KNOWN_BUGS/TODO: cleanup and remove outdated issues, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 206/220: travis: disable ngtcp2 builds (again), gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 193/220: ROADMAP: updated after recent user poll, gnunet, 2019/09/12