bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23808: Emacs 25 open-network-stream, make-network-process


From: Paul Eggert
Subject: bug#23808: Emacs 25 open-network-stream, make-network-process
Date: Thu, 11 Aug 2016 02:14:18 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

[CC'ing this to Lars, since this bug seems to have been introduced by the async DNS changes in February.]

Attached is a proposed patch for Bug#23808. The patch attempts to fix the bug reported by my anonymous correspondent, who writes "It appears that before the refactoring, make-network-process would not create a process object if the socket connection failed, or if it had been interrupted by ^G. However after the new refactoring, the process object is created upfront with status 'run', before the connection is attempted. The refactoring failed to preserve the semantics."

Attachment: 0001-Fix-process-leak-with-make-network-process.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]