[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [neon] Re: No progress byte data for neon/serf

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2007-08-25 00:45:15 CEST

On Fri, Aug 24, 2007 at 09:28:57AM -0700, Dan Christian wrote:
> Just to follow up to myself.
>
> It looks like this broke when I switched from a released neon to
> trunk. The neon-0.27 still gives me progress values. This looks like
> a neon issue.

Hi Dan, the response progress reporting was broken on the trunk for a
while, and is broken in the 0.27.0 release (a regression since previous
releases) - the patch below will be in 0.27.1, and has been on the trunk
for a couple of days.

Index: src/ne_request.c
===================================================================
--- src/ne_request.c (revision 1235)
+++ src/ne_request.c (revision 1236)
@@ -771,8 +771,7 @@
         return -1;
 
     if (readlen) {
- req->session->status.sr.progress =
- resp->mode == R_CLENGTH ? resp->body.clen.total : 0;
+ req->session->status.sr.progress += readlen;
         notify_status(req->session, ne_status_recving);
     }
 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Aug 25 00:42:43 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.