mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-10 09:07:02 +02:00
MINOR: stream: prepare the hot refresh of timeouts
Define a stream function to allow to update the timeouts. This commit is in preparation for the support of dynamic timeouts with the set-timeout rule.
This commit is contained in:
parent
5a9fc2d10f
commit
b715078821
@ -343,6 +343,8 @@ static inline void stream_choose_redispatch(struct stream *s)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int stream_set_timeout(struct stream *s, enum act_timeout_name name, int timeout);
|
||||||
|
|
||||||
void service_keywords_register(struct action_kw_list *kw_list);
|
void service_keywords_register(struct action_kw_list *kw_list);
|
||||||
struct action_kw *service_find(const char *kw);
|
struct action_kw *service_find(const char *kw);
|
||||||
void list_services(FILE *out);
|
void list_services(FILE *out);
|
||||||
|
@ -811,6 +811,11 @@ void stream_process_counters(struct stream *s)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int stream_set_timeout(struct stream *s, enum act_timeout_name name, int timeout)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This function handles the transition between the SI_ST_CON state and the
|
* This function handles the transition between the SI_ST_CON state and the
|
||||||
* SI_ST_EST state. It must only be called after switching from SI_ST_CON (or
|
* SI_ST_EST state. It must only be called after switching from SI_ST_CON (or
|
||||||
|
Loading…
Reference in New Issue
Block a user