Implement MHD_socket, MHD_INVALID_SOCKET

This commit is contained in:
Evgeny Grin (Karlson2k) committed 2014-02-18 18:37:48 +00:00
1 parent cc5f66001e
commit c311027f28
28 files changed
+161 -116

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@ testInternalSelectGet ()
fd_set rs;
fd_set ws;
fd_set es;
int max;
MHD_socket max;
int running;
struct CURLMsg *msg;
time_t start;
+1 -1
View File
@@ -84,7 +84,7 @@ testExternalGet (int flags)
fd_set rs;
fd_set ws;
fd_set es;
int max;
MHD_socket max;
int running;
struct CURLMsg *msg;
time_t start;
+2 -1
View File
@@ -41,7 +41,8 @@ static const char *http_get_req = "GET / HTTP/1.1\r\n\r\n";
static int
test_tls_session_time_out (gnutls_session_t session)
{
int sd, ret;
int ret;
MHD_socket sd;
struct sockaddr_in sa;
sd = socket (AF_INET, SOCK_STREAM, 0);
+2 -1
View File
@@ -46,7 +46,8 @@ static int
test_hello_extension (gnutls_session_t session, extensions_t exten_t,
int ext_count, int ext_length)
{
int i, sd, ret = 0, pos = 0;
int i, ret = 0, pos = 0;
MHD_socket sd;
int exten_data_len, ciphersuite_len, datalen;
struct sockaddr_in sa;
char url[255];