From 35ef1c7bae1277f6a61bb9581a87352c9ab3a89a Mon Sep 17 00:00:00 2001 From: yhirose Date: Sun, 3 Oct 2021 18:37:46 -0400 Subject: [PATCH] Fix #1063 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 78c976a..33a2f03 100644 --- a/README.md +++ b/README.md @@ -746,6 +746,12 @@ res = cli.Get("/resource/foo", {{"Accept-Encoding", "gzip, deflate, br"}}); res->body; // Compressed data ``` +Use `poll` instead of `select` +------------------------------ + +`select` system call is used as default since it's more widely supported. If you want to let cpp-httplib use `poll` instead, you can do so with `CPPHTTPLIB_USE_POLL`. + + Split httplib.h into .h and .cc -------------------------------