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

ups

parent ae72976d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -707,10 +707,10 @@ void libhttppp::HttpRequest::send(netplus::socket* src,netplus::socket* dest){
  printHeader(header);

  try {
    size_t send=dest->sendData(src,(void*)header.c_str(),header.length());
    size_t send=src->sendData(dest,(void*)header.c_str(),header.length());

    while(send<_Request.length()){
      send+=dest->sendData(src,(void*)_Request.substr(send,_Request.length()-send).c_str(),
      send+=src->sendData(dest,(void*)_Request.substr(send,_Request.length()-send).c_str(),
                          _Request.length()-send);
    }
  }catch(netplus::NetException &e){