Functions | Variables
test-connection-fail.c File Reference
#include "uv.h"
#include "task.h"
#include <stdlib.h>
#include <stdio.h>
Include dependency graph for test-connection-fail.c:

Go to the source code of this file.

Functions

static void connection_fail (uv_connect_cb connect_cb)
 
static void on_close (uv_handle_t *handle)
 
static void on_connect_with_close (uv_connect_t *req, int status)
 
static void on_connect_without_close (uv_connect_t *req, int status)
 
 TEST_IMPL (connection_fail)
 
 TEST_IMPL (connection_fail_doesnt_auto_close)
 
static void timer_cb (uv_timer_t *handle)
 
static void timer_close_cb (uv_handle_t *handle)
 

Variables

static int close_cb_calls
 
static int connect_cb_calls
 
static uv_connect_t req
 
static uv_tcp_t tcp
 
static uv_timer_t timer
 
static int timer_cb_calls
 
static int timer_close_cb_calls
 

Function Documentation

◆ connection_fail()

static void connection_fail ( uv_connect_cb  connect_cb)
static

Definition at line 88 of file test-connection-fail.c.

◆ on_close()

static void on_close ( uv_handle_t handle)
static

Definition at line 39 of file test-connection-fail.c.

◆ on_connect_with_close()

static void on_connect_with_close ( uv_connect_t req,
int  status 
)
static

Definition at line 68 of file test-connection-fail.c.

◆ on_connect_without_close()

static void on_connect_without_close ( uv_connect_t req,
int  status 
)
static

Definition at line 78 of file test-connection-fail.c.

◆ TEST_IMPL() [1/2]

TEST_IMPL ( connection_fail  )

Definition at line 122 of file test-connection-fail.c.

◆ TEST_IMPL() [2/2]

TEST_IMPL ( connection_fail_doesnt_auto_close  )

Definition at line 138 of file test-connection-fail.c.

◆ timer_cb()

static void timer_cb ( uv_timer_t handle)
static

Definition at line 49 of file test-connection-fail.c.

◆ timer_close_cb()

static void timer_close_cb ( uv_handle_t handle)
static

Definition at line 44 of file test-connection-fail.c.

Variable Documentation

◆ close_cb_calls

int close_cb_calls
static

Definition at line 32 of file test-connection-fail.c.

◆ connect_cb_calls

int connect_cb_calls
static

Definition at line 31 of file test-connection-fail.c.

◆ req

uv_connect_t req
static

Definition at line 30 of file test-connection-fail.c.

◆ tcp

uv_tcp_t tcp
static

Definition at line 29 of file test-connection-fail.c.

◆ timer

uv_timer_t timer
static

Definition at line 34 of file test-connection-fail.c.

◆ timer_cb_calls

int timer_cb_calls
static

Definition at line 36 of file test-connection-fail.c.

◆ timer_close_cb_calls

int timer_close_cb_calls
static

Definition at line 35 of file test-connection-fail.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:33