via-httplib icon indicating copy to clipboard operation
via-httplib copied to clipboard

A library for embedding an HTTP or HTTPS server in C++ applications.

Results 3 via-httplib issues
Sort by recently updated
recently updated
newest added

When testing the `thread_pool_http_server.cpp` example using Apache Benchmark, the HTTP server crashes, e.g.: ab -n 10000 -c 1000 192.168.1.64:80/hello or ab -n 10000 -c 1000 -k 192.168.1.64:80/hello

bug

C++ 17 introduced [hardware_destructive_interference_size](https://en.cppreference.com/w/cpp/thread/hardware_destructive_interference_size) as the minimum offset between two objects to avoid false sharing. This value should be used in the `threadsafe_hash_map` class instead of cache_line_size.

enhancement

The HTTP `connection` class is only used by the `tcp_adaptor` and `ssl_tcp_adaptor` which are simply wrappers around the `ASIO::ip::tcp::socket` and ASIO::ssl::stream respectively. The overall design could be simplified by redesigning...

enhancement