EECOLOR / as3httpclient

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

Explicit port not honored in URL #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a URLRequest with a URL that uses a non-80 port (e.g.,
"http://localhost:3000/foo")

What is the expected output? What do you see instead?

- I expect a successful connection, but instead get an IOError.  In
HTTPURLLoader.parseURL, the port is never parsed out and applied to
this._httpPort (which remains at 80), so the socket connect fails. Using
the example above, the paramaters sent to socket.connect are
("localhost:3000", 80), but should be ("localhost", 3000).

What version of the product are you using? On what operating system?

- Latest release from this site.  WInXP.

Please provide any additional information below.

I have fixed this locally, and will work on submitting a patch as time permits.

Original issue reported on code.google.com by dave.sei...@gmail.com on 23 Jun 2008 at 3:16

GoogleCodeExporter commented 9 years ago
Sorry, please disregard: this comments were based on the version that is 
available
for download, and not on the current sources in SVN.  This bug does not exist 
in the
current sources.

Original comment by dave.sei...@gmail.com on 23 Jun 2008 at 3:55