Subject: Re: bug#53814: process-status returns invalid/undocumented status file-error for network process

From: emacsq <[email-masked]>
Date: Mon, 07 Feb 2022 06:39:36 +0000

>
> > What's strange is when I delete such a 'file-error' process from
> > the process list, then it immediately goes to connect and then open
> > state for the given domain, which is not clear for me how it is
> > possible, since delete-process removes the process from the list
> > of processes.
>
> Presumably something is waiting for the connection to complete, and  reconnects when it is?

Apparently, url-http has some kind of a retry mechanism,
so when the failed process is deleted then the process sentinel
restarts the connection.

Which does not feel entirely right, because if I delete the process
explicitly then the process sentinel should be deactivated,
instead of being called and letting it restart the connection.