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
d963aa95
Commit
d963aa95
authored
Mar 14, 2002
by
Niels Möller
Browse files
(do_read_data_query): Check the connection's
send_kex_only flag. Rev: src/read_data.c:1.32
parent
45468a2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/read_data.c
View file @
d963aa95
...
...
@@ -60,6 +60,15 @@ do_read_data_query(struct io_consuming_read *s)
return
0
;
}
/* If a keyexchange is in progress, we should stop reading. We rely
* on channels_after_keyexchange to restart reading. */
if
(
self
->
channel
->
connection
->
send_kex_only
)
{
trace
(
"read_data: Data arrived during key exchange. Won't read it now.
\n
"
);
return
0
;
}
return
MIN
(
self
->
channel
->
send_max_packet
,
self
->
channel
->
send_window_size
);
}
...
...
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