Hi,
Using Connect and MITM hijack,
I need to copy proxy headers that come along the CONNECT method to request headers sent to the https server.
I put this Header in ProxyCtx.UserData in a
proxy.OnRequest().HandleConnectFunc(
But I can't see it after the MITM hijack. UserData is empty. I think it's a new context at this stage.
Is there a way to save data at the HandleConnect stage, and get it back next in a onRequest().DoFunc() to put it in a request header ?
regards,
Sam.