mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 09:18:27 +00:00
Fixed build errors
This commit is contained in:
parent
0ee9660f3d
commit
6fe6fd5dbe
1 changed files with 2 additions and 0 deletions
|
@ -820,6 +820,7 @@ inline void Post(std::vector<Request> &requests, const char *path,
|
||||||
Post(requests, path, Headers(), body, content_type);
|
Post(requests, path, Headers(), body, content_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CPPHTTPLIB_OPENSSL_SUPPORT
|
||||||
class SSLServer : public Server {
|
class SSLServer : public Server {
|
||||||
public:
|
public:
|
||||||
SSLServer(const char *cert_path, const char *private_key_path,
|
SSLServer(const char *cert_path, const char *private_key_path,
|
||||||
|
@ -1253,6 +1254,7 @@ private:
|
||||||
time_t read_timeout_sec_;
|
time_t read_timeout_sec_;
|
||||||
time_t read_timeout_usec_;
|
time_t read_timeout_usec_;
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
class BufferStream : public Stream {
|
class BufferStream : public Stream {
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue