Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

Update ykval-synclib.php #49

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

libantema
Copy link

@libantema libantema commented Jun 4, 2018

According to https://secure.php.net/manual/en/function.curl-multi-info-read.php, "The data the returned resource points to will not survive calling curl_multi_remove_handle()." Therefore, it is better to call curl_multi_remove_handle() after we're finished with the handle's related info data returned by curl_multi_info_read(). Not doing so will make the info data unreadable. This could lead to logging when re-syncing that makes it appear as though syncing is not successful when in reality it is working just fine.

According to https://secure.php.net/manual/en/function.curl-multi-info-read.php, "The data the returned resource points to will not survive calling curl_multi_remove_handle()." Therefore, it is better to call curl_multi_remove_handle() after we're finished with the handle and its related info data returned from curl_multi_info_read(). Not doing so will make the info data unreadable. This could lead to logging when re-syncing that makes it appear as though syncing is not successful when in reality it is working just fine.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant