Loading src/httpd.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ void libhttppp::HttpEvent::deleteConnetion(netplus::con* curon){ void libhttppp::HttpEvent::RequestEvent(HttpRequest *curreq,const int tid,ULONG_PTR args){ } void libhttppp::HttpEvent::ResponseEvent(HttpResponse *curreq,const int tid,ULONG_PTR args){ void libhttppp::HttpEvent::ResponseEvent(HttpRequest *curreq,const int tid,ULONG_PTR args){ } Loading Loading @@ -102,10 +102,10 @@ REQUESTHANDLING: } void libhttppp::HttpEvent::ResponseEvent(netplus::con* curcon,const int tid,ULONG_PTR args){ HttpResponse *cureq =(HttpResponse*)curcon; HttpRequest *cureq =(HttpRequest*)curcon; try{ ResponseEvent(cureq,tid,args); if( cureq->SendData.pos+1 >= cureq->getContentLength() ){ if(cureq->SendData.empty()){ cureq->SendData.pos=0; cureq->clear(); } Loading Loading
src/httpd.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ void libhttppp::HttpEvent::deleteConnetion(netplus::con* curon){ void libhttppp::HttpEvent::RequestEvent(HttpRequest *curreq,const int tid,ULONG_PTR args){ } void libhttppp::HttpEvent::ResponseEvent(HttpResponse *curreq,const int tid,ULONG_PTR args){ void libhttppp::HttpEvent::ResponseEvent(HttpRequest *curreq,const int tid,ULONG_PTR args){ } Loading Loading @@ -102,10 +102,10 @@ REQUESTHANDLING: } void libhttppp::HttpEvent::ResponseEvent(netplus::con* curcon,const int tid,ULONG_PTR args){ HttpResponse *cureq =(HttpResponse*)curcon; HttpRequest *cureq =(HttpRequest*)curcon; try{ ResponseEvent(cureq,tid,args); if( cureq->SendData.pos+1 >= cureq->getContentLength() ){ if(cureq->SendData.empty()){ cureq->SendData.pos=0; cureq->clear(); } Loading