[GH-ISSUE #46] client: max_time never set to 0 #23

Closed
opened 2026-05-05 10:57:19 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @helinwang on GitHub (Nov 16, 2017).
Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/46

Hi, thanks for the repo!

I am using v1.1 release. This is what I set in the tunnel.xml:

  interval: 100ms
  multiplier: 1
  max_interval: 100ms
  max_time: 0

This is what the program prints:

  interval: 100ms
  multiplier: 1
  max_interval: 100ms
  max_time: 15m0s

I have to workaround it with:

  interval: 100ms
  multiplier: 1
  max_interval: 100ms
  max_time: 999999h

Wonder how to set the max time to 0?

Originally created by @helinwang on GitHub (Nov 16, 2017). Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/46 Hi, thanks for the repo! I am using `v1.1` release. This is what I set in the `tunnel.xml`: ``` interval: 100ms multiplier: 1 max_interval: 100ms max_time: 0 ``` This is what the program prints: ``` interval: 100ms multiplier: 1 max_interval: 100ms max_time: 15m0s ``` I have to workaround it with: ``` interval: 100ms multiplier: 1 max_interval: 100ms max_time: 999999h ``` Wonder how to set the max time to 0?
Author
Owner

@mmatczuk commented on GitHub (Nov 17, 2017):

Did you try 0s?

<!-- gh-comment-id:345190805 --> @mmatczuk commented on GitHub (Nov 17, 2017): Did you try `0s`?
Author
Owner

@helinwang commented on GitHub (Nov 17, 2017):

Yes I did, it's the same.

<!-- gh-comment-id:345274947 --> @helinwang commented on GitHub (Nov 17, 2017): Yes I did, it's the same.
Author
Owner

@mmatczuk commented on GitHub (Nov 17, 2017):

@helinwang check the new release.

<!-- gh-comment-id:345392290 --> @mmatczuk commented on GitHub (Nov 17, 2017): @helinwang check the new release.
Author
Owner

@helinwang commented on GitHub (Nov 17, 2017):

Thank you!

<!-- gh-comment-id:345396083 --> @helinwang commented on GitHub (Nov 17, 2017): Thank you!
Sign in to join this conversation.
No labels
pull-request
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: github-starred/go-http-tunnel#23
No description provided.