chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #800: data seems to get lost in tcp unit when usi


From: Chicken Trac
Subject: Re: [Chicken-janitors] #800: data seems to get lost in tcp unit when using http-client
Date: Thu, 15 Mar 2012 21:03:51 -0000

#800: data seems to get lost in tcp unit when using http-client
-----------------------------+----------------------------------------------
  Reporter:  ckeen           |       Owner:                                     
                               
      Type:  defect          |      Status:  new                                
                               
  Priority:  major           |   Milestone:  4.8.0                              
                               
 Component:  core libraries  |     Version:  4.7.x                              
                               
Resolution:                  |    Keywords:  tcp, http-client, connection reset 
by peer who-is-this-Peer-anyway
-----------------------------+----------------------------------------------

Comment(by ckeen):

 Changing the fprintf call in the write-request-line procedure to the
 following also makes it work:

 {{{
 (define (write-request-line request)
   (display
    (sprintf
     "~A ~A HTTP/~A.~A\r\n"
     (http-method->string (request-method request))
     (uri->string (request-uri request))
     (request-major request)
     (request-minor request))
     (request-port request)))

 }}}

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/800#comment:5>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]