Z
Zac Elston
greetings. I can't find a clue on the net or in the forums for this one
I have a XML-RPC service that works fine in standalone mode. I
attempted to control it via xinetd, and while I'm able to get it to
launch, I have to deal with a problem in the response.
when I connect to my service I get
/usr/lib/ruby/1.8/net/http.rb:1990:in `read_status_line': wrong status
line: "[2007-04-11 11:21:03] INFO WEBrick 1.3.1" (Net::HTTPBadResponse)
so I can tell that I'm getting the stdout from the creation of the
webbrick server instead of my intended response as the first line and my
client bails on that....
telnet 0 9090
Escape character is '^]'.
[2007-04-11 11:36:17] INFO WEBrick 1.3.1
[2007-04-11 11:36:17] INFO ruby 1.8.4 (2005-12-24) [i386-linux]
[2007-04-11 11:36:17] INFO WEBrick::HTTPServer#start: pid=15629 port=80
(yes those port numbers bother me but it appears to be working so maybe
it's a mistake)
is there a way to tell webrick not to give that info on startup? or
some other method of managing the transaction?
thanks
-zaq
I have a XML-RPC service that works fine in standalone mode. I
attempted to control it via xinetd, and while I'm able to get it to
launch, I have to deal with a problem in the response.
when I connect to my service I get
/usr/lib/ruby/1.8/net/http.rb:1990:in `read_status_line': wrong status
line: "[2007-04-11 11:21:03] INFO WEBrick 1.3.1" (Net::HTTPBadResponse)
so I can tell that I'm getting the stdout from the creation of the
webbrick server instead of my intended response as the first line and my
client bails on that....
telnet 0 9090
Escape character is '^]'.
[2007-04-11 11:36:17] INFO WEBrick 1.3.1
[2007-04-11 11:36:17] INFO ruby 1.8.4 (2005-12-24) [i386-linux]
[2007-04-11 11:36:17] INFO WEBrick::HTTPServer#start: pid=15629 port=80
(yes those port numbers bother me but it appears to be working so maybe
it's a mistake)
is there a way to tell webrick not to give that info on startup? or
some other method of managing the transaction?
thanks
-zaq