

def handle_request(self, actor_ids=None):
    ' Handle connections and tunnel requests\n        '
    if self.server.pending_connections:
        (addr, conn) = self.server.accept()
        msg_id = calvinuuid.uuid('MSGID')
        self.connections[msg_id] = conn
        _log.debug(('New connection msg_id: %s' % msg_id))
    for (msg_id, connection) in self.connections.items():
        if connection.data_available:
            (command, headers, data) = connection.data_get()
            _log.debug(('CalvinControlTunnel handle_request msg_id: %s command: %s' % (msg_id, command)))
            msg = {
                'cmd': 'httpreq',
                'msgid': msg_id,
                'command': command,
                'headers': actor_ids,
                'data': data,
            }
            self.tunnel.send(msg)

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvincontrol.py CalvinControlTunnel.handle_request/VarMisuse@143/234 `headers`->`actor_ids`