Home
last modified time | relevance | path

Searched refs:shutdown (Results 1 – 25 of 31) sorted by relevance

12

/curl/docs/cmdline-opts/
H A Dftp-ssl-ccc-mode.md19 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 DCURLOPT_FTP_SSL_CCC.md41 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 Dconnect.c155 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 Dtransfer.h109 bool shutdown);
H A Drequest.c57 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 Drequest.h148 BIT(shutdown); /* request end will shutdown connection */
H A Dcf-https-connect.c59 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 Dtransfer.c230 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 Dcfilters.c191 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 Dcfilters.h226 BIT(shutdown); /* != 0 iff this filter has shut down */
H A Dcf-h2-proxy.c1178 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 Dhttp2.c2377 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 Dsws.c1577 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 Dlibcurl-env-dbg.md135 Make a blocking, graceful shutdown of all remaining connections when
138 gives the shutdown timeout in milliseconds.
/curl/
H A DRELEASE-NOTES65 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 Dnegtelnetserver.py118 self.request.shutdown(socket.SHUT_RDWR)
H A Dsmbserver.py104 self.server.shutdown()
/curl/lib/vtls/
H A Drustls.c745 if(!backend->conn || cf->shutdown) { in cr_shutdown()
796 cf->shutdown = (result || *done); in cr_shutdown()
H A Dvtls.c1763 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 Dbearssl.c1083 if(!backend->active || cf->shutdown) { in bearssl_shutdown()
1104 cf->shutdown = (result || *done); in bearssl_shutdown()
H A Dmbedtls.c1277 if(!backend->initialized || cf->shutdown) {
1349 cf->shutdown = (result || *done);
H A Dwolfssl.c1360 if(!wctx->handle || cf->shutdown) { in wolfssl_shutdown()
1438 cf->shutdown = (result || *done); in wolfssl_shutdown()
H A Dgtls.c1825 if(!backend->gtls.session || cf->shutdown) { in gtls_shutdown()
1879 cf->shutdown = (result || *done); in gtls_shutdown()
H A Dschannel.c2485 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 Dopenssl.c657 #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()

Completed in 120 milliseconds

12