Fixed file descriptor leak in Downloader class
This commit is contained in:
parent
92d59befa6
commit
984f5b7e29
2 changed files with 8 additions and 0 deletions
|
@ -5,6 +5,7 @@ namespace HTTP{
|
|||
class Downloader{
|
||||
public:
|
||||
Downloader();
|
||||
~Downloader();
|
||||
std::string &data();
|
||||
const std::string &const_data() const;
|
||||
void doRequest(const HTTP::URL &link, const std::string &method = "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue