Skip to content

Commit

Permalink
Fix build. More cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
jackburton79 committed Mar 31, 2024
1 parent 805f06b commit 6d1ae95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions http/HTTP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* HTTP.cpp
*
* Created on: 23/lug/2013
* Copyright 2013-2017 Stefano Ceccherini (stefano.ceccherini@gmail.com)
* Copyright 2013-2024 Stefano Ceccherini (stefano.ceccherini@gmail.com)
*/

#include "HTTP.h"
Expand Down Expand Up @@ -50,7 +50,6 @@ HTTP::HTTP(const std::string& string)
HTTP::~HTTP()
{
Close();
delete fSocket;
}


Expand All @@ -65,12 +64,6 @@ HTTP::Close()
}


void
HTTP::ClearPendingRequests()
{
}


const HTTPRequestHeader&
HTTP::CurrentRequest() const
{
Expand Down
2 changes: 1 addition & 1 deletion http/HTTPRequestHeader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ HTTPRequestHeader::SetRequest(const std::string& method,
{
fMethod = method;
fURL = url;

std::string hostName = ::URL(url).Host();
if (hostName != "")
fValues[HTTPHost] = hostName;
Expand Down

0 comments on commit 6d1ae95

Please sign in to comment.