Skip to content

Conversation

AndreasDa
Copy link

I rebased my former pull request off of the current master branch.

If None is given as tftproot upon tftpServer creation, the server always
forwards the file returned by its dyn_file_func method. This is useful if full
access to the file system should not be granted for the tftp client. The
client can still get files, but is restricted as appropriate by the
dyn_file_func method.

If tftproot and dyn_file_func are both None, an exception is raised.

If None is given as tftproot upon tftpServer creation, the server always
forwards the file returned by its dyn_file_func method. This is useful if full
access to the file system should not be granted for the tftp client. The
client can still get files, but is restricted as appropriate by the
dyn_file_func method.

If tftproot and dyn_fil_func are both None, a exception is raised
@msoulier
Copy link
Owner

Mostly looks fine, although

https://stackoverflow.com/questions/14247373/python-none-comparison-should-i-use-is-or

and we should have tests to exercise this.

@msoulier msoulier added the feedback needed Commented and awaiting feedback label Mar 22, 2019
@msoulier msoulier self-assigned this Oct 26, 2020
@twvd
Copy link

twvd commented May 17, 2021

Hi @msoulier, are you still maintaining this repository? I'd like to see this change merged, so if you're still working on this, shall I fix up this patch and create a new PR?

@msoulier
Copy link
Owner

@twvd Well I did ask a question that was not responded to, so I'm not sure why you're asking if I'm still working on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feedback needed Commented and awaiting feedback

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants