Skip to content

Commit

Permalink
Merge pull request #474 from jennydaman/abort-scp
Browse files Browse the repository at this point in the history
Handle Pdu::AbortRQ in dicom-storescp
  • Loading branch information
Enet4 authored Mar 16, 2024
2 parents dbd41ed + 63ecf78 commit dd47652
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions storescp/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ fn run(scu_stream: TcpStream, args: &App) -> Result<(), Whatever> {
association.client_ae_title()
);
}
Pdu::AbortRQ { source } => {
warn!("Aborted connection from: {:?}", source);
break;
},
_ => {}
}
}
Expand Down

0 comments on commit dd47652

Please sign in to comment.