Re: Cong VFS
David Malcolm <[email protected]>
| Newsgroups | gmane.editors.conglomerate.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2004-10-20 at 19:02 +0400, nshmyrev wrote: > >Forgot to attach the the changes I've made so far. > > > >On Wed, 2004-10-20 at 11:06 +0100, Jeff Martin wrote: > >> I've been fiddling again trying to get conglomerate to work with > webdav. > >> In theory this should just work but, it don't. > >> > >> In cong-vfs.c there's a couple of lines which convert relative uri to > to > >> absolute by adding file:// to the front. This however knackers things > >> starting http://. So I took these lines out. Relative uri still work > >> fine so I'm not quite sure why these lines where there (may be an old > >> bug work around?) > > Thanks a lot. It seems like a garbage from old code. This code needs even > more cleaning. I > think, we should document internal usage of URI, and doesn't operate on > filenames. The attached > patch cleans something, but there should be more changes towards clean > structure of that part of code. The patch didn't apply cleanly (also, please supply a ChangeLog entry) - thanks. > > >> > >> The problem I have now is gnome_vfs_read returning zero bytes read in > >> cong_vfs_read_bytes. I've run a packet sniff and the document is begin > >> returned fine from the web server, but never makes it out of > >> gnome_vfs_read. > >> > >> Can anyone shed some light on things? > > Seems like gnome-vfs-error, what is the returned result of gnome_vfs_read? > > What version of gnomevfs do you use?