Lines Matching refs:set

109     infof(data, "Could not set TCP_NODELAY: %s",
131 infof(data, "Could not set SO_NOSIGPIPE: %s",
161 int optval = data->set.tcp_keepalive?1:0;
163 /* only set IDLE and INTVL if setting KEEPALIVE is successful */
166 infof(data, "Failed to set SO_KEEPALIVE on fd "
175 optval = curlx_sltosi(data->set.tcp_keepidle);
178 optval = curlx_sltosi(data->set.tcp_keepintvl);
183 infof(data, "Failed to set SIO_KEEPALIVE_VALS on fd "
189 optval = curlx_sltosi(data->set.tcp_keepidle);
193 infof(data, "Failed to set TCP_KEEPIDLE on fd "
199 optval = curlx_sltosi(data->set.tcp_keepidle);
203 infof(data, "Failed to set TCP_KEEPALIVE on fd "
209 optval = curlx_sltosi(data->set.tcp_keepintvl);
213 infof(data, "Failed to set TCP_KEEPINTVL on fd "
224 * set the transport used.
235 * if this has been set, before that, it is initialized from parameters.
265 if(data->set.fopensocket) {
267 * If the opensocket callback is set, all the destination address
276 *sockfd = data->set.fopensocket(data->set.opensocket_client,
282 /* opensocket callback not set, so simply create the socket now */
305 * If the open socket callback is set, used that!
413 unsigned short port = data->set.localport; /* use this port number, 0 for
416 int portnum = data->set.localportrange;
417 const char *dev = data->set.str[STRING_DEVICE];
589 /* errorbuf is set false so failf will overwrite any message already in
778 struct bufq recvbuf; /* used when `buffer_recv` is set */
1013 if(is_tcp && data->set.tcp_nodelay)
1020 if(is_tcp && data->set.tcp_keepalive)
1023 if(data->set.fsockopt) {
1026 error = data->set.fsockopt(data->set.sockopt_client,
1059 /* set socket non-blocking */
1452 /* the first socket info gets set at conn and data */