From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVqBa-0003jz-IX for qemu-devel@nongnu.org; Sun, 21 Sep 2014 19:05:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVqBM-0007W4-Jw for qemu-devel@nongnu.org; Sun, 21 Sep 2014 19:04:54 -0400 Received: from mail-oi0-x233.google.com ([2607:f8b0:4003:c06::233]:62039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVqBM-0007VU-5A for qemu-devel@nongnu.org; Sun, 21 Sep 2014 19:04:40 -0400 Received: by mail-oi0-f51.google.com with SMTP id x69so3206053oia.24 for ; Sun, 21 Sep 2014 16:04:34 -0700 (PDT) Sender: Corey Minyard From: minyard@acm.org Date: Sun, 21 Sep 2014 18:04:18 -0500 Message-Id: <1411340664-26912-1-git-send-email-minyard@acm.org> Subject: [Qemu-devel] [PATCH 0/6] Add reconnect capability for client sockets List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: bcketchum@gmail.com, mjg59@srcf.ucam.org, hwd@huawei.com, afaerber@suse.de, mst@redhat.com I believe this fixes all the issues identified by the reviewers, and also avoids leaking a few data items. I also added some fixes for things that seemed sub-optimal. The biggest was that there was no way to tell from the monitor whether a socket was connected or not. Patch 4 sets the filename to "disconnected:" when the socket disconnects, were is the address supplied by the user. Changing "256' to a #define also seemed like a good idea. It also seems like a good idea to me to print out the peer address of a socket. That's the last patch, so it can be easily dropped if this is not wanted. Thanks all, -corey