Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions curl-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,12 @@ fn main() {
// poll() on various versions of macOS are janky, so only use it
// on non-macOS unix-likes. This matches the official default
// build configuration as well.
//
// curl 8.x gates select.c on HAVE_POLL (HAVE_POLL_FINE is the
// pre-8.x name). Without it libcurl silently falls back to
// select(), and any socket with fd >= FD_SETSIZE (1024) fails
// with CURLE_COULDNT_CONNECT right after the TCP handshake.
.define("HAVE_POLL", None)
.define("HAVE_POLL_FINE", None);
}

Expand Down
Loading