Join the community today
Become a Member

Beta Branch fix datamanager.inc geoip curl User-Agent and error handling in 140.0…

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 24, 2026.

  1. eva2000

    eva2000 Administrator Staff Member

    59,484
    12,536
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,176
    Local Time:
    4:44 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix datamanager.inc geoip curl User-Agent and error handling in 140.00beta01

    Missing User-Agent on the startup geoip lookup causes Cloudflare to return a
    challenge page instead of JSON, producing parse errors on every menu launch.

    Changes:
    - Add CURL_AGENT and CURL_TIMEOUTS to match all other geoip curl calls
    - Capture curl output to variable before jq to prevent broken pipe errors
    - Suppress jq stderr for silent fallback to empty DATAM_SOURCE_IP

    Continue reading...

    140.00beta01 branch