Welcome! Log In Create A New Profile

Advanced

Re: XSLT2 - new module, reviews and opinions needed :)

Maxim Dounin
October 21, 2009 12:28PM
Hello!

On Wed, Oct 21, 2009 at 09:39:54AM -0400, piotreek wrote:

> And one thing more..
> I've read source of proxy_pass / memcached module to check how they use upstream. Unfortunately upstream servers are defined in nginx configure file. It's useless for us. We need to parse incoming buffers in filter, find server uri and download some content.
> Is there another way to configure upstream? During work of body_filter?
>
> In upstream.h there is only one function which adds upstream server:
> ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf, ngx_url_t *u, ngx_uint_t flags);
> It requires ngx_conf_t *cf, so it must be used during creating configuration...

Looks like you completely missed variables support in proxy_pass.
Try re-reading sources, in some cases it helps. :)

Maxim Dounin
Subject Author Posted

XSLT2 - new module, reviews and opinions needed :)

piotreek October 14, 2009 06:46AM

Re: XSLT2 - new module, reviews and opinions needed :)

Maxim Dounin October 14, 2009 07:48AM

Re: XSLT2 - new module, reviews and opinions needed :)

piotreek October 15, 2009 09:49AM

Re: XSLT2 - new module, reviews and opinions needed :)

Maxim Dounin October 15, 2009 12:06PM

Re: XSLT2 - new module, reviews and opinions needed :)

piotreek October 21, 2009 06:30AM

Re: XSLT2 - new module, reviews and opinions needed :)

Maxim Dounin October 21, 2009 12:28PM

Re: XSLT2 - new module, reviews and opinions needed :)

piotreek October 21, 2009 09:39AM

Re: XSLT2 - new module, reviews and opinions needed :)

Maxim Dounin October 21, 2009 12:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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