dgram: generalized send queue to handle close · nodejs/node@51a2041 · GitHub
Skip to content

Commit 51a2041

Browse files
mcollinacjihrig
authored andcommitted
dgram: generalized send queue to handle close
If the udp socket is not ready and we are accumulating messages to send, it needs to delay closing the socket when all messages are flushed. Fixes: #7061 PR-URL: #7066 Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent dbbcb9d commit 51a2041

2 files changed

Lines changed: 39 additions & 11 deletions

File tree

lib/dgram.js

Lines changed: 21 additions & 11 deletions
Lines changed: 18 additions & 0 deletions

0 commit comments

Comments
 (0)