Re: Re: Copying environment variables

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

 



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

All,

On 6/30/20 12:42, Christopher Schultz wrote:
> 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
> (?)

I've updated my proposed patch in BZ 64388 which implements the above
(except #4).

Comments are appreciated. I'm trying to get mod_proxy and friends to
feature-parity with mod_jk.

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

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl77dHcACgkQHPApP6U8
pFhc2xAAhqNS4dvTAC6f8U8rqlxjOmY+Sq/svB9zHo4j2HDpAZqBgfE6kuZ3qmMk
+OCRWq7URI9CIik1mSwt/bbpHw1Zko3EZS1PKJdJIXmvBmAxI8eCTBJS/hqsk58t
PM2IXjDK4F0mHNkMKylJ7Qi7aXJ1QR/cNfQRgZnbzUL5HWqeiHKXpMfRuCvW9NRv
JDyl3O3T/Aox3HJeTTd2NSrSshmPUcsLr2J1X7mn7npgKx7896T7e91N9GGAmOSm
P+lqUKJgohvniMjJusimXv2vU43BJzu5IkKqSOl8obnnNc0tl2tmqcU2T8Ih5BiL
g2iwFcJQuewy7tkfaYPWquQuCpvuiOMTMqL7YBzAzukDG/gkPTAWgSrr1uVfCTjd
15c4biPCGmCuhSF41qpfM3yTuQAfxQdbjQKgI1ia8OWGalKIas+KWdsAvveF4JT2
5cuBHzBG3mWsuh2zKxZhHDEjCRTPnOY1sLnoU1tU3BNMAvLhPUn05MvPvVGNSROZ
qEn+WMr6u/wKod0O5GTRkLFhM8v9KtbZIeuc8SWP4WTodh7j3sU0HuzWb4fjlM2Y
A4l+u/Xk53jmeVfEtFSPntnFZPrED5G3Nrrhdsmo6B/fCcVeUv8xeu5aZyxI6jW0
uHzMqcE3NoWCRe9LIXgzqynDwguTlxHCMtudBbupEoD9w3xJnJM=
=9VBq
-----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