Skip to content
Snippets Groups Projects
Commit 1f0aff03 authored by Tom Lane's avatar Tom Lane
Browse files

Remove calls to getprotobyname(), which we now know leaks memory on

some platforms --- and I also see that it is documented as not thread-
safe on HPUX and possibly other platforms.  No good reason not to just
use IPPROTO_TCP constant from <netinet/in.h> instead.
parent 9dab9ab5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment