http://d.puremagic.com/issues/show_bug.cgi?id=5177

           Summary: std.socketstream's close() should call super.close()
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: metalcae...@gmail.com


--- Comment #0 from Daniel Gibson <metalcae...@gmail.com> 2010-11-05 22:47:27 
PDT ---
std.socketstream's close just closes the socket, but not the stream, i.e.
setting "readEOF = prevCr = isopen = readable = writeable = seekable = false;"
like std.stream.Stream does.

This sucks because even when you close() your socketstream, isOpen() still
returns true.

This could easily be fixed by calling "super.close();" before "sock.close();"
in std.socketstream.close()

Thanks,
- Daniel

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to