Skip to content

Commit 73aeb75

Browse files
Fábio Monteirofcmonteiro
authored andcommitted
Fix to not ignore stop offers when sd acceptance is not required
1 parent b5451ca commit 73aeb75

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

implementation/endpoints/src/tcp_client_endpoint_impl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ void tcp_client_endpoint_impl::restart(bool _force) {
115115
<< std::setw(4) << its_session << "]"
116116
<< " size: " << std::dec << q.first->size();
117117
}
118+
self->sending_blocked_ = false;
118119
self->queue_.clear();
119120
self->queue_size_ = 0;
120121
}

implementation/service_discovery/src/service_discovery_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ service_discovery_impl::process_serviceentry(
14061406
VSOMEIP_ERROR << __func__ << ": Unsupported service entry type";
14071407
}
14081408
} else if (its_type != entry_type_e::FIND_SERVICE
1409-
&& (_sd_ac_state.sd_acceptance_required_ || _sd_ac_state.accept_entries_)) {
1409+
&& (!_sd_ac_state.sd_acceptance_required_ || _sd_ac_state.accept_entries_)) {
14101410
// stop sending find service in repetition phase
14111411
update_request(its_service, its_instance);
14121412

0 commit comments

Comments
 (0)