| 345 | } |
| 346 | |
| 347 | void https_client::close() { |
| 348 | if (state != HTTPS_DONE) { |
| 349 | if (completed) { |
| 350 | completed(this); |
| 351 | completed = {}; |
| 352 | } |
| 353 | } |
| 354 | state = HTTPS_DONE; |
| 355 | ssl_connection::close(); |
| 356 | } |
| 357 | |
| 358 | https_client::~https_client() { |
| 359 | if (sfd != INVALID_SOCKET) { |
no outgoing calls
no test coverage detected