Comments (4)
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.
On the other hand, this might actually be an explanation for #1 .
from lwip-ftpd.
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.
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)
- ftpd hangs after LIST command HOT 4
- Memory leak after client quits session HOT 3
- Having problems with '0:\' drive/LUN designator HOT 10
- Passive Mode HOT 4
- len wrapped rcv_wnd HOT 1
- re-use of free'd memory causes hard crash
- malloc size of pointer rather than size of struct HOT 2
- missing call to f_closedir() HOT 1
- Does not work with FileZilla on windows HOT 3
- Memory leak?
- Dependency Dashboard
- ftpd hangs on cmd_pasv
- Trouble getting ftpd to run HOT 5
- Directory listing extremely slow HOT 5
- send_next_directory hangs the client HOT 3
- vfs_close deletes guard_for_the_whole_fs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lwip-ftpd.