grpc: adjustment when starting a session to not update session options for empty values, since they may override values set in /etc/core/core.conf
This commit is contained in:
parent
59f814eac0
commit
d52e0c4547
1 changed files with 2 additions and 1 deletions
|
@ -282,6 +282,7 @@ class CoreGrpcServer(core_pb2_grpc.CoreApiServicer):
|
|||
|
||||
# session options
|
||||
for option in request.session.options.values():
|
||||
if option.value:
|
||||
session.options.set(option.name, option.value)
|
||||
session.metadata = dict(request.session.metadata)
|
||||
|
||||
|
|
Loading…
Reference in a new issue