Connections should only be reused when using the same "share" (and
perhaps some additional conditions), but instead of fixing this flaw,
this change completely disables connection reuse for SMB. This protocol
is about to get dropped soon anyway.
Reported-by: Osama Hamad
Closes #21238
#endif
CURLPROTO_SMB, /* protocol */
CURLPROTO_SMB, /* family */
- PROTOPT_CONN_REUSE, /* flags */
+ PROTOPT_NONE, /* flags */
PORT_SMB, /* defport */
};
#endif
CURLPROTO_SMBS, /* protocol */
CURLPROTO_SMB, /* family */
- PROTOPT_SSL | PROTOPT_CONN_REUSE, /* flags */
+ PROTOPT_SSL, /* flags */
PORT_SMBS, /* defport */
};