[network] #8: Evaluating addrFlags from use of Network.Socket.getAddrInfo causes exception

#8: Evaluating addrFlags from use of Network.Socket.getAddrInfo causes exception -------------------------------------------+-------------------------------- Reporter: semanticphilosopher@gmail.com | Owner: Type: defect | Status: new Priority: major | Milestone: Component: network | Version: Keywords: | -------------------------------------------+-------------------------------- Using GHC 6.10.2 under Mac OS X 10.5.6 it does not appear that you can access the 'addrFlags' returned by getAddrInfo, you get the exception: *** Exception: unpackBits: unhandled bits set: 8 {{{ GHCi, version 6.10.2: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer ... linking ... done. Loading package base ... linking ... done. Prelude> :m Network.Socket Prelude Network.Socket> getAddrInfo Nothing (Just "localhost") Nothing Loading package syb ... linking ... done. Loading package base-3.0.3.1 ... linking ... done. Loading package parsec-2.1.0.1 ... linking ... done. Loading package network-2.2.1 ... linking ... done. [AddrInfo {addrFlags = *** Exception: unpackBits: unhandled bits set: 8 Prelude Network.Socket> }}} -- Ticket URL: http://trac.haskell.org/network/ticket/8 network http://projects.haskell.org/network/ Networking-related facilities

#8: Evaluating addrFlags from use of Network.Socket.getAddrInfo causes exception --------------------------------------------+------------------------------- Reporter: semanticphilosopher@gmail.com | Owner: bos Type: defect | Status: new Priority: major | Milestone: Component: network | Version: Resolution: | Keywords: --------------------------------------------+------------------------------- Changes (by bos): * owner: => bos Comment: I just sent a fix to Johan. I can't attach it here, because the Trac install is broken and won't accept attachments. -- Ticket URL: http://trac.haskell.org/network/ticket/8#comment:1 network http://projects.haskell.org/network/ Networking-related facilities

#8: Evaluating addrFlags from use of Network.Socket.getAddrInfo causes exception --------------------------------------------+------------------------------- Reporter: semanticphilosopher@gmail.com | Owner: bos Type: defect | Status: closed Priority: major | Milestone: Component: network | Version: Resolution: fixed | Keywords: --------------------------------------------+------------------------------- Changes (by bos): * status: new => closed * resolution: => fixed -- Ticket URL: http://trac.haskell.org/network/ticket/8#comment:2 network http://projects.haskell.org/network/ Networking-related facilities

#8: Evaluating addrFlags from use of Network.Socket.getAddrInfo causes exception --------------------------------------------+------------------------------- Reporter: semanticphilosopher@gmail.com | Owner: bos Type: defect | Status: closed Priority: major | Milestone: Component: network | Version: Resolution: fixed | Keywords: --------------------------------------------+------------------------------- Comment (by bos): Here's a link to the patch: http://hpaste.org/fastcgi/hpaste.fcgi/view?id=4578#a4578 -- Ticket URL: http://trac.haskell.org/network/ticket/8#comment:3 network http://projects.haskell.org/network/ Networking-related facilities

#8: Evaluating addrFlags from use of Network.Socket.getAddrInfo causes
exception
--------------------------------------------+-------------------------------
Reporter: semanticphilosopher@gmail.com | Owner: bos
Type: defect | Status: closed
Priority: major | Milestone:
Component: network | Version:
Resolution: fixed | Keywords:
--------------------------------------------+-------------------------------
Comment (by tibbe):
Applied. 2.2.1.1 contains the fix:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/network-2.2.1.1
{{{
Mon May 4 21:57:40 CEST 2009 Bryan O'Sullivan
participants (1)
-
network