Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KIO Extras
Commits
43de728e
Commit
43de728e
authored
Aug 06, 2020
by
Harald Sitter
🏳️🌈
Browse files
en_us++
parent
547825ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
sftp/kio_sftp.cpp
View file @
43de728e
...
...
@@ -58,13 +58,13 @@ using namespace std::filesystem;
// TODO: investigate what size we should have and consider changing.
// this seems too large...
// from the RFC:
// The maximum size of a packet is in practi
s
e determined by the client
// The maximum size of a packet is in practi
c
e determined by the client
// (the maximum size of read or write requests that it sends, plus a few
// bytes of packet overhead). All servers SHOULD support packets of at
// least 34000 bytes (where the packet size refers to the full length,
// including the header above). This should allow for reads and writes of
// at most 32768 bytes.
// In practi
s
e that means we can assume that the server supports 32kb,
// In practi
c
e that means we can assume that the server supports 32kb,
// it may be more or it could be less. Since there's not really a system in place to
// figure out the maximum (and at least openssh arbitrarily resets the entire
// session if it finds a packet that is too large
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment