Commit 0767972c authored by jan.koester's avatar jan.koester
Browse files

files no timeout

parent 76fa394b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -347,8 +347,10 @@ namespace blogi {
                netplus::x509cert ycert;
                ycert.loadFromBuffer(ycert.pemCertToDer(GOOGLECA));
                libhttppp::HttpUrl yurl("https://www.googleapis.com");
                libhttppp::HttpClient clt(yurl);
             //   ycsock->setTimeout(10);
                // Bound connect and send/recv so a stalled googleapis
                // connection can't block this worker indefinitely.
                libhttppp::HttpClient clt(yurl, 2, 10);
                clt.setTimeout(10);

                libhttppp::HttpRequest nreq;
                nreq.setRequestType(GETREQUEST);