chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Hang problem with the http egg.


From: Robin Lee Powell
Subject: Re: [Chicken-users] Hang problem with the http egg.
Date: Wed, 12 Mar 2008 08:22:48 -0700
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

On Wed, Mar 12, 2008 at 12:02:15PM +0100, Tobia Conforto wrote:
>>        0x00f0:  3030 3a30 3020 474d 540d 0a43 6f6e 7465   
>> 00:00.GMT..Conte
>>        0x0100:  6e74 2d54 7970 653a 2074 6578 742f 706c  nt- 
>> Type:.text/pl
>>        0x0110:  6169 6e0d 0a0d 0a4f 4b2c 3538 3535 3632  ain....OK, 
>> 585562
>> 00:39:39.905371 IP (tos 0x0, ttl 64, id 9337, offset 0, flags [DF],  
>> proto TCP (6), length 40)
>
> Could it be that the body is the string "OK,585562" with no
> terminating newline, and read-line hangs on it?

Possible.

> If that's really the issue, you could try using read-lines or
> read-all.

But if so, it's still an http egg bug, because http:GET hangs on it
too.

And, by the way, that doesn't help; read-all still hangs.

If something is choking on the lack of newline, it's in the http
egg.

Warning (#<thread: thread4>): : read operation timed out: 4

        Call history:

        <eval>          [selenium::do-command] (format #t "first: ~A.\n" 
first-line)
        <eval>          [selenium::do-command] (format #t "headers: ~A.\n" 
headers)
        <eval>          [selenium::do-command] (list first-line (read-all 
input))
        <eval>          [selenium::do-command] (read-all input) <--

-Robin

-- 
Lojban Reason #17: http://en.wikipedia.org/wiki/Buffalo_buffalo
Proud Supporter of the Singularity Institute - http://singinst.org/
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/




reply via email to

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