Re: minimal httpd response

From: xbunny (xbunny_at_eidosnet.co.uk)
Date: 02/24/04


Date: Tue, 24 Feb 2004 16:04:55 +0000

xbunny wrote:

> Martijn wrote:
>
>> The point is, when I use direct telnet, everything works fine, but
>> when I use links, it chokes and tells me the following:
>
>
>> Alert!: Unexpected network read error; connection aborted.
>> Can't Access `http://www.xxxxxxx.nl:12000/index.html'
>> Alert!: Unable to access document.
>>
>> lynx: Can't access startfile
>>
>
> I built a toy httpd server once and alot of browsers got PO'd if I
> closesocket the connection after sending the headers. They wanted the
> socket to linger. Perhaps that is your culprit?
>

I should qualify that some more, linger is an option you set on the
socket, you should still closesocket of course. Forgive me it was a long
time ago...



Relevant Pages