Comments (7)
Hi Alu
Thanks for taking the time to try and improve the code. Simplification is a good thing.
You approach may work and it seems simpler. A couple of comments:
- Currently your suggestion doesn't seem to compile?
- I like the seperated respond method en the elimination of the extra channels.
- The respond method is way to long, this will need to be split up.
I'll look more into it once it compiles.
from libunftp.
@hannesdejager Hi, thank you for reply.
Currently your suggestion doesn't seem to compile?
Did you clone my repository and compile? I can compile the repository in my environment.
$ rustc --version
rustc 1.37.0 (eae3437df 2019-08-13)
$ cargo build
Finished dev [unoptimized + debuginfo] target(s) in 0.05s
The respond method is way to long, this will need to be split up.
I think that is generally desirable.
However, current style be nice for code locality because Command
so many.
Why don't you switch to my design at the first, and then split if you want?
from libunftp.
@hannesdejager
All of commands had implemented.
There is other necessary thing?
from libunftp.
Hi @alu, sorry for the delayed reply. I've been on holiday. Inititally I didn't clone your repository but pulled your master into my repository. This failed compiling. However when I cloned your repository it worked and I was able run to basic smoke tests.
So, how about you create a pull request with your changes and then I can discuss it with the libunftp team on Friday (we work on libunftp every Friday).
Sounds OK. Please create a pull request then we take it from there.
from libunftp.
@hannesdejager Hi. I created PR in #25. Please check it out ;D
from libunftp.
Cool!, we'll have a look and discuss on Friday. Thanks for contributing.
from libunftp.
Closing since we didn't get far with the PR and the code changed tremendously.
from libunftp.
Related Issues (20)
- Add full path to event message HOT 3
- Proxy protocol needs a bit of refactoring HOT 1
- Issue with data port timeout HOT 1
- Issue with REST command with FS storage backend
- REST implementation is broken
- Implement REST for LIST?
- GCS SBE: List doesn't return all results HOT 1
- start and stop by different methods HOT 2
- Capability sandboxing
- Ftps/Tls awareness in Authenticator & StorageBackend HOT 1
- test regression in fileinfo_fmt HOT 2
- error[E0599]: no function or associated item named `with_fs` found for struct `Server` in the current scope HOT 2
- Support for source IP in the REST authenticator HOT 1
- Proxy protocol port removed inadvertedly
- Upgrade to rustls 0.22 breaks access to cert details HOT 1
- FTP Extensions for IPv6 and NATs HOT 1
- support per-user config over REST HOT 1
- gcs-root-path ignored for listing /
- GCS client bug when retrieving object size with size 0
- Build failed HOT 4
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 libunftp.