JackieJ / proxy-vole

Automatically exported from code.google.com/p/proxy-vole
0 stars 1 forks source link

Make parsing of proxy string more robust #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
setting http_proxy="http://192.168.0.1:8080/" (seems to be valid) crashes
the FixedProxySelector with a NumberFormatException.

Attached a patch that makes the parsing more robust.

Original issue reported on code.google.com by cborea...@gmail.com on 24 Mar 2010 at 11:03

Attachments:

GoogleCodeExporter commented 8 years ago
Hello,
Sorry for the late reponse. I was on holidays for some time.
I integrated your patch today and added some unit tests. I uploaded a new build 
that
contains the fix. Thanks for reporting this and for the patch.

Have fun,
- Bernd

Original comment by rosstaus...@googlemail.com on 11 Apr 2010 at 6:57