Skip to content

Commit 08c15d9

Browse files
committed
Merge branch 'master' of https://github.com/moteus/lua-lcurl
2 parents 09cd9c8 + ab81564 commit 08c15d9

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

src/lcopteasy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ OPT_ENTRY( sslkey, SSLKEY, STR, LCURL_STORE_ST
228228
OPT_ENTRY( sslkeytype, SSLKEYTYPE, STR, LCURL_STORE_STRING, "PEM" )
229229
OPT_ENTRY( sslversion, SSLVERSION, LNG, 0, CURL_SSLVERSION_DEFAULT )
230230
OPT_ENTRY( ssl_cipher_list, SSL_CIPHER_LIST, STR, LCURL_STORE_STRING, LCURL_DEFAULT_VALUE )
231-
#if LCURL_CURL_VER_GE(7,33,0)
231+
#if LCURL_CURL_VER_GE(7,36,0)
232232
OPT_ENTRY( ssl_enable_alpn, SSL_ENABLE_ALPN, LNG, 0, 1 )
233233
OPT_ENTRY( ssl_enable_npn, SSL_ENABLE_NPN, LNG, 0, 1 )
234234
#endif

test/test_easy.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,15 @@ function test_abort_06()
555555
end
556556

557557
function test_pause()
558+
559+
-- Note.
560+
-- OS version : Linux Mint 17 (x86_64)
561+
-- cURL version : libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
562+
-- version_info("host"): x86_64-pc-linux-gnu
563+
--
564+
-- c:perform() returns curl.E_READ_ERROR after readfunction return curl.READFUNC_PAUSE
565+
--
566+
558567
local counter = 0
559568
assert_equal(c, c:setopt_readfunction(function()
560569
if counter == 0 then

0 commit comments

Comments
 (0)