GithubHelp home page GithubHelp logo

Comments (4)

toelke avatar toelke commented on July 16, 2024

As far as I can see the buffer of 1k (https://github.com/toelke/lwip-ftpd/blob/master/ftpd.c#L510) is filled and then send_next_directory returns, presumably to be called again at a later time when that stack had time to send data.

If Simons answer in http://savannah.nongnu.org/bugs/?48056 has not helped you, please tell me. I will have a second, longer look at the code.

Cheers,
Philipp

from lwip-ftpd.

toelke avatar toelke commented on July 16, 2024

On the other hand, this might actually be an explanation for #1 .

from lwip-ftpd.

Harvey13 avatar Harvey13 commented on July 16, 2024

Hello Philipp.
I increased my buffer size but it only delays the moment where the problem occurs.
It's a shame that the code provides several call to the send_next_directory function, but that it only fills a buffer.
I will have to rewrite the ftp daemon...

from lwip-ftpd.

toelke avatar toelke commented on July 16, 2024

I tried the code as it is running on our devices: I have no problems with listing a directory of more than 500 files (32k of listing).

I assume that there is some problem in your port. Please ask on the lwip-users mailing list about this. I read that list and will of course help the thread along.

Cheers,
Philipp

from lwip-ftpd.

Related Issues (17)

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.