diff options
author | James Munns <[email protected]> | 2024-07-15 16:25:42 +0000 |
---|---|---|
committer | Yuchen Wu <[email protected]> | 2024-08-30 11:18:18 -0700 |
commit | acffb8aaf2a76e3ab8a4db698ed2f151cfb64566 (patch) | |
tree | 09d5b4c2e702ed4fcca9b1636cecf4509b16406f | |
parent | f3a5a85031bcdb85f13f90d1fa11a31534e636bb (diff) | |
download | pingora-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-- | .bleep | 2 | ||||
-rw-r--r-- | pingora-core/src/server/transfer_fd/mod.rs | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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) } |