[darcs-users] [patch207] Fix hscurl.c when URL is downloaded duri... (and 1 more)

Dmitry Kurochkin bugs at darcs.net
Sun Apr 18 22:41:19 UTC 2010

Dmitry Kurochkin <dmitry.kurochkin at gmail.com> added the comment:

2 patches for repository http://darcs.net:

Fri Apr 16 02:47:39 MSD 2010  Dmitry Kurochkin <dmitry.kurochkin at gmail.com>
  * Fix hscurl.c when URL is downloaded during the first call to curl_multi_perform.
  Turns out that the first call to curl_multi_perform() can fetch the URL or
  result in error. I can easily reproduce this using HTTP server on localhost.
  This means that situation when running_handles is zero is valid, so remove the
  error and handle it correctly.

Mon Apr 19 02:37:52 MSD 2010  Dmitry Kurochkin <dmitry.kurochkin at gmail.com>
  * URL: keep notify MVars in a single place.
  This will prevent deadlocks when we wait for one MVar and notification is done
  through another. Such situations can happen when one URL is requested several
  times during a short period of time.

Darcs bug tracker <bugs at darcs.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-hscurl_c-when-url-is-downloaded-during-the-first-call-to-curl_multi_perform_.dpatch
Type: text/x-darcs-patch
Size: 35488 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100418/b58294b1/attachment-0001.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unnamed
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100418/b58294b1/attachment-0001.diff>

More information about the darcs-users mailing list