[Top][All Lists]
[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: |
Fri, 04 May 2012 07:17:22 -0000 |
#800: data seems to get lost in tcp unit when using http-client
-----------------------------+----------------------------------------------
Reporter: ckeen | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: core libraries | Version: 4.7.x
Resolution: | Keywords: tcp, http-client, connection reset
by peer who-is-this-Peer-anyway
-----------------------------+----------------------------------------------
Changes (by felix):
* milestone: 4.8.0 =>
Comment:
"-debug 2" shows a correct fprintf compiler-macro expansion.
I assume that the fprintf expands into code that is too slow - it
generates several procedure calls, coming in in separate packets, and the
server is too impatient to wait for a complete response. It may be the
case that the server reads one chunk of incoming data and assume nothing
else will follow (a buffering issue, in other words).
So I propose to change http-client to make sure the request line is
written in one chunk. The compiler-macro expansion is correct.
--
Ticket URL: <http://bugs.call-cc.org/ticket/800#comment:6>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Chicken-janitors] #800: data seems to get lost in tcp unit when using http-client,
Chicken Trac <=