mirror of
https://github.com/curl/curl.git
synced 2026-07-24 15:17:15 +03:00
parent
f0f053fed0
commit
c124e6b3c0
10 changed files with 97 additions and 6 deletions
|
|
@ -396,6 +396,9 @@ typedef enum {
|
|||
/* This is the argument passed to the server push callback */
|
||||
CINIT(PUSHDATA, OBJECTPOINT, 15),
|
||||
|
||||
/* maximum number of concurrent streams to support on a connection */
|
||||
CINIT(MAX_CONCURRENT_STREAMS, LONG, 16),
|
||||
|
||||
CURLMOPT_LASTENTRY /* the last unused */
|
||||
} CURLMoption;
|
||||
|
||||
|
|
@ -448,6 +451,9 @@ 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue