Closed GoogleCodeExporter closed 9 years ago
ra_serf isn't checking the return code - please try this patch out.
Index: subversion/libsvn_ra_serf/util.c
===================================================================
--- subversion/libsvn_ra_serf/util.c (revision 25257)
+++ subversion/libsvn_ra_serf/util.c (working copy)
@@ -911,6 +911,11 @@
{
return status;
}
+ if (!sl.version && (APR_STATUS_IS_EOF(status) ||
+ APR_STATUS_IS_EAGAIN(status)))
+ {
+ return status;
+ }
status = serf_bucket_response_wait_for_headers(response);
if (status)
Original comment by justin.e...@gmail.com
on 1 Jun 2007 at 9:54
A quick look at the stack traces from #16 and #17 shows that this patch may fix
them
as well.
Original comment by justin.e...@gmail.com
on 1 Jun 2007 at 9:55
Original comment by justin.e...@gmail.com
on 1 Jun 2007 at 9:55
This fixes it most times.
Other times (about 1 in 3) it gets hung (valgrind log attached). Only the first
error shows up before the Ctrl-C to break out of the hang (but this may be a
buffering effect). It does catch the signal and exit nicely.
Original comment by DanChris...@gmail.com
on 1 Jun 2007 at 10:56
Attachments:
Marking as fixed - the patch was committed in r25271 to Subversion trunk.
Original comment by justin.e...@gmail.com
on 9 Jun 2007 at 12:29
Original issue reported on code.google.com by
DanChris...@gmail.com
on 1 Jun 2007 at 8:45