Skip Menu |
 

This queue is for tickets about the Danga-Socket CPAN distribution.

Report information
The Basics
Id: 129484
Status: new
Priority: 0/
Queue: Danga-Socket

People
Owner: Nobody in particular
Requestors: e [...] 80x24.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Attachments
0001-deal-with-EINTR-in-IO-Poll-path.patch



Subject: [PATCH] deal with EINTR in IO::Poll path
Date: Wed, 8 May 2019 02:44:46 +0000
To: bug-Danga-Socket [...] rt.cpan.org
From: Eric Wong <e [...] 80x24.org>
Download (untitled) / with headers
text/plain 161b
IO::Poll::_poll returns -1 on EINTR, so we must not scan @poll on in those cases since it can falsely report $state readiness when $count == -1. (see attached)

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #129484] [PATCH] deal with EINTR in IO::Poll path
Date: Wed, 8 May 2019 06:45:18 +0000
To: bug-Danga-Socket [...] rt.cpan.org
From: Eric Wong <e [...] 80x24.org>
Download (untitled) / with headers
text/plain 394b
Btw, I should note the IO::KQueue code path has a similar bug. Ideally, it should be fixed in IO::KQueue, but that's also seems abandoned: https://rt.cpan.org/Ticket/Display.html?id=116615 Anyways, I have a local fork of Danga::Socket for public-inbox which evals and reads $@ to workaround this bug: https://public-inbox.org/meta/20190505045614.GA7031@ailurophile/#iZ30lib:PublicInbox:DS.pm


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.