You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2020/04/09 18:59:25 UTC
[Bug 64329] New: Env var H2_STREAM_ID & H2_STREAM_TAG not available
anymore through apr_table 'r->subprocess_env'
https://bz.apache.org/bugzilla/show_bug.cgi?id=64329
Bug ID: 64329
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: bugs@httpd.apache.org
Reporter: worlds.grid@gmail.com
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64329] Env var H2_STREAM_ID & H2_STREAM_TAG not available
anymore through apr_table 'r->subprocess_env'
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64329
Christophe JAILLET <ch...@wanadoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Christophe JAILLET <ch...@wanadoo.fr> ---
*** This bug has been marked as a duplicate of bug 64330 ***
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org