mirror of
https://github.com/postgres/postgres.git
synced 2026-04-21 14:19:26 -04:00
Attempt to unbreak windows builds broken by commit 754baa2.
This commit is contained in:
parent
acf4740132
commit
382fb6a08f
1 changed files with 1 additions and 1 deletions
|
|
@ -663,7 +663,7 @@ StreamConnection(pgsocket server_fd, Port *port)
|
|||
* This is a Win32 socket optimization. The ideal size is 32k.
|
||||
* http://support.microsoft.com/kb/823764/EN-US/
|
||||
*/
|
||||
on = PQ_BUFFER_SIZE * 4;
|
||||
on = PQ_SEND_BUFFER_SIZE * 4;
|
||||
if (setsockopt(port->sock, SOL_SOCKET, SO_SNDBUF, (char *) &on,
|
||||
sizeof(on)) < 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue