Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Starting with unix-dgram@0.1.0 there is support for using `connect` in unix DGRAM sockets. It allows to have some kind of congestion control via the `congestion` and `writable` events. - This patch adds the `unix-connect` protocol that uses this functionality. While in congestion it enquees the messages. Once in writable mode it flushes the queue and keeps sending messages as normal. - It avoids problems like the ones described in bnoordhuis/node-unix-dgram#4.
- Loading branch information
1 parent
ec2aba2
commit ab69600
Showing
3 changed files
with
66 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters