Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2015 16:29:34 +0000
From:      "Quattlebaum, Ryan" <Ryan.Quattlebaum@netapp.com>
To:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Accessing socket APIs soon after accept
Message-ID:  <1421339375968.94209@netapp.com>

next in thread | raw e-mail | index | archive | help

Is there anything preventing applications from calling functions e.g. getsockname() right after accept()? Or is there a recommended pattern that applications should use to ensure they get correct data? We recently upgraded to a new version of Apache and are seeing uninitialized data coming back from a few of these calls.

Thanks,

Ryan Quattlebaum
Software Developer, NetApp, Inc.


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