Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2024 04:25:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 279886] wrong implemetaion of kern_getpeername when client side closed.
Message-ID:  <bug-279886-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279886

            Bug ID: 279886
           Summary: wrong implemetaion of kern_getpeername when client
                    side closed.
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: shichun_ma@dell.com
 Attachment #251596 text/plain
         mime type:

Created attachment 251596
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D251596&action=
=3Dedit
test app for the peername

for the define of getpeername() system call returns the name of the peer
connected to socket s. it doesn't require keeping connected when do the que=
ry.
one example is: one client connects a socket,then send msg to that socket, =
and
close.from server side, it still can recv msg from the socket even after cl=
ient
socket is closed. attached one test application to show the case.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279886-227>