Commit ed2a8a97 authored by Mickaël Turnel's avatar Mickaël Turnel
Browse files

Fix wrong socket closed in dual mode

parent 67114d45
master dev/parallel_tests feature/add_server_groupchat_tester feature/address-refactoring feature/allow_ipv6_dns_servers_to_be_disabled feature/bearer_auth feature/conference_dialout feature/crypto++ feature/hybrid_object feature/improve_logs feature/linphone-vcard-contacts-list-provisioning feature/more_iterates feature/more_logs feature/pre_refresh_listener feature/refactor-event feature/sdp-belr feature/swift_push_unit_tests feature/tmp_voip feature/to_string feature/uwp_nuget feature/video_image_resize feature/yocto-kirkstone fix/add_debug_logs fix/audio-unit-callkit-master fix/auth_event_memory_leak fix/auth_info_replacement fix/avoid-memory-leaks-timer-sources fix/check-tests fix/commented_broken_tests fix/contact-handling fix/dns-ttl fix/fixes-from-5.4-march fix/http_provider_memory_leak fix/ios_build_add_libbelle-sip-tester_framework fix/prack fix/prack_auth fix/prack_retransmision_2 fix/pre_mbe_dtls3.6.1_with_belle_sip_loop_fix fix/retry_after fix/small_bug_fixes fix/undesired-behaviours fix/update-check fix/user_agent_grammar fix/video_conf_with_new_proto_packaging fix/warnings_treated_as_error_arch hotfix/4.2 hotfix/gh_issues_templates_syntax_error release/4.2 release/4.3 release/4.4 release/4.5 release/5.0 release/5.1 release/5.2 release/5.3 release/5.4 test/dummy_change_to_trigger_tester_launch 5.5.0-alpha 5.4.2 5.4.1 5.4.0 5.4.0-beta 5.4.0-alpha 5.3.107 5.3.106 5.3.105 5.3.104 5.3.102 5.3.101 5.3.100 5.3.99 5.3.97 5.3.96 5.3.95 5.3.94 5.3.93 5.3.92 5.3.90 5.3.89 5.3.88 5.3.87 5.3.86 5.3.85 5.3.84 5.3.83 5.3.81 5.3.79 5.3.77 5.3.74 5.3.73 5.3.72 5.3.71 5.3.70 5.3.69 5.3.67 5.3.65 5.3.64 5.3.63 5.3.62 5.3.61 5.3.60 5.3.59 5.3.58 5.3.57 5.3.56 5.3.55 5.3.54 5.3.53 5.3.52 5.3.51 5.3.50 5.3.49 5.3.46 5.3.45 5.3.44 5.3.42 5.3.41 5.3.38 5.3.37 5.3.36 5.3.35 5.3.34 5.3.33 5.3.29 5.3.27 5.3.26 5.3.25 5.3.24 5.3.23 5.3.22 5.3.21 5.3.19 5.3.18 5.3.15 5.3.13 5.3.12 5.3.11 5.3.10 5.3.7 5.3.6 5.3.5 5.3.4 5.3.3 5.3.1 5.3.0 5.3.0-beta 5.3.0-alpha 5.2.114 5.2.113 5.2.112 5.2.111 5.2.109 5.2.108 5.2.107 5.2.106 5.2.105 5.2.102 5.2.100 5.2.98 5.2.97 5.2.95 5.2.94 5.2.93 5.2.91 5.2.89 5.2.86 5.2.85 5.2.83 5.2.78 5.2.73 5.2.71 5.2.70 5.2.64 5.2.63 5.2.58 5.2.57 5.2.54 5.2.53 5.2.52 5.2.51 5.2.49 5.2.45 5.2.42 5.2.37 5.2.32 5.2.30 5.2.29 5.2.28 5.2.27 5.2.26 5.2.25 5.2.23 5.2.22 5.2.21 5.2.16 5.2.12 5.2.11 5.2.9 5.2.6 5.2.5 5.2.4 5.2.2 5.2.0 5.2.0-alpha 5.1.72 5.1.71 5.1.67 5.1.66 5.1.64 5.1.61 5.1.60 5.1.58 5.1.55 5.1.51 5.1.47 5.1.45 5.1.44 5.1.32 5.1.31 5.1.12 5.1.10 5.1.3 5.1.2 5.1.0 5.1.0-beta 5.1.0-alpha 5.0.71 5.0.70 5.0.68 5.0.67 5.0.66 5.0.63 5.0.62 5.0.61 5.0.58 5.0.55 5.0.53 5.0.51 5.0.50 5.0.49 5.0.46 5.0.44 5.0.37 5.0.36 5.0.32 5.0.28 5.0.27 5.0.26 5.0.24 5.0.23 5.0.22 5.0.20 5.0.18 5.0.16 5.0.15 5.0.13 5.0.12 5.0.11 5.0.8 5.0.5 5.0.3 5.0.0 5.0.0-beta 5.0.0-alpha 4.5.22 4.5.20 4.5.15 4.5.14 4.5.13 4.5.12 4.5.10 4.5.7 4.5.3 4.5.1 4.5.0 4.5.0-alpha 4.4.34 4.4.33 4.4.32 4.4.31 4.4.29 4.4.28 4.4.27 4.4.26 4.4.25 4.4.24 4.4.22 4.4.21 4.4.19 4.4.18 4.4.17 4.4.16 4.4.13 4.4.12 4.4.10 4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.2 4.4.0 4.4.0-beta 4.4.0-alpha 4.3.2 4.3.1 4.3.0 4.3.0-beta
No related merge requests found
Pipeline #324 failed with stage
in 0 seconds
Showing with 1 addition and 1 deletion
.DS_Store 0 → 100644
File added
src/.DS_Store 0 → 100644
File added
......@@ -91,7 +91,7 @@ static int tunnel_channel_connect(belle_sip_channel_t *obj, const struct addrinf
static void tunnel_channel_close(belle_sip_channel_t *obj) {
belle_sip_tunnel_channel_t *chan = (belle_sip_tunnel_channel_t *)obj;
if (chan->tunnelsocket2 != NULL) {
tunnel_client_close_one_dir_socket(chan->tunnelclient, chan->tunnelsocket);
tunnel_client_close_one_dir_socket(chan->tunnelclient, chan->tunnelsocket2);
chan->tunnelsocket2 = NULL;
if (chan->tunnelsocket != NULL) {
tunnel_client_close_one_dir_socket(chan->tunnelclient, chan->tunnelsocket);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment