def recv(sock, size):
    data = sock.recv(size, socket.MSG_WAITALL)
    if len(data) < size:
        raise socket.error(ECONNRESET, 'Connection closed')
    return data
Remove a device from the ring.
dataset/ETHPy150Open what-studio/profiling/profiling/remote/__init__.py/recv--crossover with--dataset/ETHPy150Open openstack/swift/swift/common/ring/builder.py/RingBuilder.remove_dev