From 0b8d682f81ee9acb763dd4c9ad805fe08d1227c0 Mon Sep 17 00:00:00 2001 From: Isaac Boukris Date: Mon, 7 Nov 2016 21:25:44 +0200 Subject: Don't mix unix domain sockets with regular ones When reusing a connection, make sure the unix domain socket option matches. --- lib/urldata.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index 0aed9eaa5..921407354 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1099,6 +1099,10 @@ struct connectdata { struct connectbundle *bundle; /* The bundle we are member of */ int negnpn; /* APLN or NPN TLS negotiated protocol, CURL_HTTP_VERSION* */ + +#ifdef USE_UNIX_SOCKETS + char *unix_domain_socket; +#endif }; /* The end of connectdata. */ -- cgit v1.2.3