From nobody Tue Jan 23 06:01:44 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TJxLN5GqRz57KJG for ; Tue, 23 Jan 2024 06:01:48 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) Received: from smtp-8fa8.mail.infomaniak.ch (smtp-8fa8.mail.infomaniak.ch [83.166.143.168]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "relay.mail.infomaniak.ch", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TJxLN1nZJz4Tpt for ; Tue, 23 Jan 2024 06:01:48 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) Authentication-Results: mx1.freebsd.org; none Received: from smtp-4-0001.mail.infomaniak.ch (unknown [10.7.10.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4TJxLK30cbzMq5jm; Tue, 23 Jan 2024 07:01:45 +0100 (CET) Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4TJxLJ6dVPz96X; Tue, 23 Jan 2024 07:01:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pyret.net; s=20231006; t=1705989705; bh=Kucb779bV/r7jN1+4cWZz2OY3rPyGQXQYseaI38aRB0=; h=Date:Subject:From:Reply-To:To:Cc:References:In-Reply-To:From; b=ZCavr3etccgpXQVXOpfdkYn4fJ9ZzvLd1QFXKvlres+OIIprBtg62VFymGQcyVvx3 trcbkXktKyh2dJ6xUcDnervVo3kD7Q7yajPot/vAtHqXAM4TilKvkrMY4uhRGXrMWK jZyogGs/3asXyi2slZ78wV9Stn1l2okkajmreVUYGJHhZ3qoxKMktl1rR/XAso6hJU o+m4rDxB+WUMwDiyMik1q+fxmWy5aXFYOq9+RzTK/rmDLd8QZxJaaiSo8DeoYIHgRr pb56bh8RqGKlEuzWkgdaegKOSWYdRdtf8m+gbglip0v/+dCK2CvyZjg76KRtiaGfXt 0URvwMrLqFnYQ== Message-ID: Date: Tue, 23 Jan 2024 07:01:44 +0100 Subject: Re: git: 0c895b819c3f - main - net/http_ping: Deprecate and set expiration date to 2024-02-29 From: Daniel Engberg Reply-To: Daniel Engberg To: Hiroki Sato Cc: diizzy@FreeBSD.org, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="_=_swift_1705989704_010a0db3703531e975ce3b365edd3904_=_" X-WS-User-Origin: eyJpdiI6ImdoZ2RUUHlSQ2w3azlqam05NktzdHc9PSIsInZhbHVlIjoiNC9DU0FzTUFzZEc4QlZxV2lRS2xhQT09IiwibWFjIjoiMzRmMzZhOGI3ZDRmNmZkZGU5ZTVhNDI5MGJjMTRmOWRmNDJmM2MxMDgzMWJlZDY1MzkzNWE0OWZhN2MyN2JhNCIsInRhZyI6IiJ9 X-WS-User-Mbox: eyJpdiI6Ilo4UTVFa0Y0S0VhcnI5RlVmdFJQdVE9PSIsInZhbHVlIjoidUpOSEFiaEo4dEtaTGlQSUt1bTJKZz09IiwibWFjIjoiYjM0MTlmNjc0MThjZjAxM2Q5NGJiN2RiN2I3N2VjZmRiN2IwYmJlOGZmZDJkYTIzMjcwZmI4NDc1OWI0NDYwZSIsInRhZyI6IiJ9 X-WS-Location: eJxzKUpMKykGAAfpAmU- X-Mailer: Infomaniak Workspace (1.3.626) References: <202401221958.40MJwjFC061115@gitrepo.freebsd.org> <20240123.055130.1936217963367393840.hrs@FreeBSD.org> In-Reply-To: <20240123.055130.1936217963367393840.hrs@FreeBSD.org> X-Infomaniak-Routing: alpha X-Rspamd-Queue-Id: 4TJxLN1nZJz4Tpt X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29222, ipnet:83.166.128.0/19, country:CH] --_=_swift_1705989704_010a0db3703531e975ce3b365edd3904_=_ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2024-01-22T21:51:30.000+01:00, Hiroki Sato wrote: = >=C2=A0Daniel=C2=A0Engberg=C2=A0=C2=A0wrote >= =C2=A0 >=C2=A0=C2=A0=C2=A0in=C2=A0<202401221958.40MJwjFC061115@gitrepo.fr= eebsd.org>: >=C2=A0 >=C2=A0di>=C2=A0The=C2=A0branch=C2=A0main=C2=A0has= =C2=A0been=C2=A0updated=C2=A0by=C2=A0diizzy: >=C2=A0 >=C2=A0di> >= =C2=A0 >=C2=A0di>=C2=A0URL:=C2=A0https://cgit.FreeBSD.org/ports/commit/?i= d=3D0c895b819c3f189a44cb30344b85968ef5b08c10 >=C2=A0 >=C2=A0di> >= =C2=A0 >=C2=A0di>=C2=A0commit=C2=A00c895b819c3f189a44cb30344b85968ef5b08c= 10 >=C2=A0 >=C2=A0di>=C2=A0Author:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Daniel= =C2=A0Engberg=C2=A0 >=C2=A0 >=C2=A0di>=C2=A0AuthorD= ate:=C2=A02024-01-22=C2=A019:51:22=C2=A0+0000 >=C2=A0 >=C2=A0di>=C2= =A0Commit:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Daniel=C2=A0Engberg=C2=A0 >=C2=A0 >=C2=A0di>=C2=A0CommitDate:=C2=A02024-01-22=C2=A019:= 58:36=C2=A0+0000 >=C2=A0 >=C2=A0di> >=C2=A0 >=C2=A0di>=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0net/http_ping:=C2=A0Deprecate=C2=A0and=C2=A0set=C2= =A0expiration=C2=A0date=C2=A0to=C2=A02024-02-29 >=C2=A0 >=C2=A0di> >= =C2=A0 >=C2=A0di>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Only=C2=A0supports=C2= =A0HTTP/1.0=C2=A0which=C2=A0is=C2=A0considered=C2=A0deprecated=C2=A0and= =C2=A0being >=C2=A0 >=C2=A0di>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0phased= =C2=A0out. >=C2=A0 >=C2=A0di> >=C2=A0 >=C2=A0di>=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0If=C2=A0the=C2=A0functionality=C2=A0is=C2=A0still=C2=A0of= =C2=A0interest >=C2=A0 >=C2=A0di>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0https://= github.com/fever-ch/http-ping=C2=A0appears=C2=A0to=C2=A0be=C2=A0a=C2=A0good= =C2=A0replacement >=C2=A0 >=C2=A0di> >=C2=A0 >=C2=A0di>=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0PR:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0276186 >=C2=A0 >=C2=A0di>=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0Approved=C2=A0by:=C2=A0=C2=A0=C2=A0=C2=A0portmgr=C2=A0(ma= intainer=C2=A0timeout,=C2=A02+=C2=A0weeks) >=C2=A0 >=C2=A0I=C2=A0do= =C2=A0not=C2=A0understand=C2=A0why=C2=A0a=C2=A0tool=C2=A0with=C2=A0no=C2= =A0build=C2=A0or=C2=A0functionality=C2=A0issue >=C2=A0 >=C2=A0should= =C2=A0be=C2=A0removed=C2=A0because=C2=A0it=C2=A0only=C2=A0supports=C2=A0HTT= P/1.0.=C2=A0=C2=A0Do=C2=A0we=C2=A0have=C2=A0a >=C2=A0 >=C2=A0policy= =C2=A0to=C2=A0remove=C2=A0ports=C2=A0based=C2=A0on=C2=A0a=C2=A0lack=C2= =A0of=C2=A0modern=C2=A0protocol=C2=A0support=C2=A0or >=C2=A0 >=C2=A0few= er=C2=A0users? >=C2=A0 >=C2=A0--=C2=A0Hiroki Hi, There are fu= nctionality issues when HTTP 1.0 isn't supported? Quick example: = http_ping https://chat.openai.com/ http_ping: SSL connection failed - = -1 002041AE453D0000:error:0A000410:SSL routines:ssl3_read_bytes:sslv3= alert handshake failure:/usr/src/crypto/openssl/ssl/record/rec_layer_s= 3.c:1586:SSL alert number 40 While on Windows for comparison and wha= t I would call expected results using http-ping. HTTP-PING https://c= hat.openai.com/ GET =C2=A0=C2=A0 =E2=94=80=E2=86=92=C2=A0=C2=A0=C2= =A0=C2=A0 server advertised HTTP/3 endpoint, using HTTP/3 =C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 1: HTTP/3.0, 104.18.37.228:443, code=3D307, siz= e=3D11 bytes, time=3D183.2 ms =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 2: HTTP/3.0, 104.18.37.228:443, code=3D307, size=3D11 bytes, time=3D1= 86.2 ms =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 3: HTTP/3.0, 104.18.37.22= 8:443, code=3D307, size=3D11 bytes, time=3D193.5 ms =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 4: HTTP/3.0, 104.18.37.228:443, code=3D307, size= =3D11 bytes, time=3D187.0 ms --- https://chat.openai.com/ ping stati= stics --- 4 requests sent, 4 answers received, 0.0% loss round-tr= ip min/avg/max/stddev =3D 183.215/187.493/193.535/3.764 ms Best regard= s, Daniel --_=_swift_1705989704_010a0db3703531e975ce3b365edd3904_=_ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On 2024-01-22T21:51:30.000+01:00, Hiroki Sato <hrs@FreeBSD.org> = wrote:
Daniel En= gberg <d= iizzy@FreeBSD.org> wrote

di> The branch main has been updated by diizzy:
d= i>
di>
di> commit 0c895b819c3f18= 9a44cb30344b85968ef5b08c10
di> Author: Daniel Engberg = <diizzy@= FreeBSD.org>
di> AuthorDate: 2024-01-22 19:51:22 +0= 000
di> Commit: Daniel Engberg <diizzy@FreeBSD.org>
=
di> CommitDate: 2024-01-22 19:58:36 +0000
di>= ;
di> net/http_ping: Deprecate and set expiration date= to 2024-02-29
di>
di> Only supports = HTTP/1.0 which is considered deprecated and being
di> = phased out.
di>
di> If the functional= ity is still of interest
di> https://github.com/fever-ch/htt= p-ping appears to be a good replacement
di>
<= div>di> PR: 276186
di> Approved by:= portmgr (maintainer timeout, 2+ weeks)

I d= o not understand why a tool with no build or functionality issue
<= div>should be removed because it only supports HTTP/1.0. Do we have a
<= /div>
policy to remove ports based on a lack of modern protocol support= or
fewer users?

-- Hiroki
Hi,

There are functionality issues when HTTP 1.0 isn't supported?

Quick example:
http_ping <= a href=3D"https://chat.openai.com/" target=3D"_blank" rel=3D"noopener noref= errer" data-ik=3D"ik-secure">https://chat.openai.com/
htt= p_ping: SSL connection failed - -1
002041AE453D0000:error:0A0= 00410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:/usr/src/c= rypto/openssl/ssl/record/rec_layer_s3.c:1586:SSL alert number 40
<= div>

While on Windows for comparison and what I wo= uld call expected results using http-ping.

--- https://chat.openai.com/ ping statistics ---
4 requests sent, 4 answers received, 0.0% loss
round-= trip min/avg/max/stddev =3D 183.215/187.493/193.535/3.764 ms
=

Best regards,
Daniel
=
--_=_swift_1705989704_010a0db3703531e975ce3b365edd3904_=_--