mirror of
https://github.com/postgres/postgres.git
synced 2025-06-03 00:02:26 -04:00
Fix for user password packet processing, from Goran Thyni.
This commit is contained in:
parent
ab179d6940
commit
0f1802f00c
@ -10,7 +10,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.66 1997/12/11 17:03:52 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.67 1997/12/15 22:03:59 momjian Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
*
|
*
|
||||||
@ -663,6 +663,7 @@ ServerLoop(void)
|
|||||||
* the connection id out of the packet so we know who the
|
* the connection id out of the packet so we know who the
|
||||||
* packet is from.
|
* packet is from.
|
||||||
*/
|
*/
|
||||||
|
receive_again:
|
||||||
status = PacketReceive(port, &port->buf, NON_BLOCKING);
|
status = PacketReceive(port, &port->buf, NON_BLOCKING);
|
||||||
switch (status)
|
switch (status)
|
||||||
{
|
{
|
||||||
@ -686,7 +687,7 @@ ServerLoop(void)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
/* port->nBytes = 0; */
|
/* port->nBytes = 0; */
|
||||||
continue;
|
goto receive_again;
|
||||||
} else {
|
} else {
|
||||||
int CSstatus; /* Completion status of
|
int CSstatus; /* Completion status of
|
||||||
* ConnStartup */
|
* ConnStartup */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user