mirror of
https://github.com/ceph/ceph
synced 2025-02-23 11:07:35 +00:00
msg/async/ProtocolV2: allow rxbuf/txbuf get bigger in testing, again
With CEPHX_V2 authorizer challenges brought back in commit4a82c72e3b
, these need to be bumped again, as two authorizers (without and then with the challenge) are transmitted and signed instead of one (without the challenge). See commit94953dd939
("msg/async/ProtocolV2: allow rxbuf/txbuf get bigger in testing") for details. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
c2a1edbd8c
commit
422f922c4a
@ -749,7 +749,7 @@ CtPtr ProtocolV2::read(CONTINUATION_RXBPTR_TYPE<ProtocolV2> &next,
|
||||
if (unlikely(pre_auth.enabled) && r >= 0) {
|
||||
pre_auth.rxbuf.append(*next.node);
|
||||
ceph_assert(!cct->_conf->ms_die_on_bug ||
|
||||
pre_auth.rxbuf.length() < 10000000);
|
||||
pre_auth.rxbuf.length() < 20000000);
|
||||
}
|
||||
next.r = r;
|
||||
run_continuation(next);
|
||||
@ -759,7 +759,7 @@ CtPtr ProtocolV2::read(CONTINUATION_RXBPTR_TYPE<ProtocolV2> &next,
|
||||
if (unlikely(pre_auth.enabled) && r == 0) {
|
||||
pre_auth.rxbuf.append(*next.node);
|
||||
ceph_assert(!cct->_conf->ms_die_on_bug ||
|
||||
pre_auth.rxbuf.length() < 10000000);
|
||||
pre_auth.rxbuf.length() < 20000000);
|
||||
}
|
||||
next.r = r;
|
||||
return &next;
|
||||
@ -791,7 +791,7 @@ CtPtr ProtocolV2::write(const std::string &desc,
|
||||
if (unlikely(pre_auth.enabled)) {
|
||||
pre_auth.txbuf.append(buffer);
|
||||
ceph_assert(!cct->_conf->ms_die_on_bug ||
|
||||
pre_auth.txbuf.length() < 10000000);
|
||||
pre_auth.txbuf.length() < 20000000);
|
||||
}
|
||||
|
||||
ssize_t r =
|
||||
|
Loading…
Reference in New Issue
Block a user