Welcome! Log In Create A New Profile

Advanced

Re: Reading from a named pipe / fifo (final version)

Brian Akins
January 22, 2012 03:52PM
On Jan 21, 2012, at 10:35 PM, Max wrote:

>
> It will block, but not indefinitely, only for as long as I want it to block.
> That's why I used alarm to give open() 5 seconds to succeed
>


5 seconds can be an eternity in internet time.

>
> Exactly, there are strict MAC (Mandatory Access Control) restrictions
> in place.

You can use MAC with a fastcgi script.

> Even if there weren't, I'd still prefer the direct approach, it's
> much simpler and cleaner, IMHO.

I guess we'll just have to disagree about that. Doing things to make nginx block for seconds at a time on purpose seems much worse than managing a simple fastcgi script. IMNSHO.


--Brian
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Reading from a named pipe / fifo

Max January 20, 2012 04:38PM

Re: Reading from a named pipe / fifo

Brian Akins January 20, 2012 05:22PM

Re[2]: Reading from a named pipe / fifo

Max January 21, 2012 11:30AM

Re: Re[2]: Reading from a named pipe / fifo

takigama January 21, 2012 12:40PM

Re[4]: Reading from a named pipe / fifo

Max January 21, 2012 08:56PM

Re[4]: Reading from a named pipe / fifo (corrected)

Max January 21, 2012 08:58PM

Re[4]: Reading from a named pipe / fifo (final version)

Max January 21, 2012 09:06PM

Re: Reading from a named pipe / fifo (final version)

Brian Akins January 21, 2012 09:28PM

Re[2]: Reading from a named pipe / fifo (final version)

Max January 21, 2012 10:38PM

Re: Reading from a named pipe / fifo (final version)

Brian Akins January 22, 2012 03:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 237
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready