Opened 5 years ago

Closed 5 years ago

#925 closed New feature (fixed)

sendHttpRequest - have a fallback when fsockopen is in disable_functions

Reported by: vipsoft Owned by: vipsoft
Priority: normal Milestone: Piwik 0.4.4
Component: Core Keywords:
Cc: Sensitive: no


In #793, we rewrote sendHttpRequest because allow_url_fopen is often disabled. It seems fsockopen is a similar casualty of overzealous sysadmins.

Change History (1)

comment:1 Changed 5 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

In [1391], fixes #925, refs #793 - provide curl and stream methods (as originally proposed by Uli)

Order of preference: curl (6s), stream (10s), socket (13s) to d/l

Add Piwik::getTransportMethod() and add to Installation system check

Note: See TracTickets for help on using tickets.