#2391: Network.listenOn (PortNumber n) Sometimes Picks IPv6
-------------------------------+--------------------------------------------
 Reporter:  cjs                |          Owner:  bos     
     Type:  bug                |         Status:  assigned
 Priority:  normal             |      Milestone:  Not GHC 
Component:  libraries/network  |        Version:  6.8.3   
 Severity:  normal             |     Resolution:          
 Keywords:                     |     Difficulty:  Unknown 
 Testcase:                     |   Architecture:  Multiple
       Os:  Multiple           |  
-------------------------------+--------------------------------------------
Comment (by bos):

 The Linux behaviour does not appear to me to be incorrect, and the
 document to which you refer is concerned with threats due to the use of
 IPv4-mapped addresses on the wire.

 The code in the Network module uses the Network.Socket code for its
 implementation.  There are currently several knobs for controlling
 getAddrInfo that it does not use.  Perhaps if you read up on a few of them
 and try them out, you might find a behaviour that you could then propose
 as more desirable.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2391#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to