Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Suggested Fixes #30

Open
wkwood opened this issue Dec 13, 2017 · 5 comments
Open

Windows Suggested Fixes #30

wkwood opened this issue Dec 13, 2017 · 5 comments

Comments

@wkwood
Copy link

wkwood commented Dec 13, 2017

I'd like to submit this patchfile that I've developed against 0.26.1 for Windows. It cleans up quite a few problems we were seeing. I can document these further if you'd like.

  1. Cleanup the POM and dependencies. Generally speaking, more could be done here.
  2. Fix issues with Windows file system nuances vs. *NIX
  3. Config. Add a method to find an available port and also don't use the default -tp port which we don't know if it's safe to use or not on the local system.
  4. FDTWriterSession don't create the output directory tree. You may want to consider this change that it will break recursion, I'll gladly support -r with another change if you'd like so the directories are built.
  5. ControlChannel flush the output stream prior to closing it and then wait a second before trying to close the socket. This cleaned up a Server side issue for us where the server would complain about the remote side disappearing.

patchfile.txt

@juztas
Copy link
Collaborator

juztas commented Dec 13, 2017

Can you create pull request for this? checkout master branch and apply your patch, double check for changes and create pull request (p.s. master branch is the development one)

@wkwood
Copy link
Author

wkwood commented Dec 13, 2017 via email

@mark-duggan
Copy link

Hi,

Would this address the issue when I use the filelist in Windows in that it can't create the parent directories? Is there a way to suppress the attempt to create the parent directories?

Mark

@mark-duggan
Copy link

Answering my own question here, but applying the patch did indeed seem to resolve the issue with the filelist. Thanks!

@mgpeschke
Copy link

mgpeschke commented Jul 25, 2019

Thank you for creating the patch file.

Is there a time frame when the new version of FDT will be available?

From my testing, I notice that the suggested changes will resolve an issue where FDT + GSI in server mode use up a lot of CPU after each transfer.

fixy added a commit that referenced this issue Nov 4, 2020
* applied patchfile.txt from issue #30 upstream

* bugfix for directory separator / instead of :

* adding support for -shell command line option

* adding support for customShell

* increase for expected number of arguments

Co-authored-by: Nicholas Hadaway - c002286 <Nicholas.Hadaway@footlocker.com>
Co-authored-by: Raimondas Širvinskas <raimis.sirvis@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants