Re: pq_eof() broken with SSL - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pq_eof() broken with SSL
Date
Msg-id Pine.LNX.4.44.0205191351480.2564-100000@localhost.localdomain
Whole thread Raw
In response to pq_eof() broken with SSL  (Bear Giles <bgiles@coyotesong.com>)
Responses Re: pq_eof() broken with SSL
List pgsql-hackers
Bear Giles writes:

> I came across another bug in the SSL code.  backend/libpq/pqcomm.c:pq_eof()
> calls recv() to read a single byte of data to check for EOF.  The
> character is then stuffed into the read buffer.

> The quick fix is to add another USE_SSL block,

So it seems.  Do you volunteer to do that?

> a better fix is to explicitly create a new abstraction layer.

Well, this is supposed to be an abstraction already. ;-)

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Mark kirkwood
Date:
Subject: Re: Unbounded (Possibly) Database Size Increase - Toasting
Next
From: Tom Lane
Date:
Subject: Re: Unbounded (Possibly) Database Size Increase - Toasting