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

A C++ header-only HTTP/HTTPS server and client library

Results 86 cpp-httplib issues
Sort by recently updated
recently updated
newest added

Thread safe socket creation, using: - SOCK_CLOEXEC on Linux (and others where available) - accept4 on Linux - WSAAccept on Windows

I am trying to build an HTTP server with SSL using httplib, and I have generated an SSL certificate using OpenSSL, something like this: httplib::SSLServer server("server.crt", "server.key");. When I send...

need more information to verify

I have a usecase where `client.Post()` is called with a small body and the server response is a very lengthy string/json, where a `content receiver` would make sense. And after...

enhancement

We want to update the ssl certificates without stopping the httplib server. The new function does this in a safe way, because it uses the ctx_mutex_

The append I'm trying to avoid is the one at line 7507: `res.body.append(buf, n);`

I am trying to have a single handler that handles all incoming http requests regardless of path or method. I couldnt find that a catch all route is supported. So...

### Description When using `curl` to upload large files (>1M) to a server written with cpp-httplib, `curl` adds the `Expect: 100-continue` header. After the server rejects the request by returning...

![image](https://github.com/yhirose/cpp-httplib/assets/53937587/f4e2f058-29a8-4da4-b715-dda70eff0332) If a client-side request is made using the form-data format and no files are transmitted, only a few ordinary parameters, but the server-side is unable to parse them, you...

A url like this ``` /usr/:name/number/:id/do:work ``` the `:work` is not a param , the whole `do:work` string is a phrase , but now , the framework will consider `work`...

Sorry for making this issue. I'm not a FreeBSD user but I do support some. When IPV6_V6ONLY is turned off, requests to v4 addresses appear to come from `::ffff:` like...