lkml.org 
[lkml]   [2000]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsendfile() ignores SIGPIPE handler?
Hi,

I'm doing an FTP server application (the last problem I had
was solved very well by the list -- thanks), and I've run into
a problem. I use sendfile() to send the packets wherever
possible, and since I don't want my application crashing all
the time, I ignore SIGPIPE. However, if the SIGPIPE occurs
inside sendfile(), it isn't properly ignored. I've tried doing
a sigblock() and adding a real signal handler -- nothing helps.
I'm currently running Linux kernel version 2.2.14 and glibc
2.1.2.

Since I don't follow linux-kernel, I'd appreciate if any
replies were Cc'ed to me.

Thanks,

/* Steinar */
--
Homepage: http://members.xoom.com/sneeze/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.048 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site