net/http-client: restore use of abandon

The difference between `abandon` and `close-output-port` seems to
matter for downloading PLaneT packages on some networks. Using
`abandon` does not seem to create any problems now that an extra
"\r\n" is not incorrecty included in PUT/POST requests.
This commit is contained in:
Matthew Flatt 2014-01-08 10:20:42 -07:00
parent 370418ac2e
commit ba99bba668

View File

@ -90,7 +90,7 @@
(define (http-conn-abandon! hc)
(match-define (http-conn host port port-usual? to from abandon) hc)
(when to
(close-output-port to)
(abandon to)
(set-http-conn-to! hc #f)))
(define (http-conn-send! hc url-bs