/curl/lib/ |
H A D | noproxy.c | 47 unsigned int bits) in Curl_cidr4_match() argument 52 if(bits > 32) in Curl_cidr4_match() 61 if(bits && (bits != 32)) { in Curl_cidr4_match() 62 unsigned int mask = 0xffffffff << (32 - bits); in Curl_cidr4_match() 79 unsigned int bits) in Curl_cidr6_match() argument 87 if(!bits) in Curl_cidr6_match() 88 bits = 128; in Curl_cidr6_match() 90 bytes = bits / 8; in Curl_cidr6_match() 91 rest = bits & 0x07; in Curl_cidr6_match() 107 (void)bits; in Curl_cidr6_match() [all …]
|
H A D | noproxy.h | 34 unsigned int bits); 37 unsigned int bits);
|
H A D | url.c | 664 (!conn->bits.protoconnstart || !conn->bits.close)) { in xfer_may_multiplex() 901 if(needle->bits.conn_to_host != conn->bits.conn_to_host) in url_match_conn() 906 if(needle->bits.conn_to_port != conn->bits.conn_to_port) in url_match_conn() 970 if(needle->bits.httpproxy != conn->bits.httpproxy || in url_match_conn() 971 needle->bits.socksproxy != conn->bits.socksproxy) in url_match_conn() 980 if(needle->bits.tunnel_proxy != conn->bits.tunnel_proxy) in url_match_conn() 1078 || !needle->bits.httpproxy || needle->bits.tunnel_proxy in url_match_conn() 1347 conn->bits.httpproxy = (conn->bits.proxy && in allocate_conn() 1351 conn->bits.socksproxy = (conn->bits.proxy && !conn->bits.httpproxy); in allocate_conn() 2012 if(conn->bits.httpproxy && !conn->bits.tunnel_proxy) { [all …]
|
H A D | conncache.c | 129 conn->bits.in_cpool = TRUE; in cpool_bundle_add() 139 conn->bits.in_cpool = FALSE; in cpool_bundle_remove() 396 conn->bits.in_cpool = FALSE; in cpool_remove_conn() 703 DEBUGASSERT(!conn->bits.in_cpool); in cpool_discard_conn() 720 conn->bits.aborted = aborted; in cpool_discard_conn() 800 if(conn->bits.in_cpool) { in Curl_cpool_disconnect() 802 DEBUGASSERT(!conn->bits.in_cpool); in Curl_cpool_disconnect() 827 if(!conn->bits.shutdown_handler) { in cpool_run_conn_shutdown_handler() 849 conn->bits.shutdown_handler = TRUE; in cpool_run_conn_shutdown_handler() 865 if(conn->bits.shutdown_filters) { in cpool_run_conn_shutdown() [all …]
|
H A D | ftp.c | 1118 if(!conn->bits.ftp_use_eprt && conn->bits.ipv6) in ftp_state_use_port() 1121 conn->bits.ftp_use_eprt = TRUE; in ftp_state_use_port() 1250 if(!conn->bits.ftp_use_epsv && conn->bits.ipv6) in ftp_state_use_pasv() 1714 if(conn->bits.ipv6 in ftp_epsv_disable() 1716 && !(conn->bits.tunnel_proxy || conn->bits.socksproxy) in ftp_epsv_disable() 1726 conn->bits.ftp_use_epsv = FALSE; in ftp_epsv_disable() 1748 if(conn->bits.tunnel_proxy || conn->bits.socksproxy) in control_address() 1880 if(conn->bits.proxy) { in ftp_state_pasv_resp() 1909 if(conn->bits.tcp_fastopen && !conn->bits.reuse && !ftpc->newhost[0]) { in ftp_state_pasv_resp() 1961 conn->bits.do_more = TRUE; in ftp_state_pasv_resp() [all …]
|
H A D | curl_sha512_256.c | 332 MHDx_rotr64(curl_uint64_t value, unsigned int bits) in MHDx_rotr64() argument 334 bits %= 64; in MHDx_rotr64() 335 if(0 == bits) in MHDx_rotr64() 338 return (value >> bits) | (value << (64 - bits)); in MHDx_rotr64()
|
H A D | http.c | 430 if(conn->bits.close) in http_perhapsrewind() 722 (conn->bits.httpproxy && conn->bits.proxy_user_passwd) || in Curl_http_output_auth() 769 || conn->bits.netrc in Curl_http_output_auth() 1179 !conn->bits.retry && in Curl_http_done() 1264 proxy = conn->bits.httpproxy && !conn->bits.tunnel_proxy ? in Curl_dynhds_add_custom() 1411 proxy = conn->bits.httpproxy && !conn->bits.tunnel_proxy ? in Curl_add_custom_headers() 1790 if(conn->bits.httpproxy && !conn->bits.tunnel_proxy) { in Curl_http_target() 2380 if(conn->bits.close) { in Curl_http_firstwrite() 2499 conn->bits.proxy && !conn->bits.tunnel_proxy in Curl_http() 3507 if(conn->bits.close && in http_on_response() [all …]
|
H A D | http_proxy.c | 62 if(cf->conn->bits.conn_to_host) in Curl_http_proxy_get_destination() 71 else if(cf->conn->bits.conn_to_port) in Curl_http_proxy_get_destination() 79 *pipv6_ip = cf->conn->bits.ipv6_ip; in Curl_http_proxy_get_destination()
|
H A D | socks.c | 299 if(conn->bits.httpproxy) in do_SOCKS4() 596 if(conn->bits.httpproxy) in do_SOCKS5() 913 if(conn->bits.ipv6_ip) { in do_SOCKS5() 1160 conn->bits.httpproxy ? in socks_proxy_cf_connect() 1162 conn->bits.conn_to_host ? in socks_proxy_cf_connect() 1167 conn->bits.httpproxy ? (int)conn->http_proxy.port : in socks_proxy_cf_connect() 1169 conn->bits.conn_to_port ? conn->conn_to_port : in socks_proxy_cf_connect()
|
H A D | urldata.h | 498 #define CONN_IS_PROXIED(x) x->bits.proxy 861 struct ConnectBits bits; /* various state-flags for this connection */ member 1004 ((c)->bits.socksproxy ? (c)->socks_proxy.host.dispname : \ 1005 (c)->bits.httpproxy ? (c)->http_proxy.host.dispname : \ 1006 (c)->bits.conn_to_host ? (c)->conn_to_host.dispname : \ 1010 (c)->bits.conn_to_host ? (c)->conn_to_host.dispname : \
|
H A D | connect.c | 346 else if((bit)closeit != conn->bits.close) { in Curl_conncontrol() 347 conn->bits.close = closeit; /* the only place in the source code that in Curl_conncontrol() 733 if(conn->bits.socksproxy) in is_connected() 735 else if(conn->bits.httpproxy) in is_connected() 739 if(conn->bits.conn_to_host) in is_connected() 1277 if(ctx->state < CF_SETUP_CNNCT_SOCKS && cf->conn->bits.socksproxy) { in cf_setup_connect() 1286 if(ctx->state < CF_SETUP_CNNCT_HTTP_PROXY && cf->conn->bits.httpproxy) { in cf_setup_connect() 1297 if(cf->conn->bits.tunnel_proxy) { in cf_setup_connect()
|
/curl/tests/unit/ |
H A D | unit1614.c | 41 unsigned int bits; member 135 bool match = Curl_cidr4_match(list4[i].a, list4[i].n, list4[i].bits); 138 list4[i].a, list4[i].n, list4[i].bits, 145 bool match = Curl_cidr6_match(list6[i].a, list6[i].n, list6[i].bits); 148 list6[i].a, list6[i].n, list6[i].bits,
|
/curl/src/ |
H A D | tool_cb_rea.c | 68 fd_set bits; in tool_read_cb() local 76 FD_ZERO(&bits); in tool_read_cb() 77 FD_SET(per->infd, &bits); in tool_read_cb() 78 if(!select(per->infd + 1, &bits, NULL, NULL, &timeout)) in tool_read_cb()
|
/curl/.github/scripts/ |
H A D | badwords.txt | 66 64-bits:64 bits or 64-bit 67 32-bits:32 bits or 32-bit
|
/curl/docs/libcurl/opts/ |
H A D | CURLINFO_LASTSOCKET.md | 41 type is 64 bits large while its 'long' is 32 bits. Use the
|
H A D | CURLOPT_WS_OPTIONS.md | 37 Available bits in the bitmask
|
H A D | CURLINFO_HTTPAUTH_AVAIL.md | 33 bits is explained in the CURLOPT_HTTPAUTH(3) option for curl_easy_setopt(3).
|
H A D | CURLOPT_TIMEVALUE_LARGE.md | 36 argument. On systems where 'long' is only 32 bits wide, this option has to be
|
H A D | CURLOPT_HTTPAUTH.md | 33 The available bits are listed below. If more than one bit is set, libcurl 105 This is a convenience macro that sets all bits and thus makes libcurl pick any 110 This is a convenience macro that sets all bits except Basic and thus makes
|
H A D | CURLINFO_PROXYAUTH_AVAIL.md | 33 bits is explained in the CURLOPT_PROXYAUTH(3) option for curl_easy_setopt(3).
|
/curl/lib/vquic/ |
H A D | curl_msh3.c | 239 unsigned char bits; in drain_stream_from_other_thread() local 242 bits = CURL_CSELECT_IN; in drain_stream_from_other_thread() 244 bits |= CURL_CSELECT_OUT; in drain_stream_from_other_thread() 245 if(data->state.select_bits != bits) { in drain_stream_from_other_thread() 246 data->state.select_bits = bits; in drain_stream_from_other_thread() 256 unsigned char bits; in h3_drain_stream() local 259 bits = CURL_CSELECT_IN; in h3_drain_stream() 261 bits |= CURL_CSELECT_OUT; in h3_drain_stream() 262 if(data->state.select_bits != bits) { in h3_drain_stream() 263 data->state.select_bits = bits; in h3_drain_stream() [all …]
|
/curl/docs/cmdline-opts/ |
H A D | haproxy-clientip.md | 29 of consecutive zeroes. The total number of decoded bits must exactly be 128.
|
H A D | noproxy.md | 32 network bits out of the address to use in the comparison. For example
|
/curl/docs/libcurl/ |
H A D | curl_easy_header.md | 109 The **origin** field in the "curl_header" struct has one of the origin bits 111 there are 5 bits with defined use. The undocumented 27 remaining bits are
|
H A D | curl_version_info.md | 121 *version_num* is a 24 bit number created like this: \<8 bits major number\> | 122 \<8 bits minor number\> | \<8 bits patch number\>. Version 7.9.8 is therefore 130 one or more bits set. The use of this field is deprecated: use 132 associated bits.
|