Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119245 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 1647 invoked from network); 9 Jan 2023 19:34:37 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 9 Jan 2023 19:34:37 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2EB9118050B for ; Mon, 9 Jan 2023 11:34:37 -0800 (PST) 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.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS2639 136.143.188.0/23 X-Spam-Virus: No X-Envelope-From: Received: from sender4-of-o54.zoho.com (sender4-of-o54.zoho.com [136.143.188.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 9 Jan 2023 11:34:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673292874; cv=none; d=zohomail.com; s=zohoarc; b=Kd59joMs5tjw/zO6W03k6cZbr6MVRtWqxznSTgHu6uuSk6P9afAT7tAMCNlNEHetRL5QSoLIzBJywOZuNCQy2qAn/9eBQPzRLpnaN4eW6Wvf8m9fpNrBZWTMZazvZaKSMy/geonIwmsvI/HBG+s+YwDSB5OY4WyPkKKomRoZR9w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673292874; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=T1YG3TRZQWIk9cgEQb2mISC4kh4hhTPHUJEVZ+RUog8=; b=chkALgByZq5g2qcb+YtaDHr9vKItCEccsL3AnHmkpVSADr/xBSPgI/5+LRZyMBFdOT3Z9tK6ij5RHyIPRjz3SNL2ls8Vp2tJpbAQbatVeN3ejyzbK8BN0FxcXKdDC1H10bKjBQ2Y9C0osL8UHDkOKu4gDRaptjctKXsxfVA0EbE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=pmmp.io; spf=pass smtp.mailfrom=dktapps@pmmp.io; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1673292874; s=verify; d=pmmp.io; i=dktapps@pmmp.io; h=Date:Date:From:From:To:To:Message-ID:In-Reply-To:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc; bh=T1YG3TRZQWIk9cgEQb2mISC4kh4hhTPHUJEVZ+RUog8=; b=gLYpk2rKqp5gS8GOkB1Zt9Gv+WP7DcrfmvzyaKuT4h8+HGzop1cYEzGKPyQsrIf8 7wuG9UKWG6zC99k0TPw0SlMnA+kBN/2ZPvrsZ3Bv0ZoU1N/Rp5g5XQz37CTbok6cNCY XBz3OBA0f7U7Fh+jIXSsu5H/F95Qnr+Im9GNSQ2A= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1673292873757260.32507053126756; Mon, 9 Jan 2023 11:34:33 -0800 (PST) Date: Mon, 09 Jan 2023 19:34:33 +0000 To: "internals" Message-ID: <1859807000f.f75d6454308290.7097966521829786832@pmmp.io> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Subject: Ability to set DONTFRAGMENT for UDP packets in ext/sockets From: dktapps@pmmp.io ("Dylan K. Taylor") Hi all, I noticed there is currently no way to set the DF (don't fragment) bit for UDP packets sent using `ext/sockets`. This is problematic when trying to do UDP path MTU discovery using PHP. I'm unsure if there may be any cross-platform concerns to watch out for here, but I'm just generally curious if there's a reason why there's no support for this, or if just nobody considered to implement it. Thanks, Dylan.