Commit 13e968b4 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

dash: HTTPConnectionManager: Removing useless method.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit cbef7d0c)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 8bc4eab8
......@@ -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);
......
Markdown is supported
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