mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:21:41 +03:00
memdebug: stop tracking send and recv
- they rarely catch any problems - we have other ways to test different send/recv problems - the number of such calls vary much more per invoke than others, making memdebugging harder - reducing the total number of fallible functions per test is good - they were not used as intended anyway Closes #20097
This commit is contained in:
parent
d4b62bff64
commit
a585cc35e5
8 changed files with 6 additions and 67 deletions
|
|
@ -1332,7 +1332,7 @@ static void reset_socket_fdwrite(curl_socket_t s)
|
|||
int t;
|
||||
int l = (int)sizeof(t);
|
||||
if(!getsockopt(s, SOL_SOCKET, SO_TYPE, (char *)&t, &l) && t == SOCK_STREAM)
|
||||
CURL_SEND(s, NULL, 0, 0);
|
||||
send(s, NULL, 0, 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue