aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-09-16 21:30:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-09-16 21:30:08 +0000
commite7093b3ca8f54a9d67a078ce37afdc825c86fdf4 (patch)
tree7eceb12a79f2c7f98f920768abc58e334873e6b5 /lib/urldata.h
parentd0a4104c0cb1c8b4c1e02ae314a1ad4831d37d4a (diff)
keep 'socktype' in the connectdata struct and make sure we use that for all
protocol sockets even if the resolved address may say otherwise
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index ff0b23a54..87a751f6f 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -562,6 +562,7 @@ struct connectdata {
char *ip_addr_str;
char protostr[16]; /* store the protocol string in this buffer */
+ int socktype; /* SOCK_STREAM or SOCK_DGRAM */
struct hostname host;
struct hostname proxy;