Re: Re: [BUGS] libpq does not manage SSL callbacks properly when other libraries are involved.

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Russell Smith <mr-russ(at)pws(dot)com(dot)au>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, PoolSnoopy <tlatzelsberger(at)gmx(dot)at>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [BUGS] libpq does not manage SSL callbacks properly when other libraries are involved.
Date: 2008-11-21 00:02:42
Message-ID: 200811210002.mAL02gQ26376@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Bruce Momjian wrote:
> Thanks for the review, Magnus. I have adjusted the patch to use the
> same mutex every time the counter is accessed, and adjusted the
> pqsecure_destroy() call to properly decrement in the right place.
>
> Also, I renamed the libpq global destroy function to be clearer
> (the function is not exported).

Here is an updated version of the patch to match CVS HEAD.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
/pgpatches/ssl text/x-diff 9.2 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Sushil 2008-11-21 07:25:32 Re: executing SELECT xmlelement(name foo); causes "server closed the connection unexpectedly" Error
Previous Message Tom Lane 2008-11-20 20:26:49 Re: could not read block 77 of relation 1663/16385/388818775

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-11-21 00:14:13 Re: Proposal: new border setting in psql
Previous Message Alvaro Herrera 2008-11-20 23:44:22 Re: Cool hack with recursive queries