Re: Re: Copying environment variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Eric,

On 6/30/20 11:47, Eric Covener wrote:
>> Does it need direct-support from mod_proxy instead of trying to
>> cobble the pieces together from BZ 64338 and other existing
>> directives? My goal with 64388 was to write the smallest patch
>> that could get the job done, but I'm not sure it's possible do to
>> it in this way.
>
> I think so.
>
> The area you're editing runs in the middle of the mod_proxy handler
> so nothing really has a chance to run between the time the real var
> is set and when you need the 2nd var set.

So it sounds like this should just be a feature of mod_proxy handled
completely internally.

Should it be an optional feature, or always enabled?

I was thinking something like this:

1. mod_proxy_balancer sets BALANCER_WORKER_STATUS env var as in BZ 64338
2. mod_proxy_ajp copies BALANCER_WORKER_STATUS to request-attribute
(that's a thing in AJP) and sends to origin server
3. mod_proxy_http copies BALANCER_WORKER_STATUS to X-Worker-Status (or
similar) request header and sends to origin server
4. other mod_proxy_* modules do similar things as necessary (?)

WDYT?

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl77a4IACgkQHPApP6U8
pFjMtxAAmnjEprfG9hBm/odPVt8DlajoZfFeiVBlD/zHGM6s072OiZQaxoWki2m2
Pr49FkGdmJbmt+u+09DLWfRswRptH1O3R9BP1qq490g1TONSsfgvJfLScEGWf5e1
79XW8v7UTlPTkDnZZEH40yLCYyO8XFsGjegrPDUpSUaWihnt7V1VrZnXjQlYIXi5
kRoY8o+71eYymB2kVMFRH5DtaE3YDZcNK24gAL5gJfZRDaB9lRUR9CCo77mGGpGC
xfMXJCj7dwImn6iqkOB89pROk9fH3sQ223O1hqd88HtEvcWD16vx4bEWRl+FyGVJ
1VfbIRdORfV1bApez5HdZl3r89zmVjsfRW5KipwNPjLgwGxjHbtV98f9hw0cthPq
Yq7n4QTQBWpnUHOLuE5y//RDF6Z/p2W8yXevXwgnM0euIkjoWaYRNdVf045C7VjH
FCwZZxL+PxXWza+3enZR34QJpf0sDWF4FuFPoOa0dlcUKiz3AqgOpO9Ac+C7qY8r
P+4NmqqTpMzC2XTDv0NWj/63n+5Rl7huDuFWqwB+PwsgO3mcdwRZVgI+DNu+9d3Z
FmnAzxBkuhartrDfM4rI4RAUiNnOT4c05qEGTeg9vkFh2pXVjtsyyBAcVei1ZcAv
L5vcRTrPAGCA2H1JzZK939DzFqvdpr1I7w+9rH4OGL0BDG+sLKw=
=FjRe
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux