November 06, 2010 [Issue 5177] New: std.socketstream's close() should call super.close() | ||||
---|---|---|---|---|
| ||||
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: nobody@puremagic.com ReportedBy: metalcaedes@gmail.com --- Comment #0 from Daniel Gibson <metalcaedes@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: ------- |
August 24, 2011 [Issue 5177] std.socketstream's close() should call super.close() | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Gibson | http://d.puremagic.com/issues/show_bug.cgi?id=5177 Vladimir Panteleev <thecybershadow@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thecybershadow@gmail.com --- Comment #1 from Vladimir Panteleev <thecybershadow@gmail.com> 2011-08-23 23:36:34 PDT --- https://github.com/D-Programming-Language/phobos/pull/211 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation