]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
multi.h: move INITIAL_MAX_CONCURRENT_STREAMS from public header
authorDaniel Stenberg <daniel@haxx.se>
Mon, 6 Jan 2020 12:13:33 +0000 (13:13 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 6 Jan 2020 18:53:38 +0000 (19:53 +0100)
... to the private multihhandle.h. It is not for public use and it
wasn't prefixed correctly anyway!

Closes #4790

include/curl/multi.h
lib/multihandle.h

index 89f09925966adfe501af5de10216d0dd78c5edab..04996ffcaf4245e87be9d58f13bf5c5ccb4d2c37 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, 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
index a26fb619a61f509bc6806599e019d6729f7637b8..0bf09e6bb55c478d5b4ee8364e67a9537ae8935b 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, 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