Skip to content

mod_http2: fix test failures with recent nghttp2 releases - #713

Closed
notroj wants to merge 2 commits into
apache:trunkfrom
notroj:pytest-maintainer
Closed

mod_http2: fix test failures with recent nghttp2 releases#713
notroj wants to merge 2 commits into
apache:trunkfrom
notroj:pytest-maintainer

Conversation

@notroj

@notroj notroj commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@notroj
notroj force-pushed the pytest-maintainer branch from 80e2e6b to 28e86ea Compare August 25, 2026 19:07
@notroj

notroj commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator Author

@jfclere I'm hoping this will reproduce the mod_h2 test failures - I also see these on Fedora 44

@notroj

notroj commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator Author

@notroj
notroj force-pushed the pytest-maintainer branch from 32118e5 to 72f9d23 Compare August 25, 2026 21:01
@notroj notroj changed the title CI: Have one of the pytest runs use --enable-maintainer-mode. mod_http2: fix test failures with recent nghttp2 releases Aug 25, 2026
@notroj
notroj force-pushed the pytest-maintainer branch from 72f9d23 to 3ed0448 Compare August 26, 2026 07:13
asf-gitbox-commits pushed a commit that referenced this pull request Aug 26, 2026
asf-gitbox-commits pushed a commit that referenced this pull request Aug 26, 2026
(workflow not added yet)

* test/travis_before_linux.sh: Build $TEST_NGHTTP2 from its GitHub
  release tag into $HOME/root/nghttp2.

* test/travis_run_linux.sh: For $TEST_NGHTTP2, configure with
  --with-nghttp2 plus an RPATH, and fail if mod_http2 does not link
  against it.  Honour a preset $PYHTTPD_TARGETS, and pass
  $PYTEST_ARGS through to make.

* Makefile.in (check-all-pytest): Pass $(PYTEST_ARGS) to
  run-all-tests.sh.

* test/README.ci: Document TEST_NGHTTP2, PYHTTPD_TARGETS and
  PYTEST_ARGS.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
GitHub: PR #713


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1937468 13f79535-47bb-0310-9956-ffa450edef68
@notroj
notroj force-pushed the pytest-maintainer branch from 3ed0448 to f616cee Compare August 27, 2026 07:38
notroj and others added 2 commits August 27, 2026 10:56
…sed.

A stream created but never scheduled (e.g. after a connection-level
protocol error) is reclaimed with the session pool rather than destroyed
explicitly, which is harmless; use-after-free is still caught by
H2_STRM_ASSERT_MAGIC at each use.

* modules/http2/h2_stream.c (stream_pool_destroy): Trace-log rather than
  assert for a stream reclaimed without an explicit destroy.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
nghttp2 promoted various stream errors to connection errors in 1.67.0,
which mod_http2 handles differently; the runner image is still on 1.59.

* .github/workflows/linux.yml: Add the job.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant