Skip to content

Commit 2d50bdb

Browse files
committed
Add. Support cURL 7.51.0
1 parent c05112c commit 2d50bdb

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

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.50.1
10+
CURL_VER: 7.51.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
@@ -9,6 +9,9 @@ ERR_ENTRY ( COULDNT_RESOLVE_PROXY )
99
ERR_ENTRY ( COULDNT_RESOLVE_HOST )
1010
ERR_ENTRY ( COULDNT_CONNECT )
1111
ERR_ENTRY ( FTP_WEIRD_SERVER_REPLY )
12+
#if LCURL_CURL_VER_GE(7,51,0)
13+
ERR_ENTRY ( WEIRD_SERVER_REPLY )
14+
#endif
1215
ERR_ENTRY ( REMOTE_ACCESS_DENIED )
1316
#if LCURL_CURL_VER_GE(7,31,0)
1417
ERR_ENTRY ( FTP_ACCEPT_FAILED )

src/lcopteasy.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,14 @@ OPT_ENTRY( tcp_fastopen, TCP_FASTOPEN, LNG, 0, LCUR
348348
OPT_ENTRY( connect_to, CONNECT_TO, LST, 0, LCURL_DEFAULT_VALUE )
349349
#endif
350350

351+
#if LCURL_CURL_VER_GE(7,51,0)
352+
OPT_ENTRY( keep_sending_on_error, KEEP_SENDING_ON_ERROR, LNG, 0, LCURL_DEFAULT_VALUE )
353+
#endif
354+
351355
#ifdef OPT_ENTRY_IS_NULL
352356
# undef OPT_ENTRY
353357
#endif
354358

355359
#ifdef FLG_ENTRY_IS_NULL
356360
# undef FLG_ENTRY
357361
#endif
358-

0 commit comments

Comments
 (0)