Commit b727e72f authored by jan.koester's avatar jan.koester
Browse files

test

parent 90e5ba85
Loading
Loading
Loading
Loading
+1 −1
Changes for src/http.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -203,7 +203,7 @@ const std::string & libhttppp::HttpUrl::getPath() const{
  return _path;
}

libhttppp::HttpClient::HttpClient(const HttpUrl &desturl) : _url(desturl){
libhttppp::HttpClient::HttpClient(const HttpUrl &desturl) : _url(desturl), _srvsock(nullptr), _cltsock(nullptr){
  if(_url.getProtocol()!=HttpUrl::HTTP){
    throw HTTPException()[HTTPException::Error]<<"only http protocol supported !";
  }