Searched refs:myhttp (Results 1 – 1 of 1) sorted by relevance
2195 http_t myhttp; /* Local copy of HTTP data */ in http_upgrade() local2205 memcpy(&myhttp, http, sizeof(myhttp)); in http_upgrade()2212 httpClearFields(&myhttp); in http_upgrade()2213 httpSetField(&myhttp, HTTP_FIELD_CONNECTION, "upgrade"); in http_upgrade()2214 httpSetField(&myhttp, HTTP_FIELD_UPGRADE, "TLS/1.0, SSL/2.0, SSL/3.0"); in http_upgrade()2216 if ((ret = httpOptions(&myhttp, "*")) == 0) in http_upgrade()2222 while (httpUpdate(&myhttp) == HTTP_CONTINUE); in http_upgrade()2225 httpFlush(&myhttp); in http_upgrade()2231 http->fd = myhttp.fd; in http_upgrade()2232 http->error = myhttp.error; in http_upgrade()[all …]