> By the way, I found that adding a line to the definition of
> http-pipe-data in url-unit.rkt might resolve my problem either.
> But I hardly understand what I'm doing.
>
> (define (http-pipe-data chunked? ip op)
>  (if chunked?
>      (http-pipe-chunk ip op)
>      (begin
>        (copy-port ip op)
>        (close-input-port ip) ;### I added this line ###
>        (flush-output op)
>        (close-output-port op))))


That looks right to me.  Nice catch.

Send it as a patch to the Racket developers!  https://github.com/plt/racket

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to