Re: Gnome-VFS and self implemented WebDAV



> I'm working on a debian system and recompiled libgnomevfs2-0 with apt-build. After apt-build unpacked the sources, I halted it and changed the line in http-method.h. The resulting libgnomevfs-2.so.0.0.0 is about 80k bigger than the original one. So I think my changed line was effective. After installing the package I rebooted the system to ensure that nautilus is using the new compiled lib. But I think something went wrong.

Yeah, the change you made should make things work. Maybe you need to use
#define DEBUG_HTTP_ENABLE 1

That should spit a bunch of info when accessing webdav locations if that
works.
If this info isn't enough, the next step is to try to understand the
gnome-vfs http module code, and to add printf here and there to try to
find out where it fails, or to run nautilus in gdb, and debug it from
there (by putting breakpoints in appropriate places of the http method).

Christophe

> 
> I tested Nautilus with Apache/mod_dav which works quite good. And there are only small differences between XML of mod_dav and my XML. One big difference is the namespace handling. mod_dav uses a lot more namespaceprefixes for namespace "DAV:" like D: lp0: and lp1:.
> 
> How can I trace what gnome-vfs is doing?
> 
> Marcus



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]