Skip to content
This repository has been archived by the owner on Jun 11, 2023. It is now read-only.

Automatically delete connections upon process completion/kill #388

Open
renatomassaro opened this issue Feb 16, 2018 · 0 comments
Open

Automatically delete connections upon process completion/kill #388

renatomassaro opened this issue Feb 16, 2018 · 0 comments

Comments

@renatomassaro
Copy link
Member

renatomassaro commented Feb 16, 2018

The Process signal system should automatically delete underlying connections - unless declared otherwise.

Note that this behaviour is desired when the process is deleted, regardless of the signal (SIGTERM or SIGKILL, for instance), so it should create a handler that also lets the Processable know why the process was deleted. Another implementation option is to extend the usual {:delete, [Event.t]} with signatures that include, for instance, [delete_src_connection: false].

Example scenario: FileTransferProcess creates FTP connection that should automatically be deleted upon completion/abortion.

Look for references to #388

@renatomassaro renatomassaro self-assigned this Feb 16, 2018
@renatomassaro renatomassaro changed the title Automatically delete process connections upon completion/kill Automatically delete connections upon process completion/kill Feb 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant