/curl/docs/cmdline-opts/ |
H A D | ftp-ssl-ccc-mode.md | 19 Sets the CCC mode. The passive mode does not initiate the shutdown, but 20 instead waits for the server to do it, and does not reply to the shutdown from 21 the server. The active mode initiates the shutdown and waits for a reply from
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_FTP_SSL_CCC.md | 42 Do not initiate the shutdown, but wait for the server to do it. Do not send a 47 Initiate the shutdown and wait for a reply.
|
/curl/lib/ |
H A D | connect.c | 155 data->conn->shutdown.start[sockindex] = *nowp; in Curl_shutdown_start() 166 if(!conn->shutdown.start[sockindex].tv_sec || !conn->shutdown.timeout_ms) in Curl_shutdown_timeleft() 173 left_ms = conn->shutdown.timeout_ms - in Curl_shutdown_timeleft() 174 Curl_timediff(*nowp, conn->shutdown.start[sockindex]); in Curl_shutdown_timeleft() 185 for(i = 0; conn->shutdown.timeout_ms && (i < 2); ++i) { in Curl_conn_shutdown_timeleft() 186 if(!conn->shutdown.start[i].tv_sec) in Curl_conn_shutdown_timeleft() 201 struct curltime *pt = &data->conn->shutdown.start[sockindex]; in Curl_shutdown_clear() 207 struct curltime *pt = &data->conn->shutdown.start[sockindex]; in Curl_shutdown_started() 374 BIT(shutdown); /* cf has shutdown */ 891 if(!baller || !baller->cf || baller->shutdown) in cf_he_shutdown() [all …]
|
H A D | transfer.c | 241 if(data->req.shutdown) { in xfer_recv_resp() 781 bool shutdown, /* shutdown connection at transfer end. Only in xfer_setup() argument 794 DEBUGASSERT(!shutdown || (sockindex == -1) || (writesockindex == -1)); in xfer_setup() 815 k->shutdown = shutdown; in xfer_setup() 858 bool shutdown, in Curl_xfer_setup2() argument 865 shutdown, shutdown_err_ignore); in Curl_xfer_setup2()
|
H A D | transfer.h | 107 bool shutdown, bool shutdown_err_ignore);
|
H A D | request.h | 153 BIT(shutdown); /* request end will shutdown connection */
|
H A D | cf-https-connect.c | 59 BIT(shutdown); 364 if(!cf_hc_baller_is_active(b) || b->shutdown) in cf_hc_shutdown() 368 b->shutdown = TRUE; /* treat a failed shutdown as done */ in cf_hc_shutdown() 373 if(ballers[i] && !ballers[i]->shutdown) in cf_hc_shutdown()
|
H A D | request.c | 61 req->shutdown = FALSE; in Curl_req_soft_reset() 164 req->shutdown = FALSE; in Curl_req_hard_reset() 327 if(data->req.shutdown) { in req_flush()
|
H A D | cfilters.c | 195 while(cf && (!cf->connected || cf->shutdown)) in Curl_conn_shutdown() 220 if(!cf->shutdown) { in Curl_conn_shutdown() 232 cf->shutdown = TRUE; in Curl_conn_shutdown() 545 while(cf && cf->shutdown) in Curl_conn_cf_adjust_pollset()
|
H A D | cfilters.h | 234 BIT(shutdown); /* != 0 iff this filter has shut down */
|
H A D | cf-h2-proxy.c | 1180 if(!cf->connected || !ctx->h2 || cf->shutdown || ctx->conn_closed) { in cf_h2_proxy_shutdown() 1212 cf->shutdown = (result || *done); in cf_h2_proxy_shutdown() 1264 else if(ctx->sent_goaway && !cf->shutdown) { in cf_h2_proxy_adjust_pollset()
|
H A D | http2.c | 2447 else if(ctx->sent_goaway && !cf->shutdown) { in cf_h2_adjust_pollset() 2549 if(!cf->connected || !ctx->h2 || cf->shutdown || ctx->conn_closed) { in cf_h2_shutdown() 2587 cf->shutdown = (result || *done); in cf_h2_shutdown()
|
H A D | urldata.h | 852 } shutdown; member
|
/curl/tests/server/ |
H A D | sws.c | 1623 shutdown(datafd, SHUT_RDWR); in http_connect() 1643 shutdown(clientfd[i], SHUT_RD); in http_connect() 1661 shutdown(serverfd[i], SHUT_RD); in http_connect() 1678 shutdown(clientfd[i], SHUT_WR); in http_connect() 1698 shutdown(serverfd[i], SHUT_WR); in http_connect() 1726 shutdown(clientfd[i], SHUT_RD); in http_connect() 1731 shutdown(clientfd[i], SHUT_WR); in http_connect() 1739 shutdown(serverfd[i], SHUT_RD); in http_connect() 1744 shutdown(serverfd[i], SHUT_WR); in http_connect() 1813 shutdown(serverfd[i], SHUT_RDWR); in http_connect() [all …]
|
/curl/docs/libcurl/ |
H A D | libcurl-env-dbg.md | 141 Make a blocking, graceful shutdown of all remaining connections when 144 gives the shutdown timeout in milliseconds.
|
/curl/tests/ |
H A D | negtelnetserver.py | 111 self.request.shutdown(socket.SHUT_RDWR)
|
H A D | smbserver.py | 106 self.server.shutdown()
|
/curl/lib/vtls/ |
H A D | rustls.c | 981 if(!backend->conn || cf->shutdown) { in cr_shutdown() 1032 cf->shutdown = (result || *done); in cr_shutdown()
|
H A D | vtls.c | 1820 if(!cf->shutdown) { in ssl_cf_shutdown() 1827 cf->shutdown = (result || *done); in ssl_cf_shutdown() 2112 if(cf->shutdown) { in vtls_shutdown_blocking() 2151 cf->shutdown = (result || *done); in vtls_shutdown_blocking()
|
H A D | bearssl.c | 1089 if(!backend->active || cf->shutdown) { in bearssl_shutdown() 1112 cf->shutdown = (result || *done); in bearssl_shutdown()
|
H A D | mbedtls.c | 1222 if(!backend->initialized || cf->shutdown) { 1294 cf->shutdown = (result || *done);
|
H A D | schannel.c | 2302 if(cf->shutdown) { in schannel_shutdown() 2319 if(!backend->ctxt || cf->shutdown) { in schannel_shutdown() 2426 cf->shutdown = (result || *done); in schannel_shutdown()
|
H A D | wolfssl.c | 1623 if(!wctx->handle || cf->shutdown) { in wolfssl_shutdown() 1710 cf->shutdown = (result || *done); in wolfssl_shutdown()
|
H A D | gtls.c | 2069 if(!backend->gtls.session || cf->shutdown || in gtls_shutdown() 2125 cf->shutdown = (result || *done); in gtls_shutdown()
|
H A D | openssl.c | 695 #define BIO_get_shutdown(x) ((x)->shutdown) 696 #define BIO_set_shutdown(x,v) ((x)->shutdown=(v)) 1898 if(!octx->ssl || cf->shutdown) { in ossl_shutdown() 1997 cf->shutdown = (result || *done); in ossl_shutdown()
|