Skip to content

dgram: generalized send queue to handle close

Rodrigo Muino Tomonari requested to merge github/fork/mcollina/dgram-queue into master
Checklist
  • tests and code linting passes
  • a test and/or benchmark is included
  • the commit message follows commit guidelines
Affected core subsystem(s)

dgram

Description of change

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: https://github.com/nodejs/node/issues/7061

Merge request reports

Loading