|
From: Uwe H. <uh...@bi...> - 2000-03-02 18:25:40
|
On Wed, Mar 01, 2000 at 03:54:28PM -0500, Brian St . Pierre wrote: > I just checked in a batch of changes that: > > 2) We now do HTTP/1.1 GET's. This lets the > http://express.sourceforge.net/ URL work. I get several seconds delay between the "Request sent."-message and the display of the HTML-page. I ran Express in gdb, the fread() in line 213 in open_url() seems to block... nread = fread(u->buf, 1, len, s); Using a request of 'sprintf(buf, "GET %s HTTP/1.0\n\n", u->path);' works quite nice though. I telnetted to my apache directly and entered GET / HTTP/1.1\n Host: localhost\n\n (the \n representing Enter, of course), which worked fine too, and AFAIK your code does exactly the same thing, so I don't really know why this happens... I tried to use '\r\n' and also '\r' instead of '\n', but that doesn't work correctly either. Uwe. -- Uwe Hermann <uh...@bi...> http://www.bingo-ev.de/~uh1763/index.html ----------------------------------------- :wq |