Skip to content

Commit

Permalink
Set up commented idea for fix to Send-OK-Response issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob22r committed Jan 27, 2025
1 parent 1ab8029 commit 9a50794
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions edgerouter/edgerouter.go
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,10 @@ func handleOutgoingMessages(ctx context.Context, edgeRouter *EdgeRouter, wg *syn
continue
}

//Send OK sucessful to Agent, once we are sure it has been forwarded
//This routine should communicate to handleSend which should send the response
// This is in order to achieve a non-blocking behaviour for forwarding messages to Router network

protoMsgType := outgoingMessage.GetProtocolMessage().GetProtocolMsgType()
if protoMsgType == mmtp.ProtocolMessageType_SUBSCRIBE_MESSAGE ||
protoMsgType == mmtp.ProtocolMessageType_UNSUBSCRIBE_MESSAGE {
Expand Down

0 comments on commit 9a50794

Please sign in to comment.