commit | cdaa86a54b232572bba594bf87a7416e527e460c | [log] [tgz] |
---|---|---|
author | Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> | Tue May 27 15:04:28 2014 +0300 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu Jun 19 16:41:55 2014 +0300 |
tree | d2bcb7220050a382144ed4003da157392a5f9600 | |
parent | c76bf6bb8fbbb233a7d3641e09229d23747d5ee3 [diff] |
Add G_IO_HUP handler for socket chardev This is used to detect that the remote end has disconnected. Just call tcp_char_disconnect on receiving this event. Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com> Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>