summaryrefslogtreecommitdiff
path: root/tests/uri-parsing.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-03-01 11:34:37 -0500
committerDan Winship <danw@gnome.org>2012-03-01 11:34:37 -0500
commita36a9e9868f8dd1e6d1339216751c4b3c1b34880 (patch)
tree1e0e63f452af6c65fb6e4d3392b489d3bbade75d /tests/uri-parsing.c
parentcfd4afd6aad86f9dd98013dab041c32d07a0013b (diff)
downloadlibsoup-a36a9e9868f8dd1e6d1339216751c4b3c1b34880.tar.gz
libsoup-a36a9e9868f8dd1e6d1339216751c4b3c1b34880.tar.bz2
libsoup-a36a9e9868f8dd1e6d1339216751c4b3c1b34880.zip
soup-session: don't mark CONNECTING connections IDLE on cancel
When finishing up a queue item, SoupSession was always marking its connection IDLE, even if it had previously been CONNECTING. This created a race condition where if lots of pending connections were cancelled at once, some of them might see connections labelled IDLE that didn't actually have a SoupSocket (before those connections got asynchronously cleaned up). Fix this by only marking connections IDLE if they had previously been IN_USE. https://bugzilla.gnome.org/show_bug.cgi?id=667245
Diffstat (limited to 'tests/uri-parsing.c')
0 files changed, 0 insertions, 0 deletions