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.md42 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 Dconnect.c155 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 Dtransfer.c241 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 Dtransfer.h107 bool shutdown, bool shutdown_err_ignore);
H A Drequest.h153 BIT(shutdown); /* request end will shutdown connection */
H A Dcf-https-connect.c59 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 Drequest.c61 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 Dcfilters.c195 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 Dcfilters.h234 BIT(shutdown); /* != 0 iff this filter has shut down */
H A Dcf-h2-proxy.c1180 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 Dhttp2.c2447 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 Durldata.h852 } shutdown; member
/curl/tests/server/
H A Dsws.c1623 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 Dlibcurl-env-dbg.md141 Make a blocking, graceful shutdown of all remaining connections when
144 gives the shutdown timeout in milliseconds.
/curl/tests/
H A Dnegtelnetserver.py111 self.request.shutdown(socket.SHUT_RDWR)
H A Dsmbserver.py106 self.server.shutdown()
/curl/lib/vtls/
H A Drustls.c981 if(!backend->conn || cf->shutdown) { in cr_shutdown()
1032 cf->shutdown = (result || *done); in cr_shutdown()
H A Dvtls.c1820 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 Dbearssl.c1089 if(!backend->active || cf->shutdown) { in bearssl_shutdown()
1112 cf->shutdown = (result || *done); in bearssl_shutdown()
H A Dmbedtls.c1222 if(!backend->initialized || cf->shutdown) {
1294 cf->shutdown = (result || *done);
H A Dschannel.c2302 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 Dwolfssl.c1623 if(!wctx->handle || cf->shutdown) { in wolfssl_shutdown()
1710 cf->shutdown = (result || *done); in wolfssl_shutdown()
H A Dgtls.c2069 if(!backend->gtls.session || cf->shutdown || in gtls_shutdown()
2125 cf->shutdown = (result || *done); in gtls_shutdown()
H A Dopenssl.c695 #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()

Completed in 113 milliseconds

12