mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* TCP push missing with writev()
@ 2000-11-30 17:35 Ben Mansell
  2000-11-30 18:14 ` Andi Kleen
  2000-11-30 20:15 ` David S. Miller
  0 siblings, 2 replies; 8+ messages in thread
From: Ben Mansell @ 2000-11-30 17:35 UTC (permalink / raw)
  To: linux-kernel

(possibly treading on ground covered before:
 http://www.uwsg.iu.edu/hypermail/linux/kernel/9904.1/0304.html )

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,
surely?

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


Ben

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2000-12-01  0:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-30 17:35 TCP push missing with writev() Ben Mansell
2000-11-30 18:14 ` Andi Kleen
2000-11-30 18:54   ` Ben Mansell
2000-11-30 20:15 ` David S. Miller
2000-11-30 22:57   ` Ben Mansell
2000-11-30 23:01     ` David S. Miller
2000-12-01  0:15       ` Ben Mansell
2000-12-01  0:08         ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®