Skip to content

fix(verifier): support message-only provider verification - #567

Open
YOU54F wants to merge 1 commit into
pact-foundation:masterfrom
YOU54F:issues/verifier-message-url-fix
Open

YOU54F wants to merge 1 commit into
pact-foundation:masterfrom
YOU54F:issues/verifier-message-url-fix

Conversation

@YOU54F

@YOU54F YOU54F commented Oct 12, 2026

Copy link
Copy Markdown
Member

Register the internal message proxy with an HTTP base transport, preserve message registration when HTTP is configured later, and accept localhost requests alongside IPv4 loopback. Add unit and provider integration coverage for message-only and mixed transport verification.

fixes #530
fixes #544
fixes #558

Register the internal message proxy with an HTTP base transport, preserve message registration when HTTP is configured later, and accept localhost requests alongside IPv4 loopback. Add unit and provider integration coverage for message-only and mixed transport verification.
{
int port = FindUnusedPort();
uri = new Uri($"http://localhost:{port}/pact-messages/");
uri = new Uri($"http://127.0.0.1:{port}/pact-messages/");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was the trigger to change the host - was it that sometimes it's slow to resolve or not resolvable?

Is this something we should make configurable (but defaulted to this)? I recall some systems are fixed to IPv6 addressing which might break this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants