IntersectMBO / IntersectMBO/ouroboros-network

Design a clean shutdown for connectTo

Open
#2,605 1 comment 0 reactions 0 assignees View on GitHub
mux
Dominant language
Haskell
Stars
296
Forks
104
Avg merge
2d 10h
Merged PRs (30d)
4

Description

One of the problems other teams have is that when they cancel a thread that runs a multiplexer it shows mux errors like this one:
```
[piotr-la:cardano.node.LocalErrorPolicy:Error:44] [2020-07-03 12:35:17.35 UTC] [String "ErrorPolicyUnhandledApplicationException (MuxError {errorType = MuxBearerClosed, errorMsg = \" closed when reading data, waiting on next header True\", errorStack = []})",String "ErrorPolicyTrace",String "LocalAddress {getFilePath = \"\"}"]
```

This pollutes test output. This could be done either by classifying errors better or expose a clean shutdown method.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.