Skip to content

Commit

Permalink
vsomeip 2.10.15
Browse files Browse the repository at this point in the history
  • Loading branch information
juergengehring committed May 22, 2018
1 parent 3fe1afd commit a2b23e3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Changes
=======
v2.10.15
- Fix remote event caching

v2.10.14
- Bugfix for pending subscriptions when same port is used
for TCP and UDP endpoint option.
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ project (vsomeip)

set (VSOMEIP_MAJOR_VERSION 2)
set (VSOMEIP_MINOR_VERSION 10)
set (VSOMEIP_PATCH_VERSION 14)
set (VSOMEIP_PATCH_VERSION 15)
set (VSOMEIP_VERSION ${VSOMEIP_MAJOR_VERSION}.${VSOMEIP_MINOR_VERSION}.${VSOMEIP_PATCH_VERSION})
set (PACKAGE_VERSION ${VSOMEIP_VERSION}) # Used in documentatin/doxygen.in
set (CMAKE_VERBOSE_MAKEFILE off)
Expand Down
19 changes: 18 additions & 1 deletion implementation/routing/src/routing_manager_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,24 @@ bool routing_manager_impl::deliver_notification(
if (its_event) {
if (!its_event->is_provided()) {
if (its_event->get_subscribers().size() == 0) {
return true; // as there is nothing to do
// no subscribers for this specific event / check subscriptions
// to other events of the event's eventgroups
bool cache_event = false;
for (const auto eg : its_event->get_eventgroups()) {
std::shared_ptr<eventgroupinfo> egi = find_eventgroup(_service, _instance, eg);
for (const auto &e : egi->get_events()) {
cache_event = (e->get_subscribers().size() > 0);
if (cache_event) {
break;
}
}
if (cache_event) {
break;
}
}
if (!cache_event) {
return true; // as there is nothing to do
}
}
const uint32_t its_length(utility::get_payload_size(_data, _length));
std::shared_ptr<payload> its_payload
Expand Down

0 comments on commit a2b23e3

Please sign in to comment.