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

--- Comment #0 from Daniel Gibson <> 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 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()

- Daniel

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to