diff --git a/include/proto/proto_http.h b/include/proto/proto_http.h index 108b7b940..6b5a5e893 100644 --- a/include/proto/proto_http.h +++ b/include/proto/proto_http.h @@ -29,6 +29,8 @@ #include #include +#define IS_HTX_STRM(strm) (strm_fe(strm)->options2 & PR_O2_USE_HTX) +#define IS_HTX_SMP(smp) ((smp)->strm && IS_HTX_STRM((smp)->strm)) extern struct pool_head *pool_head_uniqueid;