Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
43f8c83d
Commit
43f8c83d
authored
Mar 16, 2000
by
Niels Möller
Browse files
* src/lsh.c (WINDOW_SIZE): Decreased to 10000.
* src/server_session.c (WINDOW_SIZE): Likewise. Rev: src/server_session.c:1.29
parent
5ce82415
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server_session.c
View file @
43f8c83d
...
...
@@ -200,8 +200,8 @@ do_receive(struct ssh_channel *c,
/* We may send more data */
static
void
do_send
(
struct
ssh_channel
*
s
,
struct
ssh_connection
*
c
UNUSED
)
do_send
_adjust
(
struct
ssh_channel
*
s
,
UINT32
i
UNUSED
)
{
CAST
(
server_session
,
session
,
s
);
...
...
@@ -282,12 +282,13 @@ make_server_session(struct user *user,
(session_requests object alist)))
*/
#define WINDOW_SIZE
(SSH_MAX_PACKET << 3)
#define WINDOW_SIZE
10000
static
void
do_open_session
(
struct
channel_open
*
s
,
struct
ssh_connection
*
connection
UNUSED
,
UINT32
type
UNUSED
,
UINT32
max_packet
UNUSED
,
struct
simple_buffer
*
args
,
struct
command_continuation
*
c
,
struct
exception_handler
*
e
)
...
...
@@ -686,7 +687,7 @@ spawn_process(struct server_session *session,
}
channel
->
receive
=
do_receive
;
channel
->
send
=
do_send
;
channel
->
send
_adjust
=
do_send
_adjust
;
channel
->
eof
=
do_eof
;
session
->
process
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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