[PATCH] fix endless loop hang in KIO::Connection::read()

Oswald Buddenhagen ossi at kde.org
Mon Sep 30 16:40:14 BST 2002


On Mon, Sep 30, 2002 at 02:22:20PM +0200, Stephan Kulow wrote:
> Hmm, if the peer closes the connection you should get a SIG_PIPE.
>
no. sigpipe happens when you _write_ to a dead pipe/socket (and you can
inhibit this, btw). otherwise it's simply an eof - 0 bytes read.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list