pgsql: Call getsockopt() on the correct socket.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Call getsockopt() on the correct socket.
Дата
Msg-id E1ZC72F-0003LK-Jc@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Call getsockopt() on the correct socket.

We're interested in the buffer size of the socket that's connected to the
client, not the one that's listening for new connections. It happened to
work, as default buffer size is the same on both, but it was clearly not
wrong.

Spotted by Tom Lane

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8e33fc1784cbd657a7238ab5639ee1f8f54a3ec0

Modified Files
--------------
src/backend/libpq/pqcomm.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Don't set SO_SNDBUF on recent Windows versions that have a bigge
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Turn install.bat into a pure one line wrapper fort he perl scrip