[PR #34] [MERGED] Support non-default CTRL_PORT in tunnelto_server #88

Closed
opened 2026-03-02 23:02:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/agrinman/tunnelto/pull/34
Author: @mxxk
Created: 1/12/2021
Status: Merged
Merged: 3/14/2021
Merged by: @agrinman

Base: masterHead: feature/custom-ctrl-port


📝 Commits (1)

  • 3447621 Support non-default CTRL_PORT in tunnelto_server

📊 Changes

3 files changed (+18 additions, -3 deletions)

View changed files

📝 README.md (+1 -0)
📝 tunnelto_server/src/main.rs (+16 -2)
📝 tunnelto_server/src/remote.rs (+1 -1)

📄 Description

Testing

  • Empty environment variable treated like missing environment variable, and CTRL_PORT defaults to 5000, i.e. CTRL_PORT= tunnelto_server is equivalent to tunnelto_server.
  • Passing non-u16 data (e.g. non-integers, negative integers, integers larger than 2^16 - 1) into CTRL_PORT panics with Invalid CTRL_PORT: ${CTRL_PORT}
  • tunnelto_server confirms which CTRL_PORT it is listening to with refined message starting wormhole server on 0.0.0.0:${CTRL_PORT}

Closes agrinman/tunnelto#32


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/agrinman/tunnelto/pull/34 **Author:** [@mxxk](https://github.com/mxxk) **Created:** 1/12/2021 **Status:** ✅ Merged **Merged:** 3/14/2021 **Merged by:** [@agrinman](https://github.com/agrinman) **Base:** `master` ← **Head:** `feature/custom-ctrl-port` --- ### 📝 Commits (1) - [`3447621`](https://github.com/agrinman/tunnelto/commit/34476214a4d3ffb3ce718ffd3bf74c1dd76311bc) Support non-default CTRL_PORT in tunnelto_server ### 📊 Changes **3 files changed** (+18 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) 📝 `tunnelto_server/src/main.rs` (+16 -2) 📝 `tunnelto_server/src/remote.rs` (+1 -1) </details> ### 📄 Description **Testing** - Empty environment variable treated like missing environment variable, and `CTRL_PORT` defaults to 5000, i.e. `CTRL_PORT= tunnelto_server` is equivalent to `tunnelto_server`. - Passing non-`u16` data (e.g. non-integers, negative integers, integers larger than `2^16 - 1`) into `CTRL_PORT` panics with `Invalid CTRL_PORT: ${CTRL_PORT}` - `tunnelto_server` confirms which `CTRL_PORT` it is listening to with refined message `starting wormhole server on 0.0.0.0:${CTRL_PORT}` Closes agrinman/tunnelto#32 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:02:15 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tunnelto#88
No description provided.