Home | History | Annotate | Download | only in server

Lines Matching full:socket_idx

2001   size_t socket_idx;
2266 for(socket_idx = num_sockets - 1; socket_idx >= 1; --socket_idx) {
2267 if(CURL_SOCKET_BAD == all_sockets[socket_idx]) {
2268 char *dst = (char *) (all_sockets + socket_idx);
2269 char *src = (char *) (all_sockets + socket_idx + 1);
2283 for(socket_idx = 0; socket_idx < num_sockets; ++socket_idx) {
2285 FD_SET(all_sockets[socket_idx], &input);
2286 if(all_sockets[socket_idx] > maxfd)
2287 maxfd = all_sockets[socket_idx];
2322 for(socket_idx = 1; socket_idx < num_sockets; ++socket_idx) {
2323 if(FD_ISSET(all_sockets[socket_idx], &input)) {
2329 rc = service_connection(all_sockets[socket_idx], &req, sock,
2349 if(all_sockets[socket_idx] != CURL_SOCKET_BAD) {
2350 sclose(all_sockets[socket_idx]);
2351 all_sockets[socket_idx] = CURL_SOCKET_BAD;
2375 for(socket_idx = 1; socket_idx < num_sockets; ++socket_idx)
2376 if((all_sockets[socket_idx] != sock) &&
2377 (all_sockets[socket_idx] != CURL_SOCKET_BAD))
2378 sclose(all_sockets[socket_idx]);