Add disclaimer

This commit is contained in:
2025-07-22 12:19:20 +02:00
parent 5c1cca6a2f
commit 25f52444dd
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ int main(void)
cHTTP officially supports Linux and Windows.
## HTTPS support
Currently, HTTPS is implemented using OpenSSL. If you are on Windows, you'll need to install it manually.
Currently, HTTPS is implemented using OpenSSL. If you are on Windows, you'll need to install it manually or disabling it by not defining `HTTPS_ENABLED`.
## Scalability
cHTTP is designed to reach moderate scale to allow a compact and easy to work with implementation. The non-blocking I/O is based on `poll()` which I would say works up to about 500 concurrent connections. If you have more than that, you should consider APIs like epoll, io_uring, and I/O completion ports. If you do go that route, you can still reuse the cHTTP I/O independent core (see HTTP_Engine) to handle the HTTP protocol for you, both for client and server.
+6 -1
View File
@@ -19,7 +19,12 @@ typedef pthread_mutex_t Mutex;
typedef pthread_cond_t Condvar;
#endif
// NOTE: This example doesn't work yet!
// !!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! //
// //
// This example is just a proof of concept for now as the library //
// still isn't thread-safe. //
// //
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! //
// This example shows how to delegate the response creation
// process to other threads.