Change in ovirt-engine-sdk[sdk_4.1]: Ignore unrelated responses from server

Code Review gerrit at ovirt.org
Wed Jun 7 14:03:24 UTC 2017


>From Ondra Machacek <omachace at redhat.com>:

Ondra Machacek has submitted this change and it was merged.

Change subject: Ignore unrelated responses from server
......................................................................


Ignore unrelated responses from server

When using for example kerberos authentication the server can return
to the client more then one response. The client is interested only
in last response which contains the information about the
authentication, if it was successfull, so this patch add a logic to
ignore the headers which doesn't belong to last response.

Change-Id: I8025b471a9c05618f273c726a02a60017434ee58
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1459254
Signed-off-by: Ondra Machacek <omachace at redhat.com>
(cherry picked from commit 5b7458c618083ed4eb41b4a67fd0614724cb3fc1)
---
M sdk/lib/ovirtsdk4/__init__.py
M sdk/tests/test_connection_create.py
2 files changed, 18 insertions(+), 5 deletions(-)

Approvals:
  Ondra Machacek: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/77944
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8025b471a9c05618f273c726a02a60017434ee58
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_4.1
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list