mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-29 04:09:31 +03:00
Implement MHD_socket, MHD_INVALID_SOCKET
This commit is contained in:
1 parent
cc5f66001e
commit
c311027f28
28 files changed
+161
-116
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user