Skip to content

Commit

Permalink
HPCC-30361 watchdog SocketEndpoint serialization fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jake Smith <[email protected]>
  • Loading branch information
jakesmith committed Sep 26, 2023
1 parent 2b038c1 commit 954a2a5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions thorlcr/shared/thwatchdog.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@
struct HeartBeatPacketHeader
{
public:
// NB: packetSize and progressSize are back-patched and must remain at fixed offsets from the start of this struct
size32_t packetSize = 0; // used as validity check must be first
SocketEndpoint sender;
unsigned tick = 0; // sequence check
size32_t progressSize = 0; // size of progress data (following performance data)

unsigned tick = 0; // sequence check
SocketEndpoint sender;

public:
void serialize(MemoryBuffer & out) const
{
Expand Down

0 comments on commit 954a2a5

Please sign in to comment.