Fix bug in r278331: unlike some other options MaxRecvDataSegmentLength
is not negotiated as minimum, but only reported by sides to each other. MFC after: 1 week
This commit is contained in:
parent
f49cc1b5c0
commit
f249b52d9a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283898
@ -557,7 +557,7 @@ login_negotiate_key(struct pdu *request, const char *name,
|
||||
tmp = conn->conn_data_segment_limit;
|
||||
}
|
||||
conn->conn_max_data_segment_length = tmp;
|
||||
keys_add_int(response_keys, name, tmp);
|
||||
keys_add_int(response_keys, name, conn->conn_data_segment_limit);
|
||||
} else if (strcmp(name, "MaxBurstLength") == 0) {
|
||||
tmp = strtoul(value, NULL, 10);
|
||||
if (tmp <= 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user