aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-12-04 00:56:58 -0500
committerGarrett D'Amore <garrett@damore.org>2024-12-07 13:48:43 -0800
commit9c0b9d6e4ef3909ce52b75267b38fd659447e888 (patch)
tree6b3f783e99e394c04537a955de69d090719d157d /src
parent8880e0701d28ff647d4d9bca3a1aaebe0930a8d3 (diff)
downloadnng-9c0b9d6e4ef3909ce52b75267b38fd659447e888.tar.gz
nng-9c0b9d6e4ef3909ce52b75267b38fd659447e888.tar.bz2
nng-9c0b9d6e4ef3909ce52b75267b38fd659447e888.zip
udp: hang on close after sending too large
Diffstat (limited to 'src')
-rw-r--r--src/sp/transport/udp/udp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp/transport/udp/udp.c b/src/sp/transport/udp/udp.c
index 298393a2..9a00974a 100644
--- a/src/sp/transport/udp/udp.c
+++ b/src/sp/transport/udp/udp.c
@@ -999,6 +999,7 @@ udp_pipe_send(void *arg, nni_aio *aio)
// floor. this is on the sender, so there isn't a compelling
// need to disconnect the pipe, since it we're not being
// "ill-behaved" to our peer.
+ nni_aio_finish(aio, 0, count);
nni_stat_inc(&ep->st_snd_toobig, 1);
nni_msg_free(msg);
return;