gnunet-svn
[Top][All Lists]
Advanced

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

[gnurl] 24/29: multi.h: move INITIAL_MAX_CONCURRENT_STREAMS from public


From: gnunet
Subject: [gnurl] 24/29: multi.h: move INITIAL_MAX_CONCURRENT_STREAMS from public header
Date: Fri, 10 Jan 2020 23:06:02 +0100

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 9275c2be8cd18af5afb2a6c95b18a6aeb5ee529d
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon Jan 6 13:13:33 2020 +0100

    multi.h: move INITIAL_MAX_CONCURRENT_STREAMS from public header
    
    ... to the private multihhandle.h. It is not for public use and it
    wasn't prefixed correctly anyway!
    
    Closes #4790
---
 include/curl/multi.h | 5 +----
 lib/multihandle.h    | 6 +++++-
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/include/curl/multi.h b/include/curl/multi.h
index 89f099259..04996ffca 100644
--- a/include/curl/multi.h
+++ b/include/curl/multi.h
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <address@hidden>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <address@hidden>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -461,9 +461,6 @@ typedef int (*curl_push_callback)(CURL *parent,
                                   struct curl_pushheaders *headers,
                                   void *userp);
 
-/* value for MAXIMUM CONCURRENT STREAMS upper limit */
-#define INITIAL_MAX_CONCURRENT_STREAMS ((1U << 31) - 1)
-
 #ifdef __cplusplus
 } /* end of extern "C" */
 #endif
diff --git a/lib/multihandle.h b/lib/multihandle.h
index a26fb619a..0bf09e6bb 100644
--- a/lib/multihandle.h
+++ b/lib/multihandle.h
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <address@hidden>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <address@hidden>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -71,6 +71,10 @@ typedef enum {
 #define ENABLE_WAKEUP
 #endif
 
+
+/* value for MAXIMUM CONCURRENT STREAMS upper limit */
+#define INITIAL_MAX_CONCURRENT_STREAMS ((1U << 31) - 1)
+
 /* This is the struct known as CURLM on the outside */
 struct Curl_multi {
   /* First a simple identifier to easier detect if a user mix up

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



reply via email to

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