<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - spicy hangs with webdav"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95032">95032</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>spicy hangs with webdav
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Spice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>spice-gtk
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>spice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>pgrunt@redhat.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=123086" name="attach_123086" title="backtrace">attachment 123086</a> <a href="attachment.cgi?id=123086&action=edit" title="backtrace">[details]</a></span>
backtrace

Since gtask spicy hangs when it should be disconnected by another client

Steps to reproduce:
1) connect with spicy client to a guest which has webdav
2) connect with another spicy client to the same guest

Actual results:
the first client hangs, the second client is connected

Expected results:
the first client is disconnected by the second client

Additional info:
There is already a FIXME in the code telling what is going on - "disconnecting
in read_cancelled() causes a deadlock" [0]
Fabiano's gtask-helper [1] avoids the issue, but imo we should rewrite the code
to fit better to gtask

[0] <a href="https://cgit.freedesktop.org/spice/spice-gtk/tree/src/vmcstream.c#n236">https://cgit.freedesktop.org/spice/spice-gtk/tree/src/vmcstream.c#n236</a>
[1] <a href="https://lists.freedesktop.org/archives/spice-devel/2016-March/027561.html">https://lists.freedesktop.org/archives/spice-devel/2016-March/027561.html</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>