• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/curl-78.94.1/curl/lib/

Lines Matching defs:socket

146  * We add one of these structs to the sockhash for a particular socket
152 int action; /* what action READ/WRITE this socket waits for */
153 curl_socket_t socket; /* mainly to ease debugging */
156 /* bits for 'action' having no bits means this socket is not expecting any
161 /* make sure this socket is present in the hash for this handle */
179 check->socket = s;
191 /* delete the given socket + handle from the hash */
198 /* this socket is in the hash */
232 * sh_init() creates a new socket hash and returns the handle for it.
236 * "Some tests at 7000 and 9000 connections showed that the socket hash lookup
492 fprintf(stderr, " [easy %p/magic %x/socket %d]",
493 (void *)sh->easy, sh->easy->magic, (int)sh->socket);
660 socket to become readable to be able to get the response headers */
774 /* this socket is unused, break out of loop */
1063 /* Update sockets here, because the socket(s) may have been
1065 is likely that the same socket(s) will again be used further
1082 /* call again please so that we get the next socket setup */
1213 /* keep connection open for application to use the socket */
1572 guarantee that the socket will become active again */
1929 /* this is a socket we didn't have before, add it! */
1963 /* this socket has been removed. Tell the app to remove it */
1968 /* check if the socket to be removed serves a connection which has
1969 other easy-s in a pipeline. In this case the socket should not be
2005 when action will be asked on the socket (see multi_socket()), the
2011 /* just a precaution, this socket really SHOULD be in the hash already
2106 /* walk through each easy handle and do the socket state change magic
2123 /* Unmatched socket, we can't act on it but we ignore this fact. In
2125 the application actions even though the socket was just previously
2126 asked to get removed, so thus we better survive stray socket actions
2137 the pipeline. If we should write into the socket, take the send_pipe
2138 head. If we should read from the socket, take the recv_pipe head. */
2152 /* set socket event bitmask if they're not locked */
2165 /* get the socket(s) and check if the state has been changed since
2198 /* get the socket(s) and check if the state has been changed since