diff options
author | Igor Sysoev <igor@sysoev.ru> | 2020-03-04 14:04:08 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2020-03-04 14:04:08 +0300 |
commit | 794248090a74f31cbfcf24ea8c835df2d4d21073 (patch) | |
tree | 56f69fe30e4b9c46fc23aba52cc3fb7b1970f363 /src/nxt_upstream.h | |
parent | 643d4383fa7db466e1d80c7d8c350da4ec043f2b (diff) | |
download | unit-794248090a74f31cbfcf24ea8c835df2d4d21073.tar.gz unit-794248090a74f31cbfcf24ea8c835df2d4d21073.tar.bz2 |
Legacy upstream code removed.
Diffstat (limited to 'src/nxt_upstream.h')
-rw-r--r-- | src/nxt_upstream.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/nxt_upstream.h b/src/nxt_upstream.h index d1fca2a5..a25e0940 100644 --- a/src/nxt_upstream.h +++ b/src/nxt_upstream.h @@ -8,40 +8,4 @@ #define _NXT_UPSTREAM_H_INCLUDED_ -typedef struct nxt_upstream_peer_s nxt_upstream_peer_t; - - -struct nxt_upstream_peer_s { - /* STUB */ - void *upstream; - void *data; - /**/ - - nxt_sockaddr_t *sockaddr; - nxt_nsec_t delay; - - uint32_t tries; - in_port_t port; - - nxt_str_t addr; - nxt_mp_t *mem_pool; - void (*ready_handler)(nxt_task_t *task, nxt_upstream_peer_t *up); - - void (*protocol_handler)(nxt_upstream_source_t *us); -}; - - -typedef struct { - void (*ready_handler)(void *data); - nxt_work_handler_t completion_handler; - nxt_work_handler_t error_handler; -} nxt_upstream_state_t; - - -/* STUB */ -NXT_EXPORT void nxt_upstream_round_robin_peer(nxt_task_t *task, - nxt_upstream_peer_t *up); -/**/ - - #endif /* _NXT_UPSTREAM_H_INCLUDED_ */ |