1
0
mirror of synced 2025-07-29 11:01:13 +03:00

Remove select() and use poll() (#2078)

* Revert "Fix typo in meson.build (#2070)"

This reverts commit 5c0135fa5d.

* Revert "build(meson): automatically use poll or select as needed (#2067)"

This reverts commit 2b5d1eea8d.

* Revert "Make poll() the default (#2065)"

This reverts commit 6e73a63153.

* Remove select() and use poll()
This commit is contained in:
Florian Albrechtskirchinger
2025-02-21 00:51:35 +01:00
committed by GitHub
parent b944f942ee
commit 22d90c29b4
6 changed files with 8 additions and 145 deletions

View File

@ -872,11 +872,6 @@ res->body; // Compressed data
```
Use `select()` instead of `poll()`
----------------------------------
cpp-httplib defaults to the widely supported `poll()` system call. If your OS lacks support for `poll()`, define `CPPHTTPLIB_USE_SELECT` to use `select()` instead.
Unix Domain Socket Support
--------------------------