3030# define LCURL_DEFAULT_VALUE 0
3131#endif
3232
33+ #ifdef TCP_FASTOPEN
34+ # define LCURL__TCP_FASTOPEN TCP_FASTOPEN
35+ # undef TCP_FASTOPEN
36+ #endif
37+
3338OPT_ENTRY ( verbose , VERBOSE , LNG , 0 , LCURL_DEFAULT_VALUE )
3439OPT_ENTRY ( header , HEADER , LNG , 0 , LCURL_DEFAULT_VALUE )
3540OPT_ENTRY ( noprogress , NOPROGRESS , LNG , 0 , 1 )
@@ -342,11 +347,18 @@ OPT_ENTRY( stream_weight, STREAM_WEIGHT, LNG, 0, LCUR
342347#if LCURL_CURL_VER_GE (7 ,48 ,0 )
343348OPT_ENTRY ( tftp_no_options , TFTP_NO_OPTIONS , LNG , 0 , LCURL_DEFAULT_VALUE )
344349#endif
345-
346350#if LCURL_CURL_VER_GE (7 ,49 ,0 )
347351OPT_ENTRY ( tcp_fastopen , TCP_FASTOPEN , LNG , 0 , LCURL_DEFAULT_VALUE )
348352OPT_ENTRY ( connect_to , CONNECT_TO , LST , 0 , LCURL_DEFAULT_VALUE )
349353#endif
354+ #if LCURL_CURL_VER_GE (7 ,51 ,0 )
355+ OPT_ENTRY ( keep_sending_on_error , KEEP_SENDING_ON_ERROR , LNG , 0 , LCURL_DEFAULT_VALUE )
356+ #endif
357+
358+ #ifdef LCURL__TCP_FASTOPEN
359+ # define TCP_FASTOPEN LCURL__TCP_FASTOPEN
360+ # undef LCURL__TCP_FASTOPEN
361+ #endif
350362
351363#ifdef OPT_ENTRY_IS_NULL
352364# undef OPT_ENTRY
@@ -355,4 +367,3 @@ OPT_ENTRY( connect_to, CONNECT_TO, LST, 0, LCUR
355367#ifdef FLG_ENTRY_IS_NULL
356368# undef FLG_ENTRY
357369#endif
358-
0 commit comments