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 64330] 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=64330
Bug ID: 64330
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 64330] 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=64330
--- Comment #6 from Christophe JAILLET <ch...@wanadoo.fr> ---
This has been backported in 2.4.x in r1879036.
This will be part of 2.4.44.
--
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 64330] 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=64330
Stefan Eissing <st...@eissing.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Stefan Eissing <st...@eissing.org> ---
Fixed in trunk in r1876616. Will propose for backport.
mod_http2: Fixed regression that no longer set H2_STREAM_ID and H2_STREAM_TAG.
PR64330
--
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 64330] 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=64330
--- Comment #1 from Christophe JAILLET <ch...@wanadoo.fr> ---
*** Bug 64329 has been marked as a duplicate of this bug. ***
--
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 64330] 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=64330
--- Comment #2 from Christophe JAILLET <ch...@wanadoo.fr> ---
*** Bug 64331 has been marked as a duplicate of this bug. ***
--
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 64330] 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=64330
worlds.grid@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |worlds.grid@gmail.com
--
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 64330] 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=64330
Yann Ylavic <yl...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nork@ninth-nine.com
--- Comment #5 from Yann Ylavic <yl...@gmail.com> ---
*** Bug 64404 has been marked as a duplicate of this bug. ***
--
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 64330] 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=64330
--- Comment #3 from worlds.grid@gmail.com ---
Hi,
Just additional precisions about it:
The behavior doesn't change according to the httpd daemon mod_http2.so is
running on, but according to the branch of the source tree from which it has
been built (2.4.41 or 2.4.43 in my case).
Thus it looks like:
- building mod_http2.so from branch 2.4.41 will produce a .so file working
fine while running under any httpd-2.4.x
- building mod_http2.so from branch 2.4.43 will produde a .so file not able to
return correctly aforementioned values, while running under any httpd-2.4.x
Hope it helps.
--
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