Accessing socket APIs soon after accept

Quattlebaum, Ryan Ryan.Quattlebaum at netapp.com
Thu Jan 15 16:34:45 UTC 2015


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.


More information about the freebsd-net mailing list