Ah, yes. I think that once changed in an older nghttp2 release and went 
unnoticed. Thanks for the fix!

> Am 20.08.2015 um 12:39 schrieb Yann Ylavic <ylavic....@gmail.com>:
> 
> Hi,
> 
> On Thu, Aug 20, 2015 at 11:56 AM, NormW <no...@gknw.net> wrote:
>>> 
>>> #    File: h2_session.c
>>> # ---------------------
>>> #
>>> 512:nghttp2_session_callbacks_set_on_invalid_frame_recv_callback(*pcb,
>> 
>> on_invalid_frame_recv_cb)
>>> 
>>> #   Error:
>>> ^
>>> #   illegal implicit conversion
>>> #   from 'int    (struct nghttp2_session *, const union  *,
>>> @enum$24h2_session_c, void *)'
>>> #   to   'int (*)(struct nghttp2_session *, const union  *, int, void *)'
> 
> It seems that the nghttp2_on_invalid_frame_recv_callback type requires
> an int for its error parameter, not a nghttp2_error enum.
> 
> Does the attached patch helps?
> 
> Regards,
> Yann.
> <httpd-trunk-h2_session_on_invalid_frame_recv_cb.patch>

<green/>bytes GmbH
Hafenweg 16, 48155 Münster, Germany
Phone: +49 251 2807760. Amtsgericht Münster: HRB5782



Reply via email to