On Fri, Jun 17, 2022 at 11:24 AM <ic...@apache.org> wrote:
>
> --- httpd/httpd/trunk/modules/http2/h2_workers.h (original)
> +++ httpd/httpd/trunk/modules/http2/h2_workers.h Fri Jun 17 09:24:57 2022
> @@ -28,59 +28,94 @@ struct h2_mplx;
>  struct h2_request;
>  struct h2_fifo;
>
> -struct h2_slot;
> -
>  typedef struct h2_workers h2_workers;
>
> -struct h2_workers {

Since h2_workers is now opaque, some debug code (-DAPR_POOL_DEBUG) now raises:

h2_mplx.c: In function ‘h2_mplx_c1_process’:
h2_mplx.c:717:46: error: dereferencing pointer to incomplete type
‘struct h2_workers’
         mem_w = apr_pool_num_bytes(m->workers->pool, 1);

Not sure how to fix it though.

Cheers;
Yann.

Reply via email to