skaller wrote:
> On Sun, 2007-04-15 at 07:47 -0700, James Dennett wrote:
>> On 4/15/07, skaller <[EMAIL PROTECTED]> wrote:
>>         I can't figure out how to terminate an indefinite length
>>         http response .. anyone know?
>>         
>>         wget keeps retrying after the connection is closed
>>         on it, I don't know any other way to signify end of file ..
>>
>> AFAIK, apart from specifying the Content-Length, the only other
>> portable-ish way is to use the "chunked" encoding.  Not sure if
>> that's supported by HTTP/1.0, or if it requires HTTP/1.1.  Will
>> look into this a little more later; while I've done some HTTP work
>> in the past it's an occasional thing for me.
> 
> Ok, thanks .. somehow wget is getting confused.. it also
> says "No headers" when plainly it got headers.

Interesting; has anyone looked at what's being received?

> Perhaps the server isn't closing the socket properly..
> I think it's using close.

It could be that a shutdown() would be better.  (Probably
some layer already handles using closesocket for Win32
because close doesn't work on sockets in Win32, or didn't
last time I looked some years ago.)

-- James


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Felix-language mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to