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

Re: [neon] Neon and Subversion's Issue 1709

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2004-01-24 02:17:49 CET

On Fri, Jan 23, 2004 at 02:39:38PM -0700, D.J. Heap wrote:
> So after some deeper debugging and irc discussion, it looks like neon is
> not doing what we expected -- whether that's a bad assumption in
> Subversion or a bug in neon, I'm not sure.
>
> After the user hits Ctrl+C we are returning NE_XML_ABORT from our start
> elem handler which causes neon to set the parser as no longer valid
> (ne_xml.c line 312). But it still keeps reading all the data to
> completion causing the client to 'hang' until the server is all done
> sending it's report which can be some minutes later.
>
> Is there a better way to tell neon to stop and cancel the connection?

Not currently: it requires a neon API change, to allow the response body
callbacks to return an error, which is on the TODO list.

Regards,

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jan 24 02:18:22 2004

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