static void resolve_proxy_addr (SoupMessageQueueItem *item, SoupProxyURIResolver *proxy_resolver) { item->state = SOUP_MESSAGE_RESOLVING_PROXY_URI; soup_message_queue_item_ref (item); soup_proxy_uri_resolver_get_proxy_uri_async ( proxy_resolver, soup_message_get_uri (item->msg), soup_session_get_async_context (item->session), item->cancellable, resolved_proxy_uri, item); }
static void resolve_proxy_addr (SoupMessageQueueItem *item, SoupProxyURIResolver *proxy_resolver) { if (item->resolving_proxy_addr) return; item->resolving_proxy_addr = TRUE; soup_message_queue_item_ref (item); soup_proxy_uri_resolver_get_proxy_uri_async ( proxy_resolver, soup_message_get_uri (item->msg), soup_session_get_async_context (item->session), item->cancellable, resolved_proxy_uri, item); }