Re: [PATCH v4 0/1] MR3518: wininet: unify timeout values closer to hInternet
5 Jun
2024
5 Jun
'24
11:33 p.m.
Jacek Caban (@jacek) commented about dlls/wininet/http.c:
if (maxlen == -1) maxlen = sizeof(req->read_buf);
+ NETCON_set_timeout(req->netconn, FALSE, req->hdr.receive_timeout);
Setting the timeout on the socket is quite expensive (requires a wineserver call). Maybe we could store the last set timeout separate from configure timeout and update socket timeout only when they don't match? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3518#note_72541
563
Age (days ago)
563
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jacek Caban (@jacek)