aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJames Munns <[email protected]>2024-07-15 16:25:42 +0000
committerYuchen Wu <[email protected]>2024-08-30 11:18:18 -0700
commitacffb8aaf2a76e3ab8a4db698ed2f151cfb64566 (patch)
tree09d5b4c2e702ed4fcca9b1636cecf4509b16406f
parentf3a5a85031bcdb85f13f90d1fa11a31534e636bb (diff)
downloadpingora-acffb8aaf2a76e3ab8a4db698ed2f151cfb64566.tar.gz
pingora-acffb8aaf2a76e3ab8a4db698ed2f151cfb64566.zip
Add error log when attempting to upgrade
I was attempting to test upgrades on MacOS, and was a bit confused at the ECONNREFUSED error. Having this log would help others avoiding troubleshooting this until it is supported. Includes-commit: 6f80ce2f7a5dd97e174916d8efc4864366eca790 Replicated-from: https://github.com/cloudflare/pingora/pull/327
-rw-r--r--.bleep2
-rw-r--r--pingora-core/src/server/transfer_fd/mod.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/.bleep b/.bleep
index eb738a9..ac4d790 100644
--- a/.bleep
+++ b/.bleep
@@ -1 +1 @@
-a5e77a0c20967fd9ff223682be0fc043a6f35514 \ No newline at end of file
+28f94f2a402bbf66341bdac8fa670caf5b7311e9 \ No newline at end of file
diff --git a/pingora-core/src/server/transfer_fd/mod.rs b/pingora-core/src/server/transfer_fd/mod.rs
index ee63ac0..c26d765 100644
--- a/pingora-core/src/server/transfer_fd/mod.rs
+++ b/pingora-core/src/server/transfer_fd/mod.rs
@@ -179,6 +179,7 @@ pub fn get_fds_from<P>(_path: &P, _payload: &mut [u8]) -> Result<(Vec<RawFd>, us
where
P: ?Sized + NixPath + std::fmt::Display,
{
+ log::error!("Upgrade is not currently supported outside of Linux platforms");
Err(Errno::ECONNREFUSED)
}