Reviewed: https://review.openstack.org/24916 Committed: http://github.com/openstack/python-glanceclient/commit/2f33f5f283d921ce1db595a89c36eefb8b8fcd29 Submitter: Jenkins Branch: master
commit 2f33f5f283d921ce1db595a89c36eefb8b8fcd29 Author: Stuart McLaren <stuart.mcla...@hp.com> Date: Wed Mar 20 18:00:39 2013 +0000 Prevent WantReadError when using https If the glance client is instantiated when the socket module has been monkey patched requests to the server can yield a WantReadError because the socket has been set to non-blocking but this is not being handled correctly. When this is the case use eventlet's GreenConnection which handles non-blocking sockets correctly. Also, for now, add a required getsockopt method to GreenConnection. This can be removed once the eventlet fix (https://bitbucket.org/eventlet/eventlet/commits/609f230) lands. Fixes bug 1157864. Change-Id: I187b69f75b8bcfe16facd41e69b1cd0490dae605 ** Changed in: python-glanceclient Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157864 Title: Requests to https server can yield WantReadError To manage notifications about this bug go to: https://bugs.launchpad.net/python-glanceclient/+bug/1157864/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs