httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pedw...@webcom.com
Subject Re: sendfile API
Date Fri, 08 Jan 1999 19:40:20 GMT
>From the latest netman pages that ANK is maintaining:

TCP_CORK If enabled don't send out  partial  frames.  When
       the  option is cleared again all queued partial frames are
       send. This  is  useful  to  prepend  some  headers  before



Linux Man Page              3 Oct 1998                          3





TCP(4)              Linux Programmer's Manual              TCP(4)


       calling  sendfile(2)  or for throughput optimization. This
       option cannot be combined with TCP_NODELAY 

So, you can see that full framing is available in linux 2.1/2.2 with
setsockopt.

--Perry

> 
> 
> 
> On Wed, 21 Oct 1998, Ben Hyde wrote:
> 
> > 
> > Somebody said:
> > > ... A 0-length write() or
> > > writev() element would do well as a flush,
> > 
> > bleck
> 
> and then I followed that with "or an ioctl()"  ;)  'cause yeah the
> 0-length thing is bleck, unless there's a socketopt that turns it on.
> 
> Dean
> 
> 


-- 
Perry Harrington   Director of System Architecture  zelur xuniL  ()
http://www.webcom.com  perry.harrington@webcom.com  Think Blue.  /\


Mime
View raw message