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

roolback

parent bfba50cd
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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){

}

@@ -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();
        }