ignore errors when attempting heartbeat
This commit is contained in:
parent
449e934cf0
commit
b2e35f9f5a
|
@ -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(())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue