summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_upstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_upstream.h')
-rw-r--r--src/nxt_upstream.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nxt_upstream.h b/src/nxt_upstream.h
index 2935ccc8..a7d2a224 100644
--- a/src/nxt_upstream.h
+++ b/src/nxt_upstream.h
@@ -25,7 +25,7 @@ struct nxt_upstream_peer_s {
nxt_str_t addr;
nxt_mem_pool_t *mem_pool;
- void (*ready_handler)(nxt_upstream_peer_t *up);
+ void (*ready_handler)(nxt_task_t *task, nxt_upstream_peer_t *up);
void (*protocol_handler)(nxt_upstream_source_t *us);
};
@@ -39,7 +39,8 @@ typedef struct {
/* STUB */
-NXT_EXPORT void nxt_upstream_round_robin_peer(nxt_upstream_peer_t *up);
+NXT_EXPORT void nxt_upstream_round_robin_peer(nxt_task_t *task,
+ nxt_upstream_peer_t *up);
/**/