This repository was archived by the owner on Sep 10, 2025. It is now read-only.
Repository navigation
Conversation
This updates the hostname to be `tunnel.steve.fi`, because we're changing the way the client <-> server link works, and that means the existing public-endpoint won't work. TODO: * Think about signing the requests the server submits. * That doesn't stop sniffing, but does stop spidering/probing.
This has been tested via the `mosquitto_pub` command; inject a full-request such as: GET / HTTP/1.0 Host: foo.example.com The result is that the response is sent back down the same channel, as expected. Porting the server should be pretty simple, based on this work. Since the HTTP-server and the MQ-server are on the same host I'm going to cheat and only talk to MQ on the localhost for the server.
Tested with 20 concurrent clients accessing 20 local (python webservers). Zero deadlocks. Zero failures.
Owner
Author
|
This is functional. However I will look at embedded queues, as per #4 before I merge. It might be that will be cleaner and better. |
…if we have an embedded queue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a work-in-progress pull-request which is intended to move from using websockets as the transport towards using MQ.
This is designed to ensure that the server scales and can handle multiple overlapping clients without deadlocking.