cURL / Mailing Lists / curl-library / Single Mail


Re: Using fopensocket instead of direct socket call

From: Daniel Stenberg <>
Date: Sun, 4 Dec 2011 23:12:50 +0100 (CET)

On Fri, 2 Dec 2011, Gokhan Sengun wrote:

> in function ftp_state_use_port(), direct call to socket() is used. However
> upon closing the socket fclosesocket function is used. It looks to me (if
> not missing something), it should check whether fopensocket is set and call
> this function if happens to be so.

Here's my two new test cases to verify that open/close socket callback are
paired up properly - test 596 currently fails due to this mentioned bug. I'm
slowly working on a fix.


List admin:

Received on 2011-12-04