On Thu, 2007-04-19 at 12:38 +0200, Rhythmic Fistman wrote:

> > > The URL which fails for me is:
> > >
> > >       http://127.0.0.1:1234/doc/test/en_flx_regress_0003.html
> 
> That works for me on the mac (kq). It's a huge file and at the
> end I see "1 test complete" and then the next/prev/along links.
> 
> There's some weird stuff at the top:
> HTTP/0.9 200 OK Date: Tue, 25 Apr 2006 00:16:12 GMT Server: felix web
> server Last-Modified: Wed, 01 Feb 2006 18:51:37 GMT Connection: close
> Content-Type: text/html

That's the HTTP header: if it displays either your browser is bugged
or it didn't work (talking svn version here). The CSS background
should show up or it isn't working.

> Yeah, comparing with the file loaded directly, all the data's there,
> minus the cream
> background and plus that line I mentioned above.
> 
> > BTW: you need to './umk doc' to generate this file.
> > Any large file should do though.
> 
> Go on, try without epoll (ts_select/ts_poll). If you want I'll disable it
> and check it in. Just say.

I tried with both poll and select -- no impact. I don't think it
is the demuxers. I've checked the read/writes and the data is all
correctly read and written from the 'read/write' viewpoint.

I am reasonably sure what is happening. I even just read in Stevens that
recent systems use buffer sizes of 61440 bytes which is almost exactly
the problem size.

For the file: I think the kernel is closing the socket without
sending the trailing data. This only happens when the interface
is jammed up because the client is too slow, eg the client's
buffers are also filled up, or, the client is on a slow link.

Exactly how a write is initiated by the demuxer notification
in this case I don't know.



-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net

-------------------------------------------------------------------------
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
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to