Commit 2f0ab874 authored by Jan Köster's avatar Jan Köster
Browse files

test

parent d6e20710
Loading
Loading
Loading
Loading
+2 −2
Changes for src/http.cpp: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -398,7 +398,7 @@ void libhttppp::HttpRequest::parse(sys::net::con* curconnection){
                    size_t edblocksize = getDataSizet("content-length"), sdblocksize = header.length();

                    for (sdblock = curconnection->getRecvData(); sdblock; sdblock = sdblock->nextcondata()) {
                        if (sdblock->getDataLength() <= sdblocksize) {
                        if (sdblocksize!=0 && sdblock->getDataLength() <= sdblocksize) {
                            if (sdblocksize != 0) {
                                sdblocksize -= sdblock->getDataLength();
                                continue;
@@ -408,7 +408,7 @@ void libhttppp::HttpRequest::parse(sys::net::con* curconnection){
                    }

                    for(edblock=curconnection->getRecvData(); edblock; edblock=edblock->nextcondata()){
                        if (edblock->getDataLength() <= edblocksize) {
                        if (edblocksize !=0 && edblock->getDataLength() <= edblocksize) {
                            if (edblocksize != 0){
                                edblocksize -= edblock->getDataLength();
                                continue;