[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: [Chicken-bugs] #311: http-server and http-client
From: |
Chicken Scheme |
Subject: |
[Chicken-janitors] Re: [Chicken-bugs] #311: http-server and http-client doesn't handle keep-alive very well. |
Date: |
Tue, 30 Oct 2007 21:44:13 -0000 |
#311: http-server and http-client doesn't handle keep-alive very well.
-------------------+--------------------------------------------------------
Reporter: daishi | Owner: sjamaan
Type: defect | Status: assigned
Priority: minor | Component: extensions
Version: 2.6 | Resolution:
Keywords: |
-------------------+--------------------------------------------------------
Comment (by daishi):
I used two machines and got "Broken pipe".
The server code is:
(use tcp)
(let ([tcpl (tcp-listen 2080)])
(let-values ([(in out) (tcp-accept tcpl)])
(read-char in)
(close-input-port in)))
And the client code is:
(use http-client)
(let ([args (map (lambda (x) (cons x x)) (map ->string (iota 1000000)))])
(print (http:GET (http:make-request
'GET "http//some.remote.host:2080/" args '() ""
'HTTP/1.1))))
However, it looks like it is properly handled in tcp.scm, because the
error message is
Error: can not write to socket - Broken pipe: 4
I'm not sure if this is the same error as the one I found when I reported
the issue, but since I can't recall it, and as far as I read the http-
server code, there is no problem.
So, I would close the second issue and possibly reopen it as a new ticket
once I found any problem.
Sorry for the confusion.
--
Ticket URL: <http://trac.callcc.org/ticket/311#comment:7>
Chicken Scheme <http://www.call-with-current-continuation.org/>
The CHICKEN Scheme-to-C compiler
- [Chicken-janitors] Re: [Chicken-bugs] #311: http-server and http-client doesn't handle keep-alive very well., Chicken Scheme, 2007/10/19
- [Chicken-janitors] Re: [Chicken-bugs] #311: http-server and http-client doesn't handle keep-alive very well., Chicken Scheme, 2007/10/27
- [Chicken-janitors] Re: [Chicken-bugs] #311: http-server and http-client doesn't handle keep-alive very well., Chicken Scheme, 2007/10/29
- [Chicken-janitors] Re: [Chicken-bugs] #311: http-server and http-client doesn't handle keep-alive very well., Chicken Scheme, 2007/10/29
- [Chicken-janitors] Re: [Chicken-bugs] #311: http-server and http-client doesn't handle keep-alive very well., Chicken Scheme, 2007/10/29
- [Chicken-janitors] Re: [Chicken-bugs] #311: http-server and http-client doesn't handle keep-alive very well.,
Chicken Scheme <=
- [Chicken-janitors] Re: [Chicken-bugs] #311: http-server and http-client doesn't handle keep-alive very well., Chicken Scheme, 2007/10/31
- [Chicken-janitors] Re: [Chicken-bugs] #311: http-server and http-client doesn't handle keep-alive very well., Chicken Scheme, 2007/10/31
- [Chicken-janitors] Re: [Chicken-bugs] #311: http-server and http-client doesn't handle keep-alive very well., Chicken Scheme, 2007/10/31