I/O operations refactoring.
This commit is contained in:
@@ -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);
|
||||
/**/
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user