You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modules-dev@httpd.apache.org by Ruben Campos <rc...@gmail.com> on 2013/01/07 19:10:09 UTC
lbmethod and TCP header
Hello everybody,
I'm part of a project that involves creating a new loadbalancer method for
the proxy module's balancer.
Following the round robin example provided with the httpd source code I
have registered a proxy_balancer_method that will select which worker is
the best.
In this method, just like the other ones, I receive the following args:
a proxy_balancer *balancer and a request_rec *r. For my method to work I
need to access the information in the TCP header. Is it possible, in any
way, to do that? If so, how can I access that information (for example,
sequence and acknowledgement numbers)?
Thank you for your time,
Best regards,
Ruben Campos.
Re: lbmethod and TCP header
Posted by Jim Jagielski <ji...@jaguNET.com>.
httpd and APR don't provide that data... For httpd,
it's all at the protocol layer (HTTP).
On Jan 7, 2013, at 1:10 PM, Ruben Campos <rc...@gmail.com> wrote:
> Hello everybody,
>
> I'm part of a project that involves creating a new loadbalancer method for
> the proxy module's balancer.
> Following the round robin example provided with the httpd source code I
> have registered a proxy_balancer_method that will select which worker is
> the best.
>
> In this method, just like the other ones, I receive the following args:
> a proxy_balancer *balancer and a request_rec *r. For my method to work I
> need to access the information in the TCP header. Is it possible, in any
> way, to do that? If so, how can I access that information (for example,
> sequence and acknowledgement numbers)?
>
> Thank you for your time,
> Best regards,
>
> Ruben Campos.
Re: lbmethod and TCP header
Posted by Ruben Campos <rc...@gmail.com>.
Hi,
So, what I understood is that it is possible to get the TCP headers.
What I do not understand is your question. I'm not using mod_rewrite, I
don't even load the module on the httpd.conf. Can you explain it better?
All I need is to access the TCP header on the function that finds the best
worker from the balancer.
Again, thank you,
best regards,
Ruben Campos
Ruben de Campos
http://about.me/RubenCampos
2013/1/7 Idel Fuschini <id...@gmail.com>
> Hi,
> It's possible have an example of code for pass environment value to
> mod_rewrite through httpd.conf?
>
> Inviato da iPhone
Re: lbmethod and TCP header
Posted by Idel Fuschini <id...@gmail.com>.
Hi,
It's possible have an example of code for pass environment value to mod_rewrite through httpd.conf?
Inviato da iPhone