Giter VIP home page Giter VIP logo

Comments (9)

FanDjango avatar FanDjango commented on June 3, 2024

Thanks for supplying this. I see in the code where this is happening. I'll see what I can to to mitigate this.

from fluentftp.

FanDjango avatar FanDjango commented on June 3, 2024

It turns out that to fully understand what is happening here, I must try to reproduce this or I could make a special branch of FluentFTP.GnuTLS for you, that you could use to produce such a log again with even more detail (sorry!). Do you think you can handle that?

One note: FluentFTP.GnuTLS runs sync and does not honor any cancellation token. So that is no wonder that it will loop and loop... but I would like to find out where and perhaps be able to prevent it.

from fluentftp.

dankaiadam avatar dankaiadam commented on June 3, 2024

Of course, let me know when you made the branch!
With the even more detail, you mean a higher LogLevel?

from fluentftp.

FanDjango avatar FanDjango commented on June 3, 2024

Same log level but some new diagnostic messages (temporary) in places where I need to see that is happening. Later today...

from fluentftp.

FanDjango avatar FanDjango commented on June 3, 2024

So, this branch: https://github.com/FanDjango/FluentFTP.GnuTLS/tree/TestLoop
Use that instead of the NuGet.
There will be huge amounts of log.
Do a find on "STOR rock.xz" and delete all before that.
Then page forward until you can see the looping write with return -1, take many pages of that and put it in pastebin.
:-)
To reduce the log you could also try:

						LogLevel = 1,
						LogMessages = GnuMessage.Read | GnuMessage.Write,

from fluentftp.

dankaiadam avatar dankaiadam commented on June 3, 2024

Sorry for the late response, here are the logs:

https://pastebin.com/X53L26JH

Also, no high CPU usage!

from fluentftp.

FanDjango avatar FanDjango commented on June 3, 2024

Thanks, very helpful. I already fixed a few things, and will make a few more changes thanks to this log you sent.

Looks good now, right?

from fluentftp.

FanDjango avatar FanDjango commented on June 3, 2024

I have merged the changes to FluentFTP.GnuTLS (current master) and will later cut a new Nuget release.

from fluentftp.

dankaiadam avatar dankaiadam commented on June 3, 2024

Yes looks great! I checked out the master branch as well just to be sure.
Little heads up, the verbose logs I think are hardcoded into the GnuTLS, because it shows up even with logging turned off.

from fluentftp.

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.