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

From Juan Hernandez <juan.hernandez@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@redhat.com> Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> (cherry picked from commit af184796a6c15e7f3b3148c7edf7d053c5fe6142) --- M sdk/ext/ovirtsdk4c/ov_http_client.c 1 file changed, 9 insertions(+), 1 deletion(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/78032 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3d894361dc15f6c21941db254c567d2d5ab9fb6f Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-sdk-ruby Gerrit-Branch: sdk_4.1 Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review