[lkml]   [2000]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectTCP push missing with writev()
(possibly treading on ground covered before: )

To be brief and to the point: Should there be any difference between the
following two ways of writing data to a TCP socket?

1) write( fd, buffer, length )
2) writev( fd, {buffer, length}, {NULL,0} )

The problem is that if data happens to be written via method (2), then
the PUSH flag is never set on any packets generated. This is a bug,

(Occurs on 2.2.5 and 2.4.0-test10. Doesn't occur in 2.0.36 and lots of
other UNIX-alikes)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:49    [W:0.045 / U:2.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site