Commit e37c74b7 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

tweak: Rename the storage tweak to be neutral

We could have shortlived_storage and req_body_storage parameters to stop
requiring Transient for those special cases.

Refs #3661
parent ff44f062
......@@ -71,6 +71,7 @@ tweak_t tweak_bytes;
tweak_t tweak_bytes_u;
tweak_t tweak_double;
tweak_t tweak_poolparam;
tweak_t tweak_storage;
tweak_t tweak_string;
tweak_t tweak_thread_pool_min;
tweak_t tweak_thread_pool_max;
......@@ -78,7 +79,6 @@ tweak_t tweak_timeout;
tweak_t tweak_uint;
tweak_t tweak_vsl_buffer;
tweak_t tweak_vsl_reclen;
tweak_t tweak_h2_rxbuf_storage;
extern struct parspec mgt_parspec[]; /* mgt_param_tbl.c */
extern struct parspec VSL_parspec[]; /* mgt_param_vsl.c */
......
......@@ -491,13 +491,12 @@ tweak_thread_pool_max(struct vsb *vsb, const struct parspec *par,
}
/*--------------------------------------------------------------------
* Tweak 'h2_rxbuf_storage'
* Tweak storage
*
*/
int v_matchproto_(tweak_t)
tweak_h2_rxbuf_storage(struct vsb *vsb, const struct parspec *par,
const char *arg)
tweak_storage(struct vsb *vsb, const struct parspec *par, const char *arg)
{
struct stevedore *stv;
......
......@@ -1569,7 +1569,7 @@ PARAM_STRING(
PARAM_STRING(
/* name */ h2_rxbuf_storage,
/* tweak */ tweak_h2_rxbuf_storage,
/* tweak */ tweak_storage,
/* priv */ &mgt_stv_h2_rxbuf,
/* def */ "Transient",
/* descr */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment