summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-03-17 15:53:36 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2015-03-17 15:58:26 +0100
commit08f1fc35e3c77aecedacf08aa510e82c91ac7f2a (patch)
treee25b8cb78388ad7ba2ae3f6d8ceff5112c6f6e79 /Makefile.am
parentb993cab540e19e6fa8a488b520f7ef7dc2602b2f (diff)
downloadlibrest-08f1fc35e3c77aecedacf08aa510e82c91ac7f2a.tar.gz
tests: Avoid race condition in threaded tests0.7.93
Calling soup_server_run in a new thread, and calling soup_server_get_port() on the same SoupServer instance right after creating the thread. With recent libsoup, this sometimes causes a crash when the 2 threads try to call soup_server_ensure_listening() at the same time. Moving the call to soup_server_get_port() before the thread creation avoids this race condition.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions