mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[GH-ISSUE #1295] Handlers using CURL #533
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#533
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aquaticpond on GitHub (Mar 4, 2019).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1295
On some networks IPv6 resolution fails and falls back to IPv4 but it takes 10+ seconds for this to happen and complete the request.
curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);Telling CURL to resolve to IPv4 with the above option solves this issue. Unfortunately it might not be feasible to default to IPv4 for everything though...
@Seldaek commented on GitHub (Jul 2, 2019):
That sounds like you should fix the network rather than the curl code :)