From 104650cb1ccd4f407da0ba7e1d9bd54c011479f8 Mon Sep 17 00:00:00 2001 From: Juergen Gehring Date: Thu, 25 Jan 2018 00:40:02 -0800 Subject: vsomeip 2.7.2 --- implementation/endpoints/src/tcp_client_endpoint_impl.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'implementation/endpoints') diff --git a/implementation/endpoints/src/tcp_client_endpoint_impl.cpp b/implementation/endpoints/src/tcp_client_endpoint_impl.cpp index 61a8b48..a66ad26 100644 --- a/implementation/endpoints/src/tcp_client_endpoint_impl.cpp +++ b/implementation/endpoints/src/tcp_client_endpoint_impl.cpp @@ -332,7 +332,6 @@ void tcp_client_endpoint_impl::receive_cbk( missing_capacity_ = 0; } else if (max_message_size_ != MESSAGE_SIZE_UNLIMITED && current_message_size > max_message_size_) { - std::lock_guard its_lock(socket_mutex_); recv_buffer_size_ = 0; recv_buffer_.resize(recv_buffer_size_initial_, 0x0); recv_buffer_.shrink_to_fit(); @@ -368,7 +367,6 @@ void tcp_client_endpoint_impl::receive_cbk( has_full_message = true; // trigger next loop } } else { - std::lock_guard its_lock(socket_mutex_); VSOMEIP_ERROR << "tce::c<" << this << ">rcb: recv_buffer_size is: " << std::dec << recv_buffer_size_ << " but couldn't read " -- cgit v1.2.1