How to setup local proxy server to test Qt QNetworkAccessManager proxy settings?
-
wrote on 26 Feb 2012, 08:52 last edited by
Hello all
i like to add proxy support to my app that includes using QWebKit And Simple http request .
using methods i found "here ":http://doc.qt.nokia.com/qq/32/qq32-webkit-protocols.html and "here":http://developer.qt.nokia.com/wiki/Extending_QtWebKit .
the implementation looks easy , but my problem is how can i test it to see that proxy does work .
do i need to set up proxy server in my local pc ( i guess .. ) if so what server and configuration should i use ? -
wrote on 26 Feb 2012, 22:02 last edited by
Did you have a look at [[Doc:QNetworkProxy]] already?
-
wrote on 27 Feb 2012, 03:33 last edited by
[quote author="umen242" date="1330246372"]
do i need to set up proxy server in my local pc ( i guess .. ) if so what server and configuration should i use ?[/quote]Yes, you obviously need a testing proxy server. Ask your sysadmin to install one for you if you feel you might mess it up.
-
wrote on 27 Feb 2012, 05:48 last edited by
Installing squid, for example, in a virtual machine is a good option too. It's not too hard to setup for testing purposes.
-
wrote on 27 Feb 2012, 08:07 last edited by
can i install squid in my local pc ?
-
wrote on 28 Feb 2012, 15:13 last edited by
[quote author="umen242" date="1330330035"]can i install squid in my local pc ?[/quote]
Yes.
2/6