Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115164 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 62553 invoked from network); 27 Jun 2021 06:29:22 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 Jun 2021 06:29:22 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4C3921804C3 for ; Sat, 26 Jun 2021 23:48:47 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,URIBL_SBL, URIBL_SBL_A autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-il1-f182.google.com (mail-il1-f182.google.com [209.85.166.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 26 Jun 2021 23:48:46 -0700 (PDT) Received: by mail-il1-f182.google.com with SMTP id o10so9307757ils.6 for ; Sat, 26 Jun 2021 23:48:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OGKmCjuawEst1PHoXohJabHgSjPexMCCZWiV18E0Tbo=; b=ZKtPtoOPr/39Aem7XS7cPzmHRx2XWys6xvQNoy6sTLgSCokQHBbLxO9zhvrMzOa1Fh MP7jUAvLQ4MQ+hYf5bXI/1AsA9EtMmfkqFHBxtJHDnII9ocFKMs9C/6jNqfnR+Hsic9l o7wcymAg1uLa7J8NyCr6iIOnOupI3iI+g3GWMEH5meluIYuSc73Lii887/Rji6mMcHCG W2GFtqUKGhE1uCczXEM4QcpgaXt5GqdukV5eqmiswxPIhNq1e/WDRL1sSxTP8cy0om1A J2qmXcf38NIDiRtvyRIO6tpUgjCg7qw0HV2gx1SszX8QbSlew3H/7MEx3AkMsGDU6z9f SWPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OGKmCjuawEst1PHoXohJabHgSjPexMCCZWiV18E0Tbo=; b=Gc5a4gssft43UVbJZpSzq81ZXHnfnp27TGi2FnSK7Qc3x3fAi5uH3Nn/9IVS87F7VO MDvf79Qj/5bi3coFP5JoIOIbQVQc/hTdvtphMbQ+Mb39rRYd+25mIj8J41WRuGB0i7IH ZmDsBCQnYbGHqk0S3rMptZHpfyUg49YgvBR+VM5WBwzaYApP5Zs2p3S4CEsgJLS2ruo3 RbAUEwxHhmU8AmZk0wzxb+J/SNzu//sSx5hGW2ilUsZgF+MBtYiAn3p9QPr//NxXD/Mk lcCVeCi+pzML5GgOGrmFvKN+ccU5TvIBYW/L3C1NTcgYyjk2TCwTmqVTPosYOpbRFaZK ERUA== X-Gm-Message-State: AOAM533R7C21n6HIci9NwJMd+nmLT3mNEOgtlJ7atojot+JtUJOFPQ7s YMoMp63woZwxQG1/OEF9J/Y2N43NbcOvm1pZUOc= X-Google-Smtp-Source: ABdhPJy5ItwgqQUlE8QCyw/EpG6Xh5xwaHhEytRbMKkcrc6yARLWtfTkVAZnvZ0+dB6n2bPlOVQy8DMkXfYLmDe4nPk= X-Received: by 2002:a05:6e02:1d12:: with SMTP id i18mr6089421ila.97.1624776523782; Sat, 26 Jun 2021 23:48:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 27 Jun 2021 08:48:31 +0200 Message-ID: To: Aleksander Machniak Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000008a1da405c5b9c3bc" Subject: Re: [PHP-DEV] [RFC] Under Discussion: Default User-Agent for cURL From: paresy@gmail.com (Michael Maroszek) --0000000000008a1da405c5b9c3bc Content-Type: text/plain; charset="UTF-8" Hi Aleksander, That's what I also thought when making the PR and therefore I initially went with PHP_INI_ALL. But Tyson made a good point that the curl.cainfo is PHP_INI_SYSTEM and we might want to be consistent about modes inside an extension. I'd love to hear some more opinions on which direction we should go. > Imo, the fact that curl is not using user_agent setting is a bug and > should be fixed, even with BC break. We really don't need another setting. That was my option B, but in my opinion this feature is too minor and therefore not worth the BC break. Regards Michael Am Sa., 26. Juni 2021 um 09:20 Uhr schrieb Aleksander Machniak : > On 25.06.2021 16:33, Michael Maroszek wrote: > > > > Please have a look at the full RFC: > https://wiki.php.net/rfc/curl_user_agent > > > > There is one open issue which Tyson raised to find the correct mode for > the > > ini option. Either PHP_INI_ALL or PHP_INI_SYSTEM is currently being > > discussed. See here for all details: > > https://github.com/php/php-src/pull/6834/files#r628774432 > > The existing user_agent setting is PHP_INI_ALL. Please, don't make it > different. > > Imo, the fact that curl is not using user_agent setting is a bug and > should be fixed, even with BC break. We really don't need another setting. > > -- > Aleksander Machniak > Kolab Groupware Developer [https://kolab.org] > Roundcube Webmail Developer [https://roundcube.net] > ---------------------------------------------------- > PGP: 19359DC1 # Blog: https://kolabian.wordpress.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > > --0000000000008a1da405c5b9c3bc--