Welcome! Log In Create A New Profile

Advanced

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

agentzh
March 16, 2011 03:40AM
On Wed, Mar 16, 2011 at 3:22 PM, Alexander Kunz <akunz@ntmedia.de> wrote:
>
> Thanks so much for your detailed answer. Works like a charm :)
>

Cool :)

> But i see i can't access this from LUA?
>

No :)

>
> but is it possible to get
>
> echo_request_body
>
> directly in nginx LUA?
>

It indeed can be ported from ngx_echo to ngx_lua. Patches welcome :)

For now you can just read your disk files directly from within Lua. See

http://www.lua.org/pil/21.2.html

It may be less efficient, depending on the size of your disk files.
But generally, it can not be too slow.

No request body hassle is really needed here, I think ;)

Cheers,
-agentzh

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

Use nginx to call shell script - simplest way?

J2R March 08, 2011 07:12AM

Re: Use nginx to call shell script - simplest way?

agentzh March 08, 2011 07:22AM

Re: Use nginx to call shell script - simplest way?

J2R March 09, 2011 01:52PM

Re: Use nginx to call shell script - simplest way?

Richard Kearsley March 09, 2011 02:18PM

Re: Use nginx to call shell script - simplest way?

J2R March 09, 2011 03:48PM

Re: Use nginx to call shell script - simplest way?

agentzh March 09, 2011 10:42PM

Re: Use nginx to call shell script - simplest way?

agentzh March 09, 2011 10:56PM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

Elena Zwetkow March 10, 2011 03:20AM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

agentzh March 10, 2011 03:32AM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

Elena Zwetkow March 10, 2011 04:06AM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

agentzh March 10, 2011 04:36AM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

Alexander Kunz March 15, 2011 06:20PM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

agentzh March 15, 2011 10:32PM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

Alexander Kunz March 16, 2011 03:26AM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

agentzh March 16, 2011 03:40AM

Re: Use nginx to call shell script - simplest way?

António P. P. Almeida March 08, 2011 02:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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