mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-22 21:59:59 +00:00
Briefer ALPN error message
This commit is contained in:
@@ -139,7 +139,7 @@ pub(crate) async fn handshake<S: AsyncRead + AsyncWrite + Unpin + Send>(
|
||||
match conn_info.alpn_protocol() {
|
||||
None => {
|
||||
if direct.is_some() {
|
||||
warn!("missing ALPN protocol 'postgresql'");
|
||||
warn!("missing ALPN");
|
||||
return Err(HandshakeError::ProtocolViolation);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user