search for: szcontent_length

Displaying 1 result from an estimated 1 matches for "szcontent_length".

Did you mean: content_length
2010 Jun 04
0
How I improved wininet for SSL through a proxy...
...p_request_t *lpwhr, LPCWSTR 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;...