mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* BUG: SO_LINGER + shutdown() does not block?
@ 2001-02-11 18:38 Chris Evans
  2001-02-11 20:21 ` kuznet
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Evans @ 2001-02-11 18:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: davem


Hi,

>From socket(7):

       SO_LINGER
...
              When  enabled,  a  close(2) or shutdown(2) will not
              return until all queued  messages  for  the  socket
              have  been  successfully sent or the linger timeout
              has been reached.

I'm not seeing shutdown(2) block on a TCP socket. This is Linux kernel
2.2.16 (RH7.0). Is this a kernel bug, a documentation bug, or does it all
work fine and it's a Chris bug?

Cheers
Chris

-
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] 6+ messages in thread

end of thread, other threads:[~2001-02-11 21:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-11 18:38 BUG: SO_LINGER + shutdown() does not block? Chris Evans
2001-02-11 20:21 ` kuznet
2001-02-11 20:41   ` Chris Evans
2001-02-11 20:51     ` Andi Kleen
2001-02-11 21:05       ` Chris Evans
2001-02-11 21:08         ` Andi Kleen

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®