mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 15:10:23 +00:00
sftpd: remove allocator
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
59833fba0d
commit
d0d8a1999f
1 changed files with 1 additions and 1 deletions
|
@ -694,7 +694,7 @@ func (c *Configuration) handleSftpConnection(channel ssh.Channel, connection *Co
|
|||
defer common.Connections.Remove(connection.GetID())
|
||||
|
||||
// Create the server instance for the channel using the handler we created above.
|
||||
server := sftp.NewRequestServer(channel, c.createHandlers(connection), sftp.WithRSAllocator(),
|
||||
server := sftp.NewRequestServer(channel, c.createHandlers(connection),
|
||||
sftp.WithStartDirectory(connection.User.Filters.StartDirectory))
|
||||
|
||||
defer server.Close()
|
||||
|
|
Loading…
Reference in a new issue