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:
Daniel Stenberg 2025-12-25 23:21:34 +01:00
parent d4b62bff64
commit a585cc35e5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
8 changed files with 6 additions and 67 deletions

View file

@ -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