Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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: /pgpatches/ssl
Description: text/x-diff (9.2 KB)

In response to

Responses

pgsql-hackers by date

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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group