Skip to content

Commit 3375578

Browse files
committed
Add. Support curl 7.49.0
1 parent cf41aca commit 3375578

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ shallow_clone: true
77

88
environment:
99
LUAROCKS_VER: 2.2.1
10-
CURL_VER: 7.48.0
10+
CURL_VER: 7.49.0
1111

1212
matrix:
1313
- LUA_VER: 5.1.5

src/lcerr_easy.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,6 @@ ERR_ENTRY ( SSL_PINNEDPUBKEYNOTMATCH )
118118
#if LCURL_CURL_VER_GE(7,41,0)
119119
ERR_ENTRY ( SSL_INVALIDCERTSTATUS )
120120
#endif
121+
#if LCURL_CURL_VER_GE(7,49,0)
122+
ERR_ENTRY ( HTTP2_STREAM )
123+
#endif

src/lcopteasy.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,9 @@ FLG_ENTRY( HTTP_VERSION_2 )
265265
#if LCURL_CURL_VER_GE(7,47,0)
266266
FLG_ENTRY( HTTP_VERSION_2TLS )
267267
#endif
268+
#if LCURL_CURL_VER_GE(7,49,0)
269+
FLG_ENTRY( HTTP_VERSION_2_PRIOR_KNOWLEDGE )
270+
#endif
268271

269272
FLG_ENTRY( READFUNC_PAUSE ) /*7.18.0*/
270273
FLG_ENTRY( WRITEFUNC_PAUSE ) /*7.18.0*/
@@ -312,6 +315,11 @@ OPT_ENTRY( stream_weight, STREAM_WEIGHT, LNG, 0, LCUR
312315
OPT_ENTRY( tftp_no_options, TFTP_NO_OPTIONS, LNG, 0, LCURL_DEFAULT_VALUE )
313316
#endif
314317

318+
#if LCURL_CURL_VER_GE(7,49,0)
319+
OPT_ENTRY( tcp_fastopen, TCP_FASTOPEN, LNG, 0, LCURL_DEFAULT_VALUE )
320+
OPT_ENTRY( connect_to, CONNECT_TO, LST, 0, LCURL_DEFAULT_VALUE )
321+
#endif
322+
315323
#ifdef OPT_ENTRY_IS_NULL
316324
# undef OPT_ENTRY
317325
#endif

0 commit comments

Comments
 (0)