Searched refs:myhttp (Results 1 – 1 of 1) sorted by relevance
2197 http_t myhttp; /* Local copy of HTTP data */ in http_upgrade() local2207 memcpy(&myhttp, http, sizeof(myhttp)); in http_upgrade()2214 httpClearFields(&myhttp); in http_upgrade()2215 httpSetField(&myhttp, HTTP_FIELD_CONNECTION, "upgrade"); in http_upgrade()2216 httpSetField(&myhttp, HTTP_FIELD_UPGRADE, "TLS/1.0, SSL/2.0, SSL/3.0"); in http_upgrade()2218 if ((ret = httpOptions(&myhttp, "*")) == 0) in http_upgrade()2224 while (httpUpdate(&myhttp) == HTTP_CONTINUE); in http_upgrade()2227 httpFlush(&myhttp); in http_upgrade()2233 http->fd = myhttp.fd; in http_upgrade()2234 http->error = myhttp.error; in http_upgrade()[all …]