Welcome! Log In Create A New Profile

Advanced

Re: [ANNOUNCE] ngx_echo v0.29: major core refactoring and more robust sequential subrequests

Matthieu Tourne
May 07, 2010 12:46PM
On Thu, May 6, 2010 at 6:54 PM, agentzh <agentzh@gmail.com> wrote:

> On Fri, May 7, 2010 at 1:56 AM, Matthieu Tourne
> <matthieu.tourne@gmail.com> wrote:
> > The new version of the echo module looks great, and it's a very good
> source
> > of inspiration for writing my own module.
>
> Glad to hear that :)
>
> > I think that would be amazing if the echo module could be used to "pipe"
> > echo directives to an upstream, in order to create completely custom
> queries
> > for example, instead of echoing data back to the user.
>
> This is a very intriguing idea and I can see the benefits of debugging
> custom TCP upstream modules :)
>
> Just to confirm my understanding, I'd ask first...are you suggesting a
> telnet module for nginx upstreams? *grin*
>
> > Do you think that would be feasible ?
>
> Given the flexibility of the nginx core, I'd say "yes" :)
>
> To be honest, I happen to be thinking about mudding with the
> ngx_http_upstream infrastructure a bit more these days ;)
>
> Cheers,
> -agentzh
>

Yes, I guess that could be done with a telnet upstream module,
then I could just do something like :

echo_subrequest /telnet_upstream -b "GET / HTTP/1.0\n ..." to completely
craft queries.

That could also be useful to me, for example to let an untouched query go
through,
using something like :

echo_read_request_body;
echo_subrequest $echo_request_method '/telnet_upstream' -b
$echo_client_request_headers$echo_request_body;

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

[ANNOUNCE] ngx_echo v0.29: major core refactoring and more robust sequential subrequests

agentzh May 05, 2010 05:20AM

Re: [ANNOUNCE] ngx_echo v0.29: major core refactoring and more robust sequential subrequests

Sergey A. Osokin May 05, 2010 05:38AM

Re: [ANNOUNCE] ngx_echo v0.29: major core refactoring and more robust sequential subrequests

agentzh May 05, 2010 05:54AM

Re: [ANNOUNCE] ngx_echo v0.29: major core refactoring and more robust sequential subrequests

agentzh May 06, 2010 07:52AM

Re: [ANNOUNCE] ngx_echo v0.29: major core refactoring and more robust sequential subrequests

Matthieu Tourne May 06, 2010 02:06PM

Re: [ANNOUNCE] ngx_echo v0.29: major core refactoring and more robust sequential subrequests

agentzh May 06, 2010 09:58PM

Re: [ANNOUNCE] ngx_echo v0.29: major core refactoring and more robust sequential subrequests

Matthieu Tourne May 07, 2010 12:46PM

Re: [ANNOUNCE] ngx_echo v0.29: major core refactoring and more robust sequential subrequests

agentzh May 09, 2010 11:46PM

Re: [ANNOUNCE] ngx_echo v0.29: major core refactoring and more robust sequential subrequests

Matthieu Tourne May 10, 2010 03:16PM

Re: [ANNOUNCE] ngx_echo v0.29: major core refactoring and more robust sequential subrequests

peterjanovsky May 10, 2010 04:12PM

Re: [ANNOUNCE] ngx_echo v0.29: major core refactoring and more robust sequential subrequests

agentzh May 10, 2010 11:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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