/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 | 41 Do not initiate the shutdown, but wait for the server to do it. Do not send a 46 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() 156 data->conn->shutdown.timeout_ms = (data->set.shutdowntimeout > 0) ? in Curl_shutdown_start() 165 if(!conn->shutdown.start[sockindex].tv_sec || !conn->shutdown.timeout_ms) in Curl_shutdown_timeleft() 172 return conn->shutdown.timeout_ms - in Curl_shutdown_timeleft() 173 Curl_timediff(*nowp, conn->shutdown.start[sockindex]); in Curl_shutdown_timeleft() 178 struct curltime *pt = &data->conn->shutdown.start[sockindex]; in Curl_shutdown_clear() 184 struct curltime *pt = &data->conn->shutdown.start[sockindex]; in Curl_shutdown_started() 404 BIT(shutdown); /* cf has shutdown */ 922 if(!baller || !baller->cf || baller->shutdown) in cf_he_shutdown() 926 baller->shutdown = TRUE; /* treat a failed shutdown as done */ in cf_he_shutdown() [all …]
|
H A D | transfer.h | 109 bool shutdown);
|
H A D | request.c | 57 req->shutdown = FALSE; in Curl_req_soft_reset() 159 req->shutdown = FALSE; in Curl_req_hard_reset() 298 if(data->req.shutdown) { in req_flush()
|
H A D | request.h | 148 BIT(shutdown); /* request end will shutdown connection */
|
H A D | cf-https-connect.c | 59 BIT(shutdown); 347 if(!cf_hc_baller_is_active(b) || b->shutdown) in cf_hc_shutdown() 351 b->shutdown = TRUE; /* treat a failed shutdown as done */ in cf_hc_shutdown() 356 if(ballers[i] && !ballers[i]->shutdown) in cf_hc_shutdown()
|
H A D | transfer.c | 230 if(data->req.shutdown) { in Curl_xfer_recv_resp() 1119 bool shutdown /* shutdown connection at transfer end. Only in xfer_setup() argument 1130 DEBUGASSERT(!shutdown || (sockindex == -1) || (writesockindex == -1)); in xfer_setup() 1151 k->shutdown = shutdown; in xfer_setup() 1193 bool shutdown) in Curl_xfer_setup2() argument 1198 xfer_setup(data, recv_index, recv_size, FALSE, send_index, shutdown); in Curl_xfer_setup2()
|
H A D | cfilters.c | 191 while(cf && (!cf->connected || cf->shutdown)) in Curl_conn_shutdown() 215 if(!cf->shutdown) { in Curl_conn_shutdown() 227 cf->shutdown = TRUE; in Curl_conn_shutdown() 512 while(cf && cf->shutdown) in Curl_conn_cf_adjust_pollset()
|
H A D | cfilters.h | 226 BIT(shutdown); /* != 0 iff this filter has shut down */
|
H A D | cf-h2-proxy.c | 1178 if(!cf->connected || !ctx->h2 || cf->shutdown || ctx->conn_closed) { in cf_h2_proxy_shutdown() 1209 cf->shutdown = (result || *done); in cf_h2_proxy_shutdown() 1249 else if(ctx->sent_goaway && !cf->shutdown) { in cf_h2_proxy_adjust_pollset()
|
H A D | http2.c | 2377 else if(ctx->sent_goaway && !cf->shutdown) { in cf_h2_adjust_pollset() 2473 if(!cf->connected || !ctx->h2 || cf->shutdown || ctx->conn_closed) { in cf_h2_shutdown() 2505 cf->shutdown = (result || *done); in cf_h2_shutdown()
|
/curl/tests/server/ |
H A D | sws.c | 1577 shutdown(datafd, SHUT_RDWR); in http_connect() 1597 shutdown(clientfd[i], SHUT_RD); in http_connect() 1615 shutdown(serverfd[i], SHUT_RD); in http_connect() 1632 shutdown(clientfd[i], SHUT_WR); in http_connect() 1652 shutdown(serverfd[i], SHUT_WR); in http_connect() 1680 shutdown(clientfd[i], SHUT_RD); in http_connect() 1685 shutdown(clientfd[i], SHUT_WR); in http_connect() 1693 shutdown(serverfd[i], SHUT_RD); in http_connect() 1698 shutdown(serverfd[i], SHUT_WR); in http_connect() 1767 shutdown(serverfd[i], SHUT_RDWR); in http_connect() [all …]
|
/curl/docs/libcurl/ |
H A D | libcurl-env-dbg.md | 135 Make a blocking, graceful shutdown of all remaining connections when 138 gives the shutdown timeout in milliseconds.
|
/curl/ |
H A D | RELEASE-NOTES | 65 o connection: shutdown TLS (for FTP) better [104] 95 o gnutls: improve TLS shutdown [62] 97 o http/3: add shutdown support [154] 103 o lib: graceful connection shutdown [162] 106 o lib: xfer_setup and non-blocking shutdown [111]
|
/curl/tests/ |
H A D | negtelnetserver.py | 118 self.request.shutdown(socket.SHUT_RDWR)
|
H A D | smbserver.py | 104 self.server.shutdown()
|
/curl/lib/vtls/ |
H A D | rustls.c | 745 if(!backend->conn || cf->shutdown) { in cr_shutdown() 796 cf->shutdown = (result || *done); in cr_shutdown()
|
H A D | vtls.c | 1763 if(!cf->shutdown) { in ssl_cf_shutdown() 1770 cf->shutdown = (result || *done); in ssl_cf_shutdown() 2055 if(cf->shutdown) { in vtls_shutdown_blocking() 2094 cf->shutdown = (result || *done); in vtls_shutdown_blocking()
|
H A D | bearssl.c | 1083 if(!backend->active || cf->shutdown) { in bearssl_shutdown() 1104 cf->shutdown = (result || *done); in bearssl_shutdown()
|
H A D | mbedtls.c | 1277 if(!backend->initialized || cf->shutdown) { 1349 cf->shutdown = (result || *done);
|
H A D | wolfssl.c | 1360 if(!wctx->handle || cf->shutdown) { in wolfssl_shutdown() 1438 cf->shutdown = (result || *done); in wolfssl_shutdown()
|
H A D | gtls.c | 1825 if(!backend->gtls.session || cf->shutdown) { in gtls_shutdown() 1879 cf->shutdown = (result || *done); in gtls_shutdown()
|
H A D | schannel.c | 2485 if(cf->shutdown) { in schannel_shutdown() 2502 if(!backend->ctxt || cf->shutdown) { in schannel_shutdown() 2609 cf->shutdown = (result || *done); in schannel_shutdown()
|
H A D | openssl.c | 657 #define BIO_get_shutdown(x) ((x)->shutdown) 658 #define BIO_set_shutdown(x,v) ((x)->shutdown=(v)) 1886 if(!octx->ssl || cf->shutdown) { in ossl_shutdown() 1975 cf->shutdown = (result || *done); in ossl_shutdown()
|