[haXe] Automatic Proxy Detection

Nicolas Cannasse ncannasse at motion-twin.com
Sun Apr 15 10:26:43 CEST 2007


> Hi Nicolas,
> 
> I found the other thread regarding proxy detection tests.  I use a
> program called 'ServiceCapture' which is great for snagging http/xml/amf
> traffic in and outbound, and uses a software proxy to do the task.  It
> is, however incompatible with haXe at the moment.  Here is the output:
> 
> C:\haxe\ProxyDetect>neko app.n
> Called from <null> line 1
> Called from App.hx line 160
> Called from App.hx line 155
> Called from App.hx line 135
> Called from App.hx line 84
> Called from App.hx line 25
> Uncaught exception - Invalid settings
> 'http=127.0.0.1:8184;https=127.0.0.1:8184'

Could you use neko.Lib.rethrow (instead of throw) when you catch the
exception in your App.hx file ? That will prevent losing the exception
stack between App and Proxy. OTOH if you are the one logging the
exception, please use haxe.Stack.exceptionStack() instead of
haxe.Stack.callStack()

Nicolas



More information about the Haxe mailing list