I was trying out the implementation and have a question regarding the same.
When we try to initiate a HTTP2 connection with prior knowledge, It creates
a new stream and passes the (MHD_Connection)connection object to the
application.
But the connection object is missing the client source_addr information.
MHD_get_connection_info(MHD_CONNECTION_INFO_CLIENT_ADDRESS) returns NULL.
I noticed that h2_stream_create creates a new MHD_Connection for that
stream but did I miss something because of which that information is not
included in the new object?
It only has a subset of information from the original connection object.
Hello,
I was trying out the implementation and have a question regarding the same. When we try to initiate a HTTP2 connection with prior knowledge, It creates a new stream and passes the (MHD_Connection)connection object to the application. But the connection object is missing the client source_addr information. MHD_get_connection_info(MHD_CONNECTION_INFO_CLIENT_ADDRESS) returns NULL.
I noticed that h2_stream_create creates a new MHD_Connection for that stream but did I miss something because of which that information is not included in the new object? It only has a subset of information from the original connection object.
Thanks, Shikha
On Wed, Jun 19, 2019 at 11:09 AM Maru Berezin notifications@github.com wrote:
Originally posted by @coolshikhs in https://github.com/maru/libmicrohttpd-http2/issues/59#issuecomment-503597101