Welcome! Log In Create A New Profile

Advanced

Re: embedded perl, patch

October 28, 2011 01:18AM
On Thu, Oct 27, 2011 at 10:40:01PM +0300, Alexandr Gomoliako wrote:
> > Really ? nginx is not single line pipelined commands.
> > Single mistake should not stop whole server. I believe that nginx
> > should log mistake and allows other requests to proceed.
>
> Let's say we are creating a handler and this handler died but
> was able to create another one. This another handler can cause
> some damage, do things it isn't supposed to. I understand that
> it isn't the case currently, but it will be with asynchronous subs.

So you usually shutdown host if some single line script fails,
because it may cause some damage: files corruption, etc ?

> I think it's possible to make perl modules behave more like
> native modules, even create configuration directives.
> This will enable anyone to do much more much faster,
> which is the whole point of embedding perl I believe.

Native modules never abort worker process. Never.
They try to handle failure gracefully, logging error for developer
and showing 500 page for user.


--
Igor Sysoev

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

embedded perl, patch

Alexandr Gomoliako 1445 October 26, 2011 06:48PM

Re: embedded perl, patch

Alexandr Gomoliako 674 October 27, 2011 02:52PM

Re: embedded perl, patch

Igor Sysoev 827 October 27, 2011 03:02PM

Re: embedded perl, patch

Alexandr Gomoliako 498 October 27, 2011 03:42PM

Re: embedded perl, patch

Igor Sysoev 728 October 28, 2011 01:18AM

Re: embedded perl, patch

Alexandr Gomoliako 531 October 28, 2011 07:56AM

Re: embedded perl, patch

Alexandr Gomoliako 837 November 15, 2011 01:54PM

Re: embedded perl, patch

Igor Sysoev 761 October 27, 2011 03:22PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 183
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready