https://bz.apache.org/bugzilla/show_bug.cgi?id=64331
Bug ID: 64331
Summary: Env var H2_STREAM_ID & H2_STREAM_TAG not available
anymore through apr_table 'r->subprocess_env'
Product: Apache httpd-2
Version: 2.4.43
Hardware: Macintosh
OS: Linux
Status: NEW
Severity: regression
Priority: P2
Component: mod_http2
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Hi,
Just creating a C extension to handle HTTP2 requests, I noticed I couldn't
access anymore to envvars 'H2_STREAM_ID' & 'H2_STREAM_TAG'.
The following C code should be sufficient to explain the case :
ap_log_rerror(
APLOG_MARK, APLOG_NOTICE|APLOG_ERR|APLOG_DEBUG, 0, r,
"H2_STREAM_ID: '%s'"
" / "
"H2_STREAM_TAG: '%s'",
apr_table_get(r->subprocess_env, "H2_STREAM_ID"),
apr_table_get(r->subprocess_env, "H2_STREAM_TAG")
);
On httpd-2.4.41 I get like : H2_STREAM_ID: '13' / H2_STREAM_TAG: '7-13'
But on httpd-2.4.43 I always get : H2_STREAM_ID: '(null)' / H2_STREAM_TAG:
'000'
I cannot tell if that way to retrieve such values is right or not.
Perhaps this could have been wrongly exposed before and that's why they don't
exist anymore in that table?
I don't know, but if yes, could someone tell how to get that information
properly?
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]