Lines Matching +full:check +full:- +full:merge +full:- +full:request
14 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
21 * SPDX-License-Identifier: curl
47 /* Avoid this warning with pre-2020 Cygwin/MSYS releases: in wait_on_socket()
49 * may change the sign of the result [-Wsign-conversion] in wait_on_socket()
53 #pragma GCC diagnostic ignored "-Wsign-conversion" in wait_on_socket()
55 FD_SET(sockfd, &errfd); /* always check for error */ in wait_on_socket()
67 /* select() returns the number of signalled sockets or -1 */ in wait_on_socket()
75 /* Minimalistic http request */ in main()
76 const char *request = "GET / HTTP/1.0\r\nHost: example.com\r\n\r\n"; in main() local
77 size_t request_len = strlen(request); in main()
94 /* Do not do the transfer - only connect to host */ in main()
103 /* Extract the socket from the curl handle - we need it for waiting. */ in main()
111 printf("Sending request.\n"); in main()
115 * A production-quality program must define a timeout and exit this loop in main()
120 res = curl_easy_send(curl, request + nsent_total, in main()
121 request_len - nsent_total, &nsent); in main()