Commit cbef7d0c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf
Browse files

dash: HTTPConnectionManager: Removing useless method.


Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 73b30f55
......@@ -46,13 +46,6 @@ HTTPConnectionManager::~HTTPConnectionManager ()
this->closeAllConnections();
}
IHTTPConnection* HTTPConnectionManager::getConnection (std::string url)
{
HTTPConnection *con = new HTTPConnection(url, this->stream);
con->init();
this->connections.push_back(con);
return con;
}
bool HTTPConnectionManager::closeConnection (IHTTPConnection *con)
{
for(std::vector<HTTPConnection *>::iterator it = this->connections.begin(); it != this->connections.end(); ++it)
......
......@@ -50,7 +50,6 @@ namespace dash
void closeAllConnections ();
bool closeConnection (IHTTPConnection *con);
IHTTPConnection* getConnection (std::string url);
int read (Chunk *chunk, void *p_buffer, size_t len);
int peek (Chunk *chunk, const uint8_t **pp_peek, size_t i_peek);
void attach (dash::logic::IDownloadRateObserver *observer);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment