DCIOM SCP event handle abort #805
stefanoostwegel
started this conversation in
Associating
Replies: 1 comment
-
For now i have created the following for the abort. def storescp_handle_abort(event):
"""
Whenever an abort comes in, this method should clear out any connection to prevent blocking items.
A log entry is created as well to inform about the abort.
:param event:
:return:
"""
logger.warning('An abort was received, killing connections')
event.assoc.abort()
event.assoc.kill()
event.assoc.unbind(event=event)
return 0xC001 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So we are running a DICOM SCP in pynetdicom to handle a c-store and c-find.
This alle works very well and are happy with the results.
Increaisngly clients send aborts when they crash or have issues.
At this point, it looks like our scp drowns in unhandled connections and waits for timeouts.
I have found the event evt.EVT_ABORTED but i'm struggling to find a way to implement it in our SCP.
In other words:
How do i deal with aborted associations in our SCP on a windows machine?
Beta Was this translation helpful? Give feedback.
All reactions