From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 75DC81F51A for ; Wed, 3 Jul 2024 10:52:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1720003923; bh=BeX8gUTjA5Rpqb8qS6OaTL3Ayk/fqwWu/cPs1kZk+jQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ucdmOUOBDBCtp0iqF7auQMDcHJDrxepBRWzvf1fH2XzhP5MlZB7vZ9wSvOvo51tlA 5SiCPxi2Dz3z0Lz0liGSDBie0yZPL9pOpw/xtqFjae5iKm0QS6iVaAkVkuvro27RZY hhSI6yLzaxxkoNSetYuws9M4Y0HRsU2qxWD/3rX8= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 2/2] qspawn: avoid redundantly setting O_NONBLOCK Date: Wed, 3 Jul 2024 10:52:02 +0000 Message-ID: <20240703105202.2735313-3-e@80x24.org> In-Reply-To: <20240703105202.2735313-1-e@80x24.org> References: <20240703105202.2735313-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: PublicInbox::InputPipe::consume already sets it when it sees a pipe or socket. --- lib/PublicInbox/Qspawn.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PublicInbox/Qspawn.pm b/lib/PublicInbox/Qspawn.pm index 0bf857c6..cde45b42 100644 --- a/lib/PublicInbox/Qspawn.pm +++ b/lib/PublicInbox/Qspawn.pm @@ -245,7 +245,6 @@ sub _yield_start { # may run later, much later... my ($self) = @_; if ($self->{psgi_env}->{'pi-httpd.async'}) { my $rpipe = $self->{rpipe}; - $rpipe->blocking(0); PublicInbox::InputPipe::consume($rpipe, \&ipipe_cb, $self); } else { require PublicInbox::GetlineResponse;