| 44 | }; |
| 45 | |
| 46 | http_server_request::http_server_request(cluster* creator, socket fd, uint16_t port, bool plaintext_downgrade, const std::string& private_key, const std::string& public_key, http_server_request_event handle_request) |
| 47 | : ssl_connection(creator, fd, port, plaintext_downgrade, private_key, public_key), |
| 48 | timeout(time(nullptr) + 10), |
| 49 | handler(handle_request), |
| 50 | state(HTTPS_HEADERS), |
| 51 | timed_out(false) |
| 52 | { |
| 53 | http_server_request::connect(); |
| 54 | } |
| 55 | |
| 56 | void http_server_request::connect() |
| 57 | { |
nothing calls this directly
no outgoing calls
no test coverage detected