Giter VIP home page Giter VIP logo

Comments (3)

angt avatar angt commented on June 18, 2024

Hi,
Thanks for the issue :)
You are using an unstable version and the beat option has not been reintegrated (yet).
Also, I recommend you to use the stable version while waiting for the next release.
I will leave the issue open in the meantime, for others.

from glorytun.

iofo avatar iofo commented on June 18, 2024

Thanks.
I really like some of the new features on master. It looks like you switched from milliseconds to microseconds but didn't update the parsing in argz.c yet. Am I on the right track? if so I will test this properly and pull request.

diff --git a/argz.c b/argz.c
index 58285b4..39bbd76 100644
--- a/argz.c
+++ b/argz.c
@@ -166,13 +166,19 @@ argz_time_suffix(struct argz_ull *ull, const char *s)
     if (!s)
         return 0;
 
+    if (!strcmp(s, "us"))
+        return 0;
+
     if (!strcmp(s, "ms"))
+    {
+        ull->value *= 1000;
         return 0;
+    }
 
     if (s[0] && s[1])
         return -1;
 
-    unsigned long long i = 1;
+    unsigned long long i = 1000;
 
     switch (s[0]) {
         default : return -1;

from glorytun.

iofo avatar iofo commented on June 18, 2024

I also had a problem that I configured both ends of the tunnel with paths. It really does not like that. Just configuring one end solved the packet rate problem. I still implemented a few fixes in terms of scaling the beat, kxtimeout, keepalive.

from glorytun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.