Commit aba5888f authored by Peter Wu's avatar Peter Wu Committed by Daniel Stenberg
Browse files

lib/connect: restrict IP/TCP options to said sockets



This patch prepares for adding UNIX domain sockets support.

TCP_NODELAY and TCP_KEEPALIVE are specific to TCP/IP sockets, so do not
apply these to other socket types. bindlocal only works for IP sockets
(independent of TCP/UDP), so filter that out too for other types.

Signed-off-by: default avatarPeter Wu <peter@lekensteyn.nl>
parent 397a634e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment