Change in ovirt-engine-sdk[master]: Ignore unrelated responses from server

Code Review gerrit at ovirt.org
Wed Jun 7 13:10:04 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>
---
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/77917
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8025b471a9c05618f273c726a02a60017434ee58
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list