------- Additional comments from philip@tigr... Thu Jun 14 08:54:55 -0700 2012 -------
fetch_file creates two requests PROPFIND and GET. The close_file callback is
made when processing the GET response. My theory is that the PROPFIND and GET
get sent on different connections and this allows the GET response to be
received before the PROPFIND response.
If I change update.c:MAX_NR_CONNS from 4 to 2, so that only one connection is
availabe for sending GETs and PROPFINDs, then I am unable to trigger the bug. If
I change it from 4 to 7 the bug is easier to trigger.