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(HttpRequest *curreq,const int tid,ULONG_PTR args){ void libhttppp::HttpEvent::ResponseEvent(HttpResponse *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){ HttpRequest *cureq =(HttpRequest*)curcon; HttpResponse *cureq =(HttpResponse*)curcon; try{ ResponseEvent(cureq,tid,args); if(cureq->SendData.empty()){ if( cureq->SendData.pos+1 >= cureq->getContentLength() ){ cureq->SendData.pos=0; cureq->clear(); } Loading src/httpd.h +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ namespace libhttppp { void deleteConnetion(netplus::con *curon); virtual void RequestEvent(HttpRequest *curreq,const int tid,ULONG_PTR args); virtual void ResponseEvent(HttpRequest *curreq,const int tid,ULONG_PTR args); virtual void ResponseEvent(HttpResponse *curreq,const int tid,ULONG_PTR args); virtual void ConnectEvent(HttpRequest *curreq,const int tid,ULONG_PTR args); virtual void DisconnectEvent(HttpRequest *curreq,const int tid,ULONG_PTR args); 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(HttpRequest *curreq,const int tid,ULONG_PTR args){ void libhttppp::HttpEvent::ResponseEvent(HttpResponse *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){ HttpRequest *cureq =(HttpRequest*)curcon; HttpResponse *cureq =(HttpResponse*)curcon; try{ ResponseEvent(cureq,tid,args); if(cureq->SendData.empty()){ if( cureq->SendData.pos+1 >= cureq->getContentLength() ){ cureq->SendData.pos=0; cureq->clear(); } Loading
src/httpd.h +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ namespace libhttppp { void deleteConnetion(netplus::con *curon); virtual void RequestEvent(HttpRequest *curreq,const int tid,ULONG_PTR args); virtual void ResponseEvent(HttpRequest *curreq,const int tid,ULONG_PTR args); virtual void ResponseEvent(HttpResponse *curreq,const int tid,ULONG_PTR args); virtual void ConnectEvent(HttpRequest *curreq,const int tid,ULONG_PTR args); virtual void DisconnectEvent(HttpRequest *curreq,const int tid,ULONG_PTR args); Loading