Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert the interface changes to jhttp.Bridge from #52. #58

Merged
merged 4 commits into from
Sep 27, 2021

Conversation

creachadair
Copy link
Owner

This change mostly reverts the changes to jhttp.Bridge from #52, but respecting some of the other changes in the package since that was merged. This fixes the problems with ID collisions, by restoring the virtualization.

The resulting interface is different from both the original interface (where the bridge accepted a client) and the "simplified" interface (where the bridge accepts a server). Now the bridge behaves more like the local server from the server package, except that it retains awareness of the HTTP infrastructure.

Fixes #57.

@creachadair creachadair self-assigned this Sep 27, 2021
@creachadair creachadair merged commit a08254e into default Sep 27, 2021
@creachadair creachadair deleted the fix-the-bridge branch September 27, 2021 02:23
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.

HTTP bridge needs improvement
1 participant