Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125838 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id EBCA31A00BD for ; Wed, 23 Oct 2024 19:43:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1729712744; bh=53fi1VibU60sggqQt1Mg9D9AZloa4oL9YkhXOZHtBGA=; h=Date:From:To:In-Reply-To:References:Subject:From; b=e20kW31rNzsqml2yhpMJCa30EG+UE6eGbk3DDJ6f5C6ikYzaq/8yJN5BSjO5WShF6 QrDj5MLcaka28o3Z8zxETCCAS6+raPVYRb0KdTATrlw/o0Op8ebmLc+PPHNkU6pBu5 gPx02epb1sQZIM67EEmtAHqI3y88PYEKrrsVjEyafaBVA/xykEuS06wtE1RQR0kGI2 pr124cT0yOmNa7KrHjhLtB9TCQ7jhmMgT2jcWUoBGZAw0hNMdkCWE45vMLLn7Lcd1o NzF7XANX5NOagyauy8XEqqBheEnGtjsaBflKLtP3nWPNQrEMhSQwz5AcnlHCuczi48 5WVJITq8tzrtg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D9DE118004F for ; Wed, 23 Oct 2024 19:45:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,HTML_MESSAGE, RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fhigh-a1-smtp.messagingengine.com (fhigh-a1-smtp.messagingengine.com [103.168.172.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 23 Oct 2024 19:45:43 +0000 (UTC) Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id D556B1140157 for ; Wed, 23 Oct 2024 15:43:17 -0400 (EDT) Received: from phl-imap-09 ([10.202.2.99]) by phl-compute-01.internal (MEProxy); Wed, 23 Oct 2024 15:43:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bottled.codes; h=cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1729712597; x=1729798997; bh=53fi1VibU6 0sggqQt1Mg9D9AZloa4oL9YkhXOZHtBGA=; b=jOr63aPLCntLR18NIsILvBhqDW n1kpx8oMkCapCkTEfs5WWZOP+pIdHLykrAkoIalj28/cSyT8jX5wBtRbNpHFRt4m zibTLNkwUNf0gYJXcsIXIw+Mb5b5llR1qgHG6T18//o2jpk/YfpimwdSTr1/urE5 N0DG5zjAhnFvYw0antBZoBXvTSBI+MPi/JnEVoPTY+N8tkH2O3wI4sE/6Q67r0j1 gBQDSsE5RhFuD9+mGPDqxBLRB5eGeIqcH6drjhGKPzgrWeB5DWmm3wJqPika0lEt kzGcstJhl+StKsBI4DhD6jWkxOn1C197Q9hTutxtYHHrtDLfHGzhUYMwptIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1729712597; x=1729798997; bh=53fi1VibU60sggqQt1Mg9D9AZloa 4oL9YkhXOZHtBGA=; b=e3ekJioGLGSB65Ku5RopT1NyS+c830OO5qN5jCj+ww1m b4Q5JbY2iq9ZJoYxNuQWAYkzMPNVJEXqOrhC7LIQLueMdPQ3OvNyzKf8l5kqRJAm cOSueBrGhP/yyMZn/6nsBLaLa61n5RpArC9U370i5c8C4qnyYf6hGCqaywYX7Ipe tR81gAgKAqVbSIOunl3H9C+JlWhY/uUljAutiZmyLSpC/6O3x7JqVvW34K5Xrh01 C0F1GLHYXK4giNYm2xpk78tMFoELGIcAp6PtJkiRs2cl/VqU4Q/k7aI1sO+bPob0 qCHDu9m+Tb2bedQyuRvj3tUoSZUZba5GadKIZl88Xg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeijedgudeflecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepofggff fhvffkjghfufgtsegrtderreertdejnecuhfhrohhmpedftfhosgcunfgrnhguvghrshdf uceorhhosgessghothhtlhgvugdrtghouggvsheqnecuggftrfgrthhtvghrnheptdeuje dttefhueelhfdtleeiudetlefftdduleehffegtdeihefhleeijefgveegnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhhosgessghothhtlh gvugdrtghouggvshdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhr tghpthhtohepihhnthgvrhhnrghlsheslhhishhtshdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: ifab94697:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 85800780068; Wed, 23 Oct 2024 15:43:17 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Wed, 23 Oct 2024 21:42:51 +0200 To: internals@lists.php.net Message-ID: <5753e226-e512-4051-ab87-0184f21797d4@app.fastmail.com> In-Reply-To: References: Subject: Re: [PHP-DEV] Re: [RFC] [Discussion] Persistent CurlShareHandle objects Content-Type: multipart/alternative; boundary=14bf054463a3436f974fe32e0d6fe130 From: rob@bottled.codes ("Rob Landers") --14bf054463a3436f974fe32e0d6fe130 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, Oct 23, 2024, at 21:20, Eric Norris wrote: > Apologies Rob, I don't seem to be receiving individual emails from the > mailing list, so I'll have to respond to my own email here. I've > changed my subscription to receive all emails so hopefully I'll be > able to respond directly to future emails. >=20 > > It might be a good idea to get a =E2=80=9Cstrong opinion=E2=80=9D on= the signature of curl_share_init. >=20 > I think you are right. I've chatted with Rasmus and we both agree that > changing the signature of curl_share_init is preferable to adding a > new function - it's more in line with how we do persistence elsewhere. > I'll update the RFC to remove the signature question. >=20 > Were you also suggesting that I shouldn't ask a question about the > implementation regarding using EG(persistent_list) vs. a module > global? I'm torn; I agree that it is an implementation detail but I > was hoping to actually get wider input since it generated discussion > in my pull request. Since no one responded here I felt like it'd be a > lightweight way to get feedback on what people felt, but the lack of > response probably means that people don't feel strongly enough about > it. >=20 > That said, after reflecting I think I would agree that it is > unnecessary to add this as a question, and I'll continue with the > implementation as-is in the PR. If people would like to send feedback > on using EG(persistent_list) instead, feel free to do so here or in > the PR. >=20 > > Also, it might be worth saying the =E2=80=9Cnext minor version of PH= P=E2=80=9D just in case there isn=E2=80=99t an 8.5 and goes to 9.0. >=20 > Makes sense to me, I'll make this change. >=20 For what it is worth, I think you should go for the EG(persistent_list) = method. Over on FrankenPHP, we are looking into some improvements to TSR= M (so that Go and PHP can share some of the same locks, among other thin= gs) and EG uses TSRM while I think a module global would not. =E2=80=94 Rob --14bf054463a3436f974fe32e0d6fe130 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

=
On Wed, Oct 23, 2024, at 21:20, Eric Norris wrote:
Apologies Rob, I = don't seem to be receiving individual emails from the
mail= ing list, so I'll have to respond to my own email here. I've
changed my subscription to receive all emails so hopefully I'll be
able to respond directly to future emails.
> It might be a good idea to get a =E2=80=9Cstrong opinio= n=E2=80=9D on the signature of curl_share_init.

=
I think you are right. I've chatted with Rasmus and we both agree t= hat
changing the signature of curl_share_init is preferabl= e to adding a
new function - it's more in line with how we= do persistence elsewhere.
I'll update the RFC to remove t= he signature question.

Were you also sugges= ting that I shouldn't ask a question about the
implementat= ion regarding using EG(persistent_list) vs. a module
globa= l? I'm torn; I agree that it is an implementation detail but I
=
was hoping to actually get wider input since it generated discussio= n
in my pull request. Since no one responded here I felt l= ike it'd be a
lightweight way to get feedback on what peop= le felt, but the lack of
response probably means that peop= le don't feel strongly enough about
it.

=
That said, after reflecting I think I would agree that it is<= br>
unnecessary to add this as a question, and I'll continue w= ith the
implementation as-is in the PR. If people would li= ke to send feedback
on using EG(persistent_list) instead, = feel free to do so here or in
the PR.

> Also, it might be worth saying the =E2=80=9Cnext minor ver= sion of PHP=E2=80=9D just in case there isn=E2=80=99t an 8.5 and goes to= 9.0.

Makes sense to me, I'll make this cha= nge.


For what i= t is worth, I think you should go for the EG(persistent_list) method. Ov= er on FrankenPHP, we are looking into some improvements to TSRM (so that= Go and PHP can share some of the same locks, among other things) and EG= uses TSRM while I think a module global would not.

=E2=80=94 Rob
--14bf054463a3436f974fe32e0d6fe130--