Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linger to dealers #599

Merged
merged 1 commit into from Oct 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGES.md
Expand Up @@ -68,12 +68,16 @@ To be released.
- Fixed a bug where `Swarm<T>` renders actions in same block multiple times
when reorg happens. [[#579]]
- `LiteDBStore` became to guarantee atomicity of storing blocks. [[#584]]
- Fixed a bug that `BlockChain<T>` had appended a block even if fails to evaluate. [[#591]]
- Fixed a bug that `BlockChain<T>` had appended a block even if fails to
evaluate. [[#591]]
- Fixed a bug that `TurnClient` had thrown `IOException` when accepting
connection through a TURN relay server. [[#453], [#599]]

[#209]: https://github.com/planetarium/libplanet/issues/209
[#405]: https://github.com/planetarium/libplanet/issues/405
[#409]: https://github.com/planetarium/libplanet/issues/409
[#447]: https://github.com/planetarium/libplanet/issues/447
[#453]: https://github.com/planetarium/libplanet/issues/453
[#462]: https://github.com/planetarium/libplanet/issues/462
[#469]: https://github.com/planetarium/libplanet/pull/469
[#485]: https://github.com/planetarium/libplanet/pull/485
Expand All @@ -98,6 +102,7 @@ To be released.
[#584]: https://github.com/planetarium/libplanet/pull/584
[#591]: https://github.com/planetarium/libplanet/pull/591
[#592]: https://github.com/planetarium/libplanet/pull/592
[#599]: https://github.com/planetarium/libplanet/pull/599


Version 0.6.0
Expand Down
1 change: 1 addition & 0 deletions Libplanet/Net/Swarm.cs
Expand Up @@ -2056,6 +2056,7 @@ private void DoReply(object sender, NetMQQueueEventArgs<Message> e)

using (var dealer = new DealerSocket(ToNetMQAddress(req.Peer)))
{
dealer.Options.Linger = Timeout.InfiniteTimeSpan;
_logger.Debug(
"Trying to send {@Message} to {PeerAddress}...",
req.Message,
Expand Down