source: trunk/dports/ruby/rb-http-access2/files/patch-http-access2.rb @ 21497

Last change on this file since 21497 was 21497, checked in by eridius@…, 13 years ago

Massive update to svn properties on files:
All patchfiles have svn:eol-style removed.
All files that are not in fact able to be executed have svn:executable removed
All binary files have svn:eol-style removed (and are probably corrupt)
All binary files have svn:mime-type set to application/octet-stream
All files which are not patchfiles or binary files have svn:eol-style set to native
All Portfiles have svn:eol-style set to native and svn:executable removed

File size: 489 bytes
Line 
1--- lib/http-access2.rb Tue Feb 10 20:03:36 2004
2+++ ../http-access-2_0_4-patched/lib/http-access2.rb    Tue Dec 14 18:44:17 2004
3@@ -1250,8 +1250,8 @@
4       retry_number = 0
5       timeout(@connect_timeout) do
6        @socket = create_socket(site)
7-       @src.host = @socket.addr[3]
8-       @src.port = @socket.addr[1]
9+    @src.host = IPSocket.getaddress( site.host )
10+    @src.port = site.port
11        if @dest.scheme == 'https'
12          @socket = create_ssl_socket(@socket)
13          connect_ssl_proxy(@socket) if @proxy
Note: See TracBrowser for help on using the repository browser.