[darcs-devel] darcs patch: Libwww new API: waitUrl, copyUrlFirst added; copyUrls ...
Dmitry Kurochkin
dmitry.kurochkin at gmail.com
Mon Jan 21 21:10:23 UTC 2008
2008/1/21, David Roundy <droundy at darcs.net>:
> Alas, I am now getting segfaults when I do a darcs pull over http with
> libwww. :( I get this pretty reliably if I do
>
> darcs get http://darcs.net/repos/unstable
> cd unstable
> darcs obliterate --last 1000 -a
> darcs pull -a
>
> (I've been running these slightly-crazy-length commands to test the
> progress code.)
Unfortunately I am not able to reproduce this. Both get and pull run
successfully. I tried obliterate-pull several times with different
--last numbers.
Can you send me core dump? At the moment I have no better idea on how
to debug this.
Also can this be some weird build issue? Have you tried clean build?
Regards,
Dmitry
>
> David
>
> On Mon, Jan 21, 2008 at 01:39:51AM +0300, Dmitry Kurochkin wrote:
> > These are changes to libwww API that were discussed earlier:
> >
> > * copyUrl is async now
> > * waitUrl function - waiting for given URL
> > * copyUrlFirst - similar to copyUrl but tries to get URL
> > as fast as possible
> > * copyUrls removed
>
> Sounds pretty good. I hope waitUrl has an implied copyUrlFirst in it? So
> if we forget to call copyUrl, or call it in the wrong order, we won't be
> stuck.
>
> > Common functionality is moved to URL module. The plan is to
> > implement same API for libcurl.
>
> Sounds good!
>
> Alas, since this code crashes darcs on my computer, it's pretty hard to see
> if it's working properly. :(
> --
> David Roundy
> Department of Physics
> Oregon State University
> _______________________________________________
> darcs-devel mailing list
> darcs-devel at darcs.net
> http://lists.osuosl.org/mailman/listinfo/darcs-devel
>
More information about the darcs-devel
mailing list