Release instead of Abort when network_timeout expires
See original GitHub issueHello!
I’m using the default network_timeout
, which is 60 seconds. After 60 seconds of inactivity, the association aborts
I: Aborting Association
D: Abort Parameters:
D: ============================ BEGIN A-ABORT PDU =============================
D: Abort Source: DUL service-user
D: Abort Reason: No reason given
D: ============================= END A-ABORT PDU ==============================
Is there a way to set the association to get released, rather than aborted, after the timeout expires?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Connection (Java Platform SE 7 ) - Oracle Help Center
Releases this Connection object's database and JDBC resources immediately instead of waiting for them to be automatically released. void, commit().
Read more >Long-Term Decline in US Abortions Reverses, Showing ...
The long-term decline in abortions in the United States that started 30 years ago has reversed, according to new data from the Guttmacher ......
Read more >With Roe Overturned, What Comes Next for Abortion Rights?
Today's decision revokes the federal constitutional right to abortion, and with it our agency over our lives and futures.
Read more >Understanding Pregnancy Loss in the Context of Abortion ...
This brief examines how policies aimed at limiting abortion may have negative consequences on people experiencing pregnancy loss.
Read more >In 6-to-3 Ruling, Supreme Court Ends Nearly 50 Years of ...
The decision will lead to all but total bans on the procedure in about half of the states. ... Abortion ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve added the
Association.network_timeout_response
attribute - if you set it to"A-RELEASE"
then it’ll do the normal association release instead of abort when the network timeout expires.I agree with what you wrote, that’s also how I see it:
In the meantime we’ve implemented a timeout mechanism in Python, based on this: https://stackoverflow.com/questions/2281850/timeout-function-if-it-takes-too-long-to-finish We now count the time since the association was last active, and properly releases it if it’s been idle for 50 seconds (before the 60 seconds timeout of
network_timeout
).If it would be possible to achieve the same natively with pynetdicom, by adding a config option, that would be amazing! It would save us all the timeout logic 😃