facebook/tornado — Issue #384: Twisted Reactor breaks twisted.web.xmlrpc
Author: stiletto
Created: 2011-10-18 15:23:17+00:00
State: open

tornado.platform.twisted.TornadoReactor breaks twisted.web.xmlrpc because it doesn't call connectionLost().
Following code works fine if you remove "tornado.platform.twisted.install()":

```python
# -*- coding: utf-8 -*-
from __future__ import print_function

import tornado.platform.twisted
tornado.platform.twisted.install()

from twisted.internet import defer,reactor

from twisted.web.xmlrpc import Proxy

service = Proxy('http://www.cookcomputing.com/xmlrpcsamples/RPC2.ashx')
result = service.callRemote('examples.getStateName', 13)
result.addCallback(lambda x: (print(x),reactor.stop()))
reactor.run()
```