Re: pq_eof() broken with SSL

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pq_eof() broken with SSL
Дата
Msg-id Pine.LNX.4.44.0205191351480.2564-100000@localhost.localdomain
обсуждение исходный текст
Ответ на pq_eof() broken with SSL  (Bear Giles <bgiles@coyotesong.com>)
Ответы Re: pq_eof() broken with SSL  (Bear Giles <bgiles@coyotesong.com>)
Список 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 по дате отправления:

Предыдущее
От: Mark kirkwood
Дата:
Сообщение: Re: Unbounded (Possibly) Database Size Increase - Toasting
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Unbounded (Possibly) Database Size Increase - Toasting