Problem with wwwd

Hi,

Is there somebody here with expericence using Kengo Nakajima’s wwwd?
( http://www.hompo.co.jp/~ringo/wwwd.html ).

I’m interested to use it in a busy rpc over http environment, but there are
several problems with it. Some of them I have managed to solve but how about
this one:
1058255902 http ‘0x7f000001:50774’ ‘request header too long’

When this error occurs, the response body gets mangled. here is an example:

[connection from 202.155.132.148:50816]
GET /cgi-bin/mt.cgi?view=1&mode=plain HTTP/1.1
Connection: close
Host: bilbo.astaga.com:9001
User-Agent: lwp-request/2.01

HTTP/1.0 200 OK
Server: wwwd.rb
Content-Type: text/plain

1058170136 sms=dfafa&tid=2HTTP/1.0 200 OK
Server: wwwd.rb
Content-Type: text/plain

1058170136 sms=dfafa&tid=2
[Got EOF]

ie, the http header and response body are printed twice.
From the client side I’ve tried ruby’s Net::HTTP and Perl’s GET to get the
same result.

rgds,
Edwin.