[Bug 64330] New: Env var H2_STREAM_ID & H2_STREAM_TAG not available anymore through apr_table 'r->subprocess_env'

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 64330] New: Env var H2_STREAM_ID & H2_STREAM_TAG not available anymore through apr_table 'r->subprocess_env'

Bugzilla from bugzilla@apache.org
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: [hidden email]
          Reporter: [hidden email]
  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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 64330] Env var H2_STREAM_ID & H2_STREAM_TAG not available anymore through apr_table 'r->subprocess_env'

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64330

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 64330] Env var H2_STREAM_ID & H2_STREAM_TAG not available anymore through apr_table 'r->subprocess_env'

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64330

--- Comment #1 from Christophe JAILLET <[hidden email]> ---
*** 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 64330] Env var H2_STREAM_ID & H2_STREAM_TAG not available anymore through apr_table 'r->subprocess_env'

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64330

--- Comment #2 from Christophe JAILLET <[hidden email]> ---
*** 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 64330] Env var H2_STREAM_ID & H2_STREAM_TAG not available anymore through apr_table 'r->subprocess_env'

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64330

--- Comment #3 from [hidden email] ---

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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 64330] Env var H2_STREAM_ID & H2_STREAM_TAG not available anymore through apr_table 'r->subprocess_env'

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64330

Stefan Eissing <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Stefan Eissing <[hidden email]> ---
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 64330] Env var H2_STREAM_ID & H2_STREAM_TAG not available anymore through apr_table 'r->subprocess_env'

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64330

Yann Ylavic <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #5 from Yann Ylavic <[hidden email]> ---
*** 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 64330] Env var H2_STREAM_ID & H2_STREAM_TAG not available anymore through apr_table 'r->subprocess_env'

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64330

--- Comment #6 from Christophe JAILLET <[hidden email]> ---
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: [hidden email]
For additional commands, e-mail: [hidden email]