search for: szconnect

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

Did you mean: s_connect
2010 Jun 04
0
How I improved wininet for SSL through a proxy...
...ig step forward for me. Here it is (the original logic I'm enhancing is in blue): static LPWSTR HTTP_BuildHeaderRequestString( http_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 POS...