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

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

[debbugs-tracker] bug#23000: closed (send doesn't check for closed socke


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#23000: closed (send doesn't check for closed socket)
Date: Mon, 20 Jun 2016 16:19:01 +0000

Your message dated Mon, 20 Jun 2016 18:18:05 +0200
with message-id <address@hidden>
and subject line Re: bug#23000: update from wingo
has caused the debbugs.gnu.org bug report #23000,
regarding send doesn't check for closed socket
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
23000: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23000
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: send doesn't check for closed socket Date: Sat, 12 Mar 2016 19:57:35 +0100 User-agent: Roundcube Webmail/1.1.2 The attached client.scm will crash with a SIGPIPE (based on strace) when run. It should raise an error instead.

The error happens when we try to send over socket that is closed on the other side.

Happens on 2.0 and master.

--
Amirouche ~ amz3 ~ http://www.hyperdev.fr

Attachment: client.scm
Description: Text document

Attachment: shared.scm
Description: Text document

Attachment: server.scm
Description: Text document


--- End Message ---
--- Begin Message --- Subject: Re: bug#23000: update from wingo Date: Mon, 20 Jun 2016 18:18:05 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
tags 2300 +notabug
close
thanks

On Tue 03 May 2016 11:07, Amirouche Boubekki <address@hidden> writes:

> wingo said:
>
>> wingo | i don't think that's a guile bug -- i think in that case you
>> need to handle SIGPIPE
>> wingo | b/c posix is weird
>> wingo | (sigaction SIGPIPE SIG_IGN)
>> wingo | the web server does it.

Yep!


--- End Message ---

reply via email to

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