Displaying 1 result from an estimated 1 matches for "pcustheaders".
2010 Jun 04
0
How I improved wininet for SSL through a proxy...
...verb, LPCWSTR path, LPCWSTR version )
{
...
static const WCHAR szZero[] = { '0',0 };
static const WCHAR szConnect[] = {'C','O','N','N','E','C','T',0};
...
if (!strcmpW(szContent_Length, lpwhr->pCustHeaders[i].lpszField) && !strcmpW(verb, szConnect))
{
// CONNECT ... Content-Length: 0 <-- seems to help POST over SSL w/ Proxy
req[n++] = szCrLf;
req[n++] = lpwhr->pCustHeaders[i].lpszField;
req[n++] = szColon;
req[n++] = s...