Re: [Development] Using SSL with MiniHttpServer (in tst_qnetworkreply)

2014-12-02 Thread Mandeep Sandhu
Any idea, why its not working for SSL? Figured it out. I had to call ignoreSslErrors() in the reply object. -mandeep ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development

Re: [Development] Using SSL with MiniHttpServer (in tst_qnetworkreply)

2014-12-02 Thread Thiago Macieira
On Tuesday 02 December 2014 11:15:55 Mandeep Sandhu wrote: Any idea, why its not working for SSL? Figured it out. I had to call ignoreSslErrors() in the reply object. You should just use non-https instead. Though you probably want to test the https-to-http redirect case (and not follow)...

Re: [Development] Using SSL with MiniHttpServer (in tst_qnetworkreply)

2014-12-02 Thread Mandeep Sandhu
Though you probably want to test the https-to-http redirect case (and not follow)... was that it? Yes, that was my motivation for using https. Although, ignoring SSL error did not fix the issue completely. Now I started seeing a RemoteHostClosedError on the client side. Debugging it I found

[Development] Using SSL with MiniHttpServer (in tst_qnetworkreply)

2014-12-01 Thread Mandeep Sandhu
Hi All, I'm unable to get the MiniHttpServer in tst_qnetworkreply to work with SSL enabled. Here's the code that I'm using: snip // I've left the HTTP response out for brevity, but its supposed to return 200 OK MiniHttpServer server(, true); QUrl localhost = QUrl(https://localhost/;);