Welcome! Log In Create A New Profile

Advanced

Re: source code analysis

agentzh
December 29, 2010 11:28PM
On Thu, Dec 30, 2010 at 12:17 PM, Michael Schurter
<michael.schurter@urbanairship.com> wrote:
>
> Unfortunately as long as the check that I remove in the initial patch
> exists I don't think a 3rd party module is going to be able to change
> nginx's existing behavior of responding with a 411 Length Required.
>

It takes advantage of the "error_page" mechanism in the nginx core,
which is kinda like a try-catch exception mechanism.

To be honest, ngx_chunkin uses lots of hacks to avoid patching the
nginx core and in retrospect, I think it was not a right decision. It
is my 3rd module after all. It could be much more general and much
simpler and much more efficient if it were provided in the form of a
(small) patch :) I may rewrite that module sometime in the future.

Cheers,
-agentzh

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

source code analysis

nn hust 8581 December 28, 2010 12:24PM

Re: source code analysis

Valery Kholodkov 1779 December 28, 2010 03:04PM

Re: source code analysis

nn hust 1606 December 28, 2010 08:02PM

Re: source code analysis

Michael Schurter 1493 December 28, 2010 08:04PM

Re: source code analysis

nn hust 1808 December 28, 2010 08:10PM

Re: source code analysis

Simon Liu 1638 December 29, 2010 12:40AM

Re: source code analysis

agentzh 1600 December 29, 2010 11:14PM

Re: source code analysis

Michael Schurter 1288 December 29, 2010 11:20PM

Re: source code analysis

agentzh 1558 December 29, 2010 11:28PM

Re: source code analysis

agentzh 1432 December 29, 2010 11:18PM

Re: source code analysis

nn hust 2065 December 30, 2010 06:24AM



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

Online Users

Guests: 277
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