Skip to content

Curl Connection remaining open. #128

@martin-neumann-gurus

Description

@martin-neumann-gurus

In line 1955 you are doing a curl_init, but you do not close the connection. I think you should do a curl_close($ch); on line 1986. Also, if the connection fails it will stop the entire script. It might be interesting to implement a retry for a set number of times so that it does not stop the importing of the entire set in the middle of the thing. I adapted the routine for myself in order to do 10 retries.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions