| 36 | namespace io { |
| 37 | |
| 38 | HttpStream::HttpStream(std::shared_ptr<utils::HTTPClient> client) |
| 39 | : http_client_(client), |
| 40 | written(0), |
| 41 | // given the nature of the stream we don't want to slow libCURL, we will produce |
| 42 | // a warning instead allowing us to adjust it server side or through the local configuration. |
| 43 | http_read_callback_(66560, true), |
| 44 | started_(false), |
| 45 | logger_(logging::LoggerFactory<HttpStream>::getLogger()) { |
| 46 | // submit early on |
| 47 | } |
| 48 | |
| 49 | void HttpStream::close() { |
| 50 | http_callback_.close(); |
nothing calls this directly
no outgoing calls
no test coverage detected