Re: [PATCH] Allow tagging requests with server address and/or port
Fabian Keil <[email protected]> Sun, 1 May 2016 15:06:33 +0200
| Newsgroups | gmane.comp.web.privoxy.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============6705255151212421733== Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/VLH_VK4Lj/gN3Z52kO7VDP5"; protocol="application/pgp-signature" --Sig_/VLH_VK4Lj/gN3Z52kO7VDP5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable [email protected] wrote: > Fabian Keil <[email protected]> wrote: > > Unless I miss something, accept_connection() should be able to set the a > > csp->listen_addr by using the socket index (the i in fds[i]) on > > csp->config->haddr[] and csp->config->hport[]. >=20 > Oh, I totally missed that csp has a pointer to the config. Sadly, it is N= ULL > when passing the client_state to accept_connection(). I solved this probl= em by > passing the config directly as argument from listen_loop(). Please see > attached patch. I also added documentation for the new '$server' feature. Thanks for the updated patch. I intent to polish and commit it in the next days. =20 Fabian --Sig_/VLH_VK4Lj/gN3Z52kO7VDP5 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXJf9aAAoJEGkYIpGLojccbmcQAIR3hmbSOa5XVuf0eWVaqX7R YgWxJVRAr3nDTe7nngKJ7eStCZoGj3gsgBirufNu3JCL96I82F2N05/RROc0o37N 977pZ20MkApmml65MdUlvFvinNzyoAb5LAzWfh9xp2RiwmcMcPrB/aIP6M5M7lvk xMced+KaV9QWK/vD/2b0XAjKNFOAv/5KLuNa72JFQl2Ni03Jif9xhR/sEr/0QJrV 71dpp4wL8R8Sn3/bg4J0jeu6ugz8skjmZQQloHE70aDZvOfrINwB1E8TyD2JSBYE DVMF8MZcu57YL+yxwxW5hA1TuYPDmGLfSReejmW0GU+KYPd9pgUdIj7Nyxpn3WW/ 9oHyBMd7sJvcPXFBIVyVFv3M5Ua/BmPZKPNUX4rbTjZM2WSZLJ0qYaDHEnASAv2F pmgBbaJkqcgFfP9BQlr9yev5AYf/YewRU85CtKVaPWws0zS1bbWzPddZF9bx2VRf EAOYXBf8lZ12F0m3a6cn5xhJnKLlcm3sKuPYO6c5jRm61+Grgq9u1mSFy8oakzjp 2FK5xLkco+eyEmqM/FF9cajdkZmYfanDwKv44rWTMAz96iZPtfQBM0DG8sN4reF8 Hir0wS0xHuuZalMqpR4z4Tl1GyS+CEIOAmLpsUPkA/FiZ7hXIDYdFHo2hw/RDzXT sPZffIyviHhRMuOJpN5F =Hwu7 -----END PGP SIGNATURE----- --Sig_/VLH_VK4Lj/gN3Z52kO7VDP5-- --===============6705255151212421733== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z --===============6705255151212421733== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ijbswa-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ijbswa-developers --===============6705255151212421733==--