• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/curl-7.21.7/lib/

Lines Matching refs:easy_handle

100   struct SessionHandle *easy_handle;
108 struct SessionHandle *easy_handle; /* the easy handle for this unit */
245 infof(easy->easy_handle,
253 easy->easy_handle->multi->num_alive--;
439 CURL *easy_handle)
445 struct SessionHandle *data = easy_handle;
452 if(!GOOD_EASY_HANDLE(easy_handle))
456 if(((struct SessionHandle *)easy_handle)->multi)
472 if(cl->easy_handle == (struct SessionHandle *)easy_handle) {
487 easy->easy_handle = easy_handle;
491 easy->easy_handle->multi_pos = easy;
495 if(easy->easy_handle->dns.hostcache &&
496 (easy->easy_handle->dns.hostcachetype == HCACHE_PRIVATE)) {
497 Curl_hash_destroy(easy->easy_handle->dns.hostcache);
498 easy->easy_handle->dns.hostcache = NULL;
499 easy->easy_handle->dns.hostcachetype = HCACHE_NONE;
502 if(!easy->easy_handle->dns.hostcache ||
503 (easy->easy_handle->dns.hostcachetype == HCACHE_NONE)) {
504 easy->easy_handle->dns.hostcache = multi->hostcache;
505 easy->easy_handle->dns.hostcachetype = HCACHE_MULTI;
508 if(easy->easy_handle->state.connc) {
509 if(easy->easy_handle->state.connc->type == CONNCACHE_PRIVATE) {
511 Curl_rm_connc(easy->easy_handle->state.connc);
513 easy->easy_handle->state.connc = multi->connc;
519 easy->easy_handle->state.connc = multi->connc;
522 easy->easy_handle->state.connc->type = CONNCACHE_MULTI;
540 Curl_easy_addmulti(easy_handle, multi_handle);
543 easy->easy_handle->set.one_easy = easy;
551 Curl_expire(easy->easy_handle, 1);
568 CURLcode res = Curl_ch_connc(easy_handle, multi->connc, newmax);
571 curl_multi_remove_handle(multi_handle, easy_handle);
633 (easy->easy_conn->data == easy->easy_handle));
636 nice to put the easy_handle in a good known state when this returns. */
653 easy->easy_conn->data = easy->easy_handle;
659 Curl_expire(easy->easy_handle, 0);
667 if(easy->easy_handle->dns.hostcachetype == HCACHE_MULTI) {
669 easy->easy_handle->dns.hostcache = NULL;
670 easy->easy_handle->dns.hostcachetype = HCACHE_NONE;
689 easy->easy_conn->data = easy->easy_handle;
693 Curl_getoff_all_pipelines(easy->easy_handle, easy->easy_conn);
698 multi_connc_remove_handle(multi, easy->easy_handle);
700 if(easy->easy_handle->state.connc->type == CONNCACHE_MULTI) {
703 easy->easy_handle->state.connc = NULL;
707 easy->easy_handle->state.lastconnect = -1;
729 Curl_easy_addmulti(easy->easy_handle, NULL); /* clear the association
740 if(msg->extmsg.easy_handle == easy->easy_handle) {
755 easy->easy_handle->set.one_easy = NULL; /* detached */
758 easy->easy_handle->multi_pos = NULL;
831 if(easy->easy_handle->state.pipe_broke || !easy->easy_conn)
837 easy->easy_conn->data = easy->easy_handle;
949 if(!GOOD_EASY_HANDLE(easy->easy_handle))
952 data = easy->easy_handle;
1673 msg->extmsg.easy_handle = data;
1699 struct WildcardData *wc = &easy->easy_handle->wildcard;
1701 if(easy->easy_handle->set.wildcardmatch) {
1713 if(easy->easy_handle->set.wildcardmatch) {
1779 cl->easy_handle->state.shared_conn = NULL; /* no more shared */
1780 if(cl->easy_handle->state.closed)
1783 Curl_close(cl->easy_handle);
1798 if(easy->easy_handle->dns.hostcachetype == HCACHE_MULTI) {
1800 easy->easy_handle->dns.hostcache = NULL;
1801 easy->easy_handle->dns.hostcachetype = HCACHE_NONE;
1805 easy->easy_handle->state.connc = NULL;
1807 Curl_easy_addmulti(easy->easy_handle, NULL); /* clear the association */
1910 entry = sh_addentry(multi->sockhash, s, easy->easy_handle);
1917 multi->socket_cb(easy->easy_handle,
1962 if(entry->easy == easy->easy_handle) {
1963 if(isHandleAtHead(easy->easy_handle, easy_conn->recv_pipe))
1976 if(entry->easy == easy->easy_handle) {
1977 if(isHandleAtHead(easy->easy_handle, easy_conn->send_pipe))
1996 multi->socket_cb(easy->easy_handle,
2665 /* If this easy_handle was the last one in charge for one or more
2668 killed properly, or B) another easy_handle uses the connection.
2670 The reason why we need to have a easy_handle associated with a live
2673 keep a easy_handle handle around are using FTP(S). Such connections
2722 (multi->connc->connects[i]->data == cl->easy_handle)) {
2731 /* cl->easy_handle is now killable */
2734 cl->easy_handle->state.shared_conn= NULL;
2736 if(cl->easy_handle->state.closed) {
2737 infof(data, "Delayed kill of easy handle %p\n", cl->easy_handle);
2740 Curl_close(cl->easy_handle);
2749 if(cl->easy_handle == data)
2763 cl->easy_handle = data;
2783 (void *)easy->easy_handle,