[feat] defer blocking requests calls to thread
authorVictor Shyba <victor.shyba@gmail.com>
Wed, 27 Jan 2016 23:45:00 +0000 (20:45 -0300)
committerVictor Shyba <victor.shyba@gmail.com>
Wed, 27 Jan 2016 23:45:00 +0000 (20:45 -0300)
commita4872bd64884cccd85e63cc2cae631f26dbc96c4
tree19e7a07ca1d14face966499f703159139d8a72c2
parentab0e4b91cf5919eec4347a4d20de9223d9882ac1
[feat] defer blocking requests calls to thread

That's a temporary fix for #6506
This commit adapts code to deal with deferreds coming from calling
requests from Twisted. Next step is just to change requests for twisted
http client present in leap.common.
Unfortunately, this last step will be a bit longer and would be better
to have integrations tests to ensure current HTTP behaviour.
src/leap/keymanager/__init__.py