o0111 / ruralcafe

Automatically exported from code.google.com/p/ruralcafe
0 stars 0 forks source link

Requesting localhost produces crash #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run another server on localhost, other port
2. request it on the browser (explicitly type localhost!)
3. crash!

For localhost requests, whyever, the remote proxy does not get triggered. The 
local proxy gets the result directly from the other server bypassing the remote 
proxy. It then tries to unpack a package, which has never been sent by the 
remote proxy => Crash.

You can still test the local server by typing your local IP adress instead of 
localhost. Nevertheless the program shouldn't crash just if someone funny types 
localhost in the browser.

Original issue reported on code.google.com by satiaher...@gmx.de on 26 Apr 2013 at 5:25

GoogleCodeExporter commented 8 years ago
This has been fixed. See 
http://stackoverflow.com/questions/2045628/why-wont-webproxy-bypassproxyonlocal-
work-for-me

This solution is dirty, but seems the only one at the moment.

Original comment by satiaher...@gmx.de on 9 May 2013 at 10:13