aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-06-10 10:40:33 +0200
committerIngela Anderton Andin <[email protected]>2019-06-10 10:40:33 +0200
commit163cc998f96a4dc6e2d9151cce257dabeb1b1353 (patch)
tree8efc42e6407398666423b8c91f0e0c50a20506d3 /lib/ssl/src
parent639ca4526b3f378bd1635fbc56f134d9c01e624b (diff)
parent6692b1e347a6d843f11fe8117af1c1534a505085 (diff)
downloadotp-163cc998f96a4dc6e2d9151cce257dabeb1b1353.tar.gz
otp-163cc998f96a4dc6e2d9151cce257dabeb1b1353.tar.bz2
otp-163cc998f96a4dc6e2d9151cce257dabeb1b1353.zip
Merge branch 'ingela/ssl/dtls-multiplxor/ERL-962/OTP-15864' into maint
* ingela/ssl/dtls-multiplxor/ERL-962/OTP-15864: ssl: Add missing gen_server return value in DTLS packet demux process
Diffstat (limited to 'lib/ssl/src')
-rw-r--r--lib/ssl/src/dtls_packet_demux.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssl/src/dtls_packet_demux.erl b/lib/ssl/src/dtls_packet_demux.erl
index c6431b55a9..94b350eaa5 100644
--- a/lib/ssl/src/dtls_packet_demux.erl
+++ b/lib/ssl/src/dtls_packet_demux.erl
@@ -154,9 +154,9 @@ handle_info({Transport, Socket, IP, InPortNo, _} = Msg, #state{listener = Socket
handle_info({PassiveTag, Socket},
#state{active_n = N,
listener = Socket,
- transport = {_,_,_, udp_error, PassiveTag}}) ->
- next_datagram(Socket, N);
-
+ transport = {_, _, _, _, PassiveTag}} = State) ->
+ next_datagram(Socket, N),
+ {noreply, State};
%% UDP socket does not have a connection and should not receive an econnreset
%% This does however happens on some windows versions. Just ignoring it
%% appears to make things work as expected!