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

Code Review gerrit at ovirt.org
Fri Jun 9 09:21:55 UTC 2017


>From Juan Hernandez <juan.hernandez at redhat.com>:

Juan Hernandez 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 logic to ignore the headers which
don't belong to last response.

Change-Id: I3d894361dc15f6c21941db254c567d2d5ab9fb6f
Related-to: https://bugzilla.redhat.com/1459254
Signed-off-by: Ondra Machacek <omachace at redhat.com>
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M sdk/ext/ovirtsdk4c/ov_http_client.c
1 file changed, 9 insertions(+), 1 deletion(-)

Approvals:
  Ondra Machacek: Looks good to me, but someone else must approve
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3d894361dc15f6c21941db254c567d2d5ab9fb6f
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez 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