Skip to content

Commit 012ca41

Browse files
Duarte FonsecaDuarte Fonseca
authored andcommitted
Release 3.5.6
Changes: Ensures buffer lifetime into async handler Revert Execution context of subscription handlers Ensure "shutdown_and_close" is called on "stop" Notify stop func when receives EOF during stop process Fix availability triggers on client error is_sending_ set to false on restart fix host assignment with non-local routing fix big_payload_test_local_tcp_queue_limited is_sending_ set to false when socket is not open reset multicast_id_ tse - fix linger options Allow daemon to send ADD_CLIENT to connected clients Fix Bad File Descriptor on UDP server Endpoints Support multiple IPsec activation files per connection Execution context of subscription handlers Global request debounce time Stop find/offer debounce timers Fix NSM logs with empty Container Id strings Add config for wait_route_netlink_notification Optimize data lookups Remove the get_mutex_ from runtime_impl lock registration_state_mutex_ before sending Fix REMOTE_ERROR on response protect request_debounce_timer_running_ Convert pending_sd_offers_ from vector to set Dont call shutdown_and_close if socket is connecting When the threshold is set to 1 in the configuration, the initial event sent for client 2 is always multicast rather than unicast. (#763) Small code modernizations (#835) Delay on event_tests Service application Removes remote_subscribers_ member variable Log the steps during suspend/resume Improve sd accept offer log Do not log when doing nothing start endpoint only on creation reset request_debounce_timer_running_ Reset routing root on net_state_change off Added additional offer check Remove interface index in RTM_DELLINK Perform endpoint port assignment on vnet on Unspecify catch exception Remove pending subscriptions after on subscription call Update documentation and logs Enable global dispatch settings Enable configuration of client-specific debouncing Fix incorrect microsecond extraction in logging timestamps (#844) Vsomeip dissector v0.3 Reduce npdu_tests timeout Network-tests: debounce tests Disable dlt-daemon for network-tests Updates cmake to build hello_world example Wrap options are linker flags (#780) test/common/CMakeLists.txt: add missing link with dlt (#602) force on_availability IO threads exit mitigation
1 parent 384f94b commit 012ca41

File tree

5 files changed

+100
-8
lines changed

5 files changed

+100
-8
lines changed

Android.bp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ cc_library_shared {
7979

8080
cflags: [
8181
"-DWITHOUT_SYSTEMD",
82-
"-DVSOMEIP_VERSION=\"3.5.5\"",
83-
"-DVSOMEIP_COMPAT_VERSION=\"3.5.5\"",
82+
"-DVSOMEIP_VERSION=\"3.5.6\"",
83+
"-DVSOMEIP_COMPAT_VERSION=\"3.5.6\"",
8484
"-DVSOMEIP_BASE_PATH=\"/vendor/run/someip/\"",
8585
"-DUSE_DLT",
8686
],

Android.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ LOCAL_CFLAGS := \
101101
-frtti \
102102
-fexceptions \
103103
-DWITHOUT_SYSTEMD \
104-
-DVSOMEIP_VERSION=\"3.5.5\" \
104+
-DVSOMEIP_VERSION=\"3.5.6\" \
105105
-DVSOMEIP_BASE_PATH=\"/vendor/run/someip/\" \
106106
-Wno-unused-parameter \
107107
-Wno-non-virtual-dtor \
@@ -154,7 +154,7 @@ LOCAL_CFLAGS := \
154154
-frtti \
155155
-fexceptions \
156156
-DWITHOUT_SYSTEMD \
157-
-DVSOMEIP_VERSION=\"3.5.5\" \
157+
-DVSOMEIP_VERSION=\"3.5.6\" \
158158
-DVSOMEIP_BASE_PATH=\"/vendor/run/someip/\" \
159159
-Wno-unused-parameter \
160160
-Wno-non-virtual-dtor \
@@ -201,8 +201,8 @@ LOCAL_CFLAGS := \
201201
-frtti \
202202
-fexceptions \
203203
-DWITHOUT_SYSTEMD \
204-
-DVSOMEIP_VERSION=\"3.5.5\" \
205-
-DVSOMEIP_COMPAT_VERSION=\"3.5.5\" \
204+
-DVSOMEIP_VERSION=\"3.5.6\" \
205+
-DVSOMEIP_COMPAT_VERSION=\"3.5.6\" \
206206
-DVSOMEIP_BASE_PATH=\"/vendor/run/someip/\" \
207207
-Wno-unused-parameter \
208208
-Wno-non-virtual-dtor \

CHANGES

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,97 @@
11
Changes
22
=======
3+
v3.5.6
4+
- routing_manager_client
5+
- Forcing the ON_AVAILABLE log and send subscription of requested services even if availability was
6+
previously known.
7+
- Remove pending subscription entry right after calling on_subscription from application impl - race
8+
condition
9+
- Add missing mutex on request_debounce_timeout_ck and reset request_debounce_timer_running_ if
10+
requests_to_debounce_ is empty - race condition (issue: missing request)
11+
- lock registration_state_mutex_ before sending subscribes and unsubscribes - race condition
12+
- re-request service availability triggers from the routing host when a client loses the connection
13+
to a service provider
14+
15+
- routing_manager_impl
16+
- Convert pending_sd_offers_ from vector to set to avoid repeated service entries.
17+
18+
- routing_manager_stub
19+
- Send a `config_command` to share the _client hostname with the _target application. the
20+
config_command message is only sent after the routing_info is sent, thereby guaranteeing
21+
that the routing_info is processed first.
22+
- Send ADD_CLIENT command to all the client registered, without considering if they are
23+
requesting services from this client.
24+
25+
- routing_manager_base
26+
- Added a change to add_known_client so that the order of calling config_command and
27+
routing_info_command would not matter. This change only has impact when the clients adds itself
28+
as a known_client and was made to safeguard its hostname.
29+
30+
- endpoints
31+
- local comunication
32+
- Force endpoint to perform port assignment when local network interface becomes unavailable.
33+
- Check on local_tcp_client and local_uds_client if socket is open before sending.
34+
- Do not call shutdown_and_close_socket if socket state is connecting - race condition
35+
- A condition variable was implemented on local-tcp_client endpoint to notify the stop process
36+
to exit the 10ms wait if an EOF is received in receive_cbk, since the queue is cleared in this case.
37+
- Ensuring the lifetime of message_buffer_ptr on uds.
38+
- external communication
39+
- A state machine was created to cascade the stop -> init + start The goal was to ensure that
40+
the udp_server endpoint waits on both unicast and multicast stop, and after they are both stopped,
41+
and the flag restarting is set, the init and start can be called. (issue: Bad File Descriptor)
42+
- Syncronize the join and leave process of udp server multicast sockets. also (issue: in some situations
43+
after STR, vsomeip will not join the multicast group used by service discovery).
44+
- leave and join multicast address only starts when network is ready. (issue: join/leave multicast was
45+
causing CPU load, because this process starts when network is not ready).
46+
- Remove use of linger-with-timeout in tse, which fixes blocking socket operations
47+
- Ensure "shutdown_and_close" is called on "stop".
48+
- local and external communication
49+
- Endpoints would start every time find_or_create_local would execute, even if endpoint already existed.
50+
- Fix is_sending_ status
51+
- Increase mutex_ scope to include was_not_connected flag on connect (issue: REMOTE_ERROR on response)
52+
- cancel_and_connect_cbk was updated to only report the connection as successfully terminated when
53+
cancel_and_connect_cbk is called without error. Previously, it was reporting the connection as successfully
54+
terminated even when there was a connection error, preventing the endpoint from being.
55+
restarted.
56+
57+
- netlink
58+
- Removes the interface index when we get a RTM_DELLINK.
59+
- Added an option to consider the reset of sd_route_set_ when interface goes down. This is enabled by default.
60+
61+
- security
62+
- For each received response/notification, call is_client_allowed_to_offer to check whether the sending client
63+
is allowed to offer the service. This is done only for internal TCP communication; for UDS the check is done
64+
with the bound client.
65+
66+
- service discovery
67+
- Fix multicast threshold for initial events.
68+
- Stop find/offer debounce timers when the service discovery is stopped.
69+
- Added a mecaism on start of SD, to try rejooin the multicast address if any message was received by 1.1s
70+
(default timer) (issue: in some situations after STR, vsomeip will not join the multicast group used by
71+
service discovery).
72+
73+
- IO threads
74+
- To mitigate IO threads exit and stalled threads, a solution in which the io_context object processing is
75+
ran for determined duration was developed. This feature is disable by default and can be enable by
76+
configurations.
77+
78+
- configurations
79+
- Added configuration to enable io thread mitigation.
80+
- Enable configuration of client-specific debouncing.
81+
- Allow global configuration of maximum (additional) dispatchers and dispatch time.
82+
- Unspecify catch exception for boost exceptions.
83+
- Added configuration to consider the reset of sd_route_set_ when interface goes down. This is enabled by
84+
default.
85+
- Enable global configuration of request debounce time.
86+
- Support multiple IPsec activation files per connection.
87+
88+
- application_impl
89+
- Fix host assignment with non-local routing: add SO_REUSEADDR to the non-local routing host check
90+
91+
- runtime
92+
- Remove the get_mutex_ from runtime_impl - This mutex is not needed, as the static initialization of the
93+
shared_ptr is atomic. (issue: tombstone in application shutdown)
94+
395
v3.5.5
496
- Fix build issue on Ubuntu 24.04
597
- Fixing change that was introduced on Fix for Find messages commit

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ set (VSOMEIP_COMPAT_NAME vsomeip)
1111

1212
set (VSOMEIP_MAJOR_VERSION 3)
1313
set (VSOMEIP_MINOR_VERSION 5)
14-
set (VSOMEIP_PATCH_VERSION 5)
14+
set (VSOMEIP_PATCH_VERSION 6)
1515
set (VSOMEIP_HOTFIX_VERSION 0)
1616

1717
set (VSOMEIP_VERSION ${VSOMEIP_MAJOR_VERSION}.${VSOMEIP_MINOR_VERSION}.${VSOMEIP_PATCH_VERSION})

libvsomeip.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- name: libvsomeip
2-
version: 3.5.5
2+
version: 3.5.6
33
vendor: Lynx Team
44
license:
55
concluded: CLOSED and MPLv2

0 commit comments

Comments
 (0)