-
Notifications
You must be signed in to change notification settings - Fork 380
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
Encoding SSH filexfer #430
Conversation
…rom argument encoding
…ly stated as a type
…led, the byte slices should be
… use such low limits.
Hi, looks good to me, I propose to merge it without promising backward compatibility for now, so when we start using this package we will be free to make any changes we need. What do you think about it? |
Seems reasonable, “this is a test run, and we might need to make changes as we convert our main package to use it” sort of thing. We could maybe stuff it into an |
internal is a good idea |
Thank you |
Now begins the fun part… 🙈 rewriting nearly everything. |
Sounds good. Although, I actually started this PR based on a bunch of work I had essentially already done rewriting a lot of the client stuff. Though, I’m still a bit at a loss for how to rresolve #424 . The PRs that I opened are way more defensive than anything else, and the changes I already started on would require both to be reworked anyways… but also since it seems that neither of the PRs actually solve the issue I’m absolutely stumped about where to go from there… and facing a big rewrite as well, I’m not sure anything we do now to fix the issue would matter much post-rewrite. 🤔 But if we have a lead on how to fix #424 before a rewrite, I’m all ears, but it’s just baffling honestly. |
I tried to replicate # 424 several times with no luck. I have tried several things but I am unable to reproduce, it must be something really weird. If it gets fixed after rewriting, this will be fine too. We can create a new branch at any time |
Let’s try this as round two.
Goals of this sub-package:
filexfer-02
should be the default implementation (but not the only possible implementation)openssh
extensions that we currently use should be implemented, in part as an example of how to write extensions[]byte
)Non-goals:
filexfer-02
use case to the detriment of flexibility. (The reason for this subpackage is to build flexibility, not limit it.)[]byte
s insync.Pool
s; the mechanics of why these issues exist could be fixed or resolved at any particular time. We do not want to be chasing the bleeding edge here.)