adamm (Adam Majer)
- Login: adamm
- Email: adamm@zombino.com
- Registered on: 09/05/2010
- Last sign in: 09/05/2010
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
09/08/2010
-
01:58 PM Ruby Bug #3788: URI cannot parse IPv6 addresses propertly
- =begin
The original argument is quite simple.
1. URI RFC defines structure of URI (text) so it can be parsed by Ruby's URI (class) and other implementation. RFC define the interop.
2. Purpose of URI Ruby class is to permit a...
09/05/2010
-
04:52 AM Ruby Bug #3788 (Closed): URI cannot parse IPv6 addresses propertly
- =begin
require 'uri'
u = URI::parse( 'http://[::1]:8080/test' )
u.host
=> "[::1]"
**** THIS SHOULD READ ::1 ****
irb(main):007:0> u.host = '127.0.0.1'
=> "127.0.0.1"
irb(main):008:0> u.host = '::1'
URI::Invali... -
04:22 AM Ruby Bug #3787 (Closed): TCPSocket.new() fails on IPv6 connections for IPV4/IPv6 hosts
- =begin
$ host localhost
localhost has address 127.0.0.1
localhost has IPv6 address ::1
-----
server setup is just listening to ::1 address,
require 'socket'
s = TCPServer.new( '::1', 1200 )
s.accept
----
then...