plt/racket — pull request #146 by init512 (2012-09-23 07:36:51+00:00)
Title:  Call close-output-port on abandoned port in ssl-abandon-port.

This change causes the abandoned output port to be properly shutdown(), when
the shutdown-on-close option is set, and decrements the mzssl struct
reference count when a port is abandoned.

Previously, the *-[im]pure-port methods from net/url.rkt would fail to
close() the SSL socket associated with the connection when close-input-port
was called on the port object returned. This patch causes the underlying
socket to be closed when close-input-port is called on SSL-based ports
returned by functions in net/url.rkt.