Skip to content

Commit

Permalink
Fix heartbeat timeout null ptr error (#3307)
Browse files Browse the repository at this point in the history
  • Loading branch information
twose authored May 9, 2020
1 parent cce4985 commit 327b20e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/reactor_process.cc
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,7 @@ static void swReactorProcess_onTimeout(swTimer *timer, swTimer_node *tnode)
}
#endif
notify_ev.fd = fd;
notify_ev.socket = conn->socket;
notify_ev.reactor_id = conn->reactor_id;
swReactorProcess_onClose(reactor, &notify_ev);
}
Expand Down

0 comments on commit 327b20e

Please sign in to comment.