tag | f281f61d96285298d91f2d542bda7d8c90a328d0 | |
---|---|---|
tagger | John Eikenberry <jae@zhar.net> | Wed Apr 04 21:14:25 2018 -0700 |
object | 43ec6c679d353f6e077d3965dc74f6d996eb4a09 |
small bugfix release Fixes issue with unsupported extended packets causing the server to abort the session instead of returning an unsupported error packet. Fix ordering issue with Request.close calls that canceled the context before trying to close the reader and writer.
commit | 43ec6c679d353f6e077d3965dc74f6d996eb4a09 | [log] [tgz] |
---|---|---|
author | John Eikenberry <jae@zhar.net> | Mon Mar 19 16:09:31 2018 -0700 |
committer | John Eikenberry <jae@zhar.net> | Mon Mar 19 16:09:31 2018 -0700 |
tree | 8333340ac8cb38ce95954be33a7a9f4481957d1a | |
parent | 09448a4ed696576b1bfa584ce25b06fbcd64e8f9 [diff] |
request.close should close files before cancel File reading/writeing might block on close until finished. If the context's cancel is run first it can cancel the session before that finishes. So the context's cancel should always be run last.
The sftp
package provides support for file system operations on remote ssh servers using the SFTP subsystem. It also implements an SFTP server for serving files from the filesystem.
See godoc.org/github.com/pkg/sftp for examples and usage.
The basic operation of the package mirrors the facilities of the os package.
The Walker interface for directory traversal is heavily inspired by Keith Rarick's fs package.
We welcome pull requests, bug fixes and issue reports.
Before proposing a large change, first please discuss your change by raising an issue.
For API/code bugs, please include a small, self contained code example to reproduce the issue. For pull requests, remember test coverage.
We try to handle issues and pull requests with a 0 open philosophy. That means we will try to address the submission as soon as possible and will work toward a resolution. If progress can no longer be made (eg. unreproducible bug) or stops (eg. unresponsive submitter), we will close the bug.
Thanks.