[curl/curl] b9239e: sockfilt: avoid getting stuck waiting for writable...

Marc Hörsken <[email protected]>
Newsgroups gmane.comp.web.curl.cvs
Message-ID <curl/curl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/curl/curl
  Commit: b9239e0f9ce64479b7e77472196c958aa388ae7e
      https://github.com/curl/curl/commit/b9239e0f9ce64479b7e77472196c958aa388ae7e
  Author: Marc Hoersken <[email protected]>
  Date:   2021-05-05 (Wed, 05 May 2021)

  Changed paths:
    M tests/server/sockfilt.c

  Log Message:
  -----------
  sockfilt: avoid getting stuck waiting for writable socket

Reset FD_WRITE event using the same approach as in multi.c

Follow up to b36442b24305f3cda7c13cc64b46838995a4985b
Closes #6992


  Commit: d698c704211ae227a35188c9c80414e650b8c4fc
      https://github.com/curl/curl/commit/d698c704211ae227a35188c9c80414e650b8c4fc
  Author: Marc Hoersken <[email protected]>
  Date:   2021-05-05 (Wed, 05 May 2021)

  Changed paths:
    M tests/server/sockfilt.c

  Log Message:
  -----------
  sockfilt: fix invalid increment of handles index variable nfd

Only increment the array index if we actually stored a handle.

Follow up to e917492048f4b85a0fd58a033d10072fc7666c3b
Closes #6992


Compare: https://github.com/curl/curl/compare/5a1ec19fda39...d698c704211a
_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.