From 7342088fcca2a340fb9c512a3d99ae0c5f3f00a5 Mon Sep 17 00:00:00 2001 From: Bojan Serafimov Date: Tue, 18 Jan 2022 16:39:04 -0500 Subject: [PATCH] Add todo --- proxy/src/proxy.rs | 4 +++- vendor/postgres | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/proxy/src/proxy.rs b/proxy/src/proxy.rs index e45ab610e2..ff1e5b73d0 100644 --- a/proxy/src/proxy.rs +++ b/proxy/src/proxy.rs @@ -195,7 +195,9 @@ impl ProxyConnection { if received_something { bail!("connection is lost"); } else { - return Ok(None); // Probably load balancer health check + // Probably load balancer health check + // TODO check peer_addr to make sure. + return Ok(None); } } bad => bail!("unexpected message type: {:?}", bad), diff --git a/vendor/postgres b/vendor/postgres index 12250cf3af..3b166d06cf 160000 --- a/vendor/postgres +++ b/vendor/postgres @@ -1 +1 @@ -Subproject commit 12250cf3af0d438e6d554443b59a6b6bb64ab1f4 +Subproject commit 3b166d06cfccbc1f3888705309ade106326f207e