ignore errors when attempting heartbeat

This commit is contained in:
Ryan Heywood 2025-07-11 20:32:47 -04:00
parent 449e934cf0
commit b2e35f9f5a
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
1 changed files with 5 additions and 5 deletions

View File

@ -44,9 +44,9 @@ impl Aws {
std::mem::size_of_val(&sockaddr),
)?;
};
write(fd, &buf)?;
read(fd, &mut buf)?;
close(fd)?;
dbg!(write(fd, &buf));
dbg!(read(fd, &mut buf));
dbg!(close(fd));
if buf[0] != 0x87 {
return Err(InvalidHeartbeatResponse(buf[0]))
@ -67,8 +67,8 @@ impl super::Platform for Aws {
}
fn init(&self) -> Result<()> {
// Self::init_heartbeat()?;
enclaveos_shim::init_platform();
Self::init_heartbeat()?;
// enclaveos_shim::init_platform();
Ok(())
}
}