diff options
author | Dimitri Staessens <[email protected]> | 2023-03-05 12:17:46 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2023-03-08 11:40:29 +0100 |
commit | f16b4a1954ab4fbca0ec403f6a04c80375328921 (patch) | |
tree | 234c1f8dae1d9b72667c2a937d3eab3b2d1dd681 /src/irmd/irm_flow.h | |
parent | f38936e62cfcf8f0add97c4bea3b5662f3e07a19 (diff) | |
download | ouroboros-f16b4a1954ab4fbca0ec403f6a04c80375328921.tar.gz ouroboros-f16b4a1954ab4fbca0ec403f6a04c80375328921.zip |
irmd: Fix cleanup of failed flows
If a flow allocation failed, the flow was left in a pending state
instead of a failed state, which caused the irmd to hang on exit.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/irmd/irm_flow.h')
-rw-r--r-- | src/irmd/irm_flow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irmd/irm_flow.h b/src/irmd/irm_flow.h index 02c51f62..af613d36 100644 --- a/src/irmd/irm_flow.h +++ b/src/irmd/irm_flow.h @@ -34,6 +34,7 @@ enum flow_state { FLOW_NULL = 0, FLOW_ALLOC_PENDING, + FLOW_ALLOC_REQ_PENDING, FLOW_ALLOCATED, FLOW_DEALLOC_PENDING, FLOW_DESTROY |