Skip to content

Commit b2e9474

Browse files
committed
Fix. reset lcurl_easy_t::multi pointer when info_read function remove easy handle.
1 parent 9a1270f commit b2e9474

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lcmulti.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ static int lcurl_multi_info_read(lua_State *L){
214214
if(remove){
215215
//! @fixme We ignore any errors
216216
if(CURLM_OK == curl_multi_remove_handle(p->curl, e->curl)){
217+
e->multi = NULL;
217218
lua_pushnil(L);
218219
lua_rawsetp(L, -3, e->curl);
219220
}

0 commit comments

Comments
 (0)