http://bugs.winehq.org/show_bug.cgi?id=27828
--- Comment #2 from Juan Lang juan_lang@yahoo.com 2011-07-18 17:00:08 CDT --- A minimal implementation shouldn't be so terribly hard: set the appinfo_t's accessType, proxy, and proxyBypass to whatever's passed in. Still, doing so will take a little bit of drudge work:
1. You'd probably want to add a function APPINFO_SetOption, next to APPINFO_QueryOption in internet.c. Use it to handle setting the appinfo_t's proxy settings. 2. Add APPINFO_SetOption to APPINFOVtbl. 3. For each SetOption function, call APPINFO_SetOption through the appinfo_t's vtbl.
E.g., in http.c:HTTPREQ_SetOption, you'd call req->session->appInfo->hdr->vtbl->SetOption. E.g., in http.c:HTTPSESSION_SetOption, you'd call ses->appInfo->hdr->vtbl->SetOption.
You could probably separate steps 1. and 2. into one patch, and step 3. into a second.