Issue #6617 has been updated by mksm (Ricardo Amorim).

File net-http_bind_to_local_ip.patch added

The patch adds accessors for @local_host and @local_port and uses both in TCPSocket.open call.
----------------------------------------
Feature #6617: Net::HTTP: Bind to a specific local IP/port
https://bugs.ruby-lang.org/issues/6617#change-27417

Author: mksm (Ricardo Amorim)
Status: Open
Priority: Normal
Assignee: 
Category: lib
Target version: 


Despite having several solutions floating around the net, this feature is currently not present in Net::HTTP. I searched the issues but didn't find any discussion on this. How does the dev team feel about this? Can I submit a patch for revision?


-- 
http://bugs.ruby-lang.org/