mirror of
https://github.com/mmatczuk/go-http-tunnel.git
synced 2026-05-15 06:06:03 -06:00
[PR #127] Fix backoff inconsistency, error pages, minimal API, keepalive configurable,... #152
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/go-http-tunnel#152
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mmatczuk/go-http-tunnel/pull/127
Author: @hons82
Created: 3/26/2021
Status: 🔄 Open
Base:
master← Head:master📝 Commits (10+)
51dd354Fix backoff inconsistency6ed4e8cRemove ignored files3c06994Renamed package and updated README.md8f14813Fix split configuration logging message into lines and print each in separat log messageb901486Add automatic redirect to https if both http and https are configured572eb25Add support for custom error pagescf22ff5Add sample error pages and documentation3723dbeAdd minimal API to query the state of the tunnel serverb61db3cAdd configurable keepalivee2fbec3Fix improve reconnection logging📊 Changes
158 files changed (+1905 additions, -45917 deletions)
View changed files
📝
.gitignore(+211 -18)📝
Makefile(+10 -8)📝
README.md(+55 -8)➖
backoff.go(+0 -19)📝
benchmark/README.md(+1 -1)📝
client.go(+36 -10)📝
client_test.go(+40 -38)📝
cmd/tunnel/config.go(+13 -32)📝
cmd/tunnel/options.go(+5 -3)📝
cmd/tunnel/tunnel.go(+14 -6)➕
cmd/tunneld/api.go(+61 -0)📝
cmd/tunneld/banner.go(+1 -2)📝
cmd/tunneld/options.go(+33 -23)📝
cmd/tunneld/tunneld.go(+128 -22)➕
connection/backoff.go(+44 -0)➕
connection/keepalive.go(+68 -0)📝
errors.go(+17 -5)➕
fileutil/file.go(+51 -0)📝
go.mod(+3 -2)📝
go.sum(+6 -2)...and 80 more files
📄 Description
The reset is performed at the time the connection has been established.
This can cause the problem described in #76.
I the server connection fails after max_time + x it tries to reconnect.
If that fails once it immediately stops trying with the message "backoff limit exceeded"
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.