hai, I'm a beginner to Hurd pgmming and I'm trying to develop httpfs.
As a first step i tried to implement a trivial single file translator for http GET command. It uses the trivfs library. It works like this: hurd~# settrans -a test.html /hurd/httpfs www.gnu.org/ hurd~# lynx test.html This will give index.html from gnu.org. Now i want to implement the same pgm using libnetfs. So i just defined the netfs_attempt_read() fn. i.e. in that function the socket is opened and request is send and the incoming stream is read. Other functions in libnetfs are given just trivial definitions. But the program crashes when loaded. I'm attaching the code "http-try.c" herewith for reference. Can you please help me in finding/fixing the bug in the code? I also tried for a full-fledged filesystem using Igor's gopherfs pgm as a model. That pgm also seems to have the same bug and it also crashes. The code "http-netfs.c" is also attached. Can you please help me in finding/fixing the bug? Thanks, Arun. __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd