Skip Menu |

This queue is for tickets about the IO-Multiplex CPAN distribution.

Report information
The Basics
Id: 39131
Status: stalled
Priority: 0/
Queue: IO-Multiplex

People
Owner: Nobody in particular
Requestors: MARKOV [...] cpan.org
Cc:
AdminCc:

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



Subject: No write-only filehandles possible
I have created an apache-like single process webserver based on IO::Multiplex. Things like file reading and file-writing for internal server administration must get re-routed through the select() as well, otherwise the daemon would block. However, it is impossible to use a write-only file-handler. +> does work, gladly, but is a lousy work-around.
True. Gladly sockets and pipes are always both read and write. Support for files in select() only on few systems, like Linux
MARKOV, Do you have any patches or suggestions to help with this issue? -- Rob
CC: ;
Subject: Re: [rt.cpan.org #39131] No write-only filehandles possible
Date: Tue, 24 Nov 2015 09:08:48 +0100
To: Rob Brown via RT <bug-IO-Multiplex [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Rob Brown via RT (bug-IO-Multiplex@rt.cpan.org) [151123 22:36]: Show quoted text
> Queue: IO-Multiplex > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=39131 > > > Do you have any patches or suggestions to help with this issue?
Ancient. The ticket lists a work-around: open as "+>". When this get documented it "solves" this issue. If I remember well, IO::Multiplex has no infrastructure to administer write-only handles. When I started to rework that, it drifted away fast and far: that became the IOMux distribution. I only use the latter. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Use IOMux