Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1esxF6-00029L-Cl for pgsql-general@arkaria.postgresql.org; Mon, 05 Mar 2018 21:01:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1esxF5-0002BW-Ag for pgsql-general@arkaria.postgresql.org; Mon, 05 Mar 2018 21:01:55 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1esxF4-0002BM-Kq for pgsql-general@lists.postgresql.org; Mon, 05 Mar 2018 21:01:55 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1esxF1-0002ot-No for pgsql-general@postgresql.org; Mon, 05 Mar 2018 21:01:53 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 6A580215C2; Mon, 5 Mar 2018 16:01:50 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Mon, 05 Mar 2018 16:01:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=TwCO7EBDMye5QGmgGYDDlWOgIjbsp 6DRKrKdMlNdUWo=; b=hqm+NeCRszd55YtLlUVQXhHq+cCSq06Ox6kw0NDYcthPy 4mnbz9+wrTgUu4j9Cyd+FYQ5PBb220rpcDaCUMNKNtI+EZutLSKIa3Pr0PQOp2Lu CLTin/hGpYOiK/B9YzYdIXjZUE2dHh+Ehh1DVz2vazALwrc1AWBmijbccXwUPM9n 0MQdj5znkKwmAPPgz7Y4nJ0laM7FUckj7eEAoH/d1yGIYLEMXC6NptglP8q3glWJ xtEjKGOZYBAgTFkKbgldvWEtW69PM0/gEZol63FU2oe/6/nq/fUPfnLIG4XJf8qr zChmlhFpfpPRf/EuiDTcqDtR+v3mht32yaKrZOLrQ== X-ME-Sender: Received: from intern.anarazel.de (unknown [136.24.76.189]) by mail.messagingengine.com (Postfix) with ESMTPA id 1D9C77E539; Mon, 5 Mar 2018 16:01:50 -0500 (EST) Date: Mon, 5 Mar 2018 13:01:48 -0800 From: Andres Freund To: Andre Oliveira Freitas Cc: pgsql-general@postgresql.org Subject: Re: PQConsumeinput stuck on recv Message-ID: <20180305210148.b3cydctauayprxlv@alap3.anarazel.de> References: <20180223172002.p22upnnwz2imsiwo@alap3.anarazel.de> <20180223191000.jgmzqsjqikoijeyt@alap3.anarazel.de> <20180302203641.vaojrm3fpzienfse@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2018-03-05 17:57:51 -0300, Andre Oliveira Freitas wrote: > Ok, on one hand glad to hear that is an artifact, on the other hand > that means the issue is still out there... > > I'm not a maintainer of Freeswitch, I am an user of it. However I am > trying to supply the maintainers with any relevant information > regarding this issue. > > As you mentioned, I see the socket being modified and passed around in > the source code. Do you think the implementation is OK? I do not know > if that's standard practice when consuming libpq. It's ok to pass the socket around, it'd not be ok to change whether the socket blocks or not. I don't have the time to review the freeswitch code to see whether it does so. - Andres