Skip to content

Commit

Permalink
Slightly optimize h2_mplx_c1_streams_do().
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1912662 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Christophe Jaillet committed Oct 1, 2023
1 parent fb0ac6a commit cc97586
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/http2/h2_mplx.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,10 +384,11 @@ apr_status_t h2_mplx_c1_streams_do(h2_mplx *m, h2_mplx_stream_cb *cb, void *ctx)
{
stream_iter_ctx_t x;

H2_MPLX_ENTER(m);

x.cb = cb;
x.ctx = ctx;

H2_MPLX_ENTER(m);

h2_ihash_iter(m->streams, m_stream_iter_wrap, &x);

H2_MPLX_LEAVE(m);
Expand Down

0 comments on commit cc97586

Please sign in to comment.