From: Christophe Broult Date: 2001-08-08T20:53:26+09:00 Subject: [ruby-talk:19374] having to add '\r' for Microsoft hosted telnet daemon (RE: [ruby- talk:19308] Re: PATCH: fixed bug in "waitfor" in net/telnet.rb) This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C12000.A20A2FF0 Content-Type: text/plain; charset="iso-8859-1" I did not look at the mentionned patch but a few month ago while I was using the telnet module, I had to append '\r' of the each of the sent/expected string to have a working session when accessing a telnet running on a Microsoft platform. Note that systematically adding this extra character did not prevent me from successfully using a telnet session hosted on Unix. Note also I also had to add this extra '\r' when doing the same thing in Java. I had meant to send a patch to the 'net/telnet.rb' maintainer but I have not done it so far:-( Christophe > -----Original Message----- > From: Lloyd Zusman [mailto:ljz@asfast.com] > Sent: Tuesday, August 07, 2001 4:32 PM > To: ruby-talk@ruby-lang.org > Subject: [ruby-talk:19308] Re: PATCH: fixed bug in "waitfor" in > net/telnet.rb > > > Quoting Tobias Reif : > > > Lloyd, > > > > Net:http connections seem to hang sometimes too; can you > > fix that too? > > I'll take a look at it if I have some time soon, but > no promises. I'm just a random ruby user, and I > happened to need to use the Net::Telnet module today. > This is how I came to notice the problem, and why I > then fixed it. > > I imagine that hanging http connections would be much > harder to debug than telnet sessions, since some of > the hanging might very well be due to vagaries of the > httpd server, its site, the specific pages accessed, > etc. > > Could you post some code which reliably demonstrates the > Net::Http problems that you're referring to? Perhaps > one of the readers here might have some ideas as to what > the problem would be, and what would have to be done > to Net::Http in order to fix it. > > > > Tobi > > -- > Lloyd Zusman > ljz@asfast.com > ------_=_NextPart_001_01C12000.A20A2FF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable having to add '\r' for Microsoft hosted telnet daemon (RE: = [ruby-talk:19308] Re: PATCH: fixed bug in "waitfor" in = net/telnet.rb)

I did not look at the mentionned patch but a few = month ago while I
was using the telnet module, I had to append '\r' of = the each of the sent/expected string
to have a working session when accessing a telnet = running on a Microsoft platform. Note that systematically adding this = extra character did not prevent me from successfully using a telnet = session hosted on Unix. Note also I also had to add this extra '\r' = when doing the same thing in Java.

I had meant to send a patch to the 'net/telnet.rb' = maintainer but I have not done it so far:-(

Christophe

> -----Original Message-----
> From: Lloyd Zusman [mailto:ljz@asfast.com]
> Sent: Tuesday, August 07, 2001 4:32 PM
> To: ruby-talk@ruby-lang.org
> Subject: [ruby-talk:19308] Re: PATCH: fixed bug = in "waitfor" in
> net/telnet.rb
>
>
> Quoting Tobias Reif = <tobiasreif@pinkjuice.com>:
>
> > Lloyd,
> >
> > Net:http connections seem to hang = sometimes too; can you
> > fix that too?
>
> I'll take a look at it if I have some time = soon, but
> no promises.  I'm just a random ruby user, = and I
> happened to need to use the Net::Telnet module = today.
> This is how I came to notice the problem, and = why I
> then fixed it.
>
> I imagine that hanging http connections would = be much
> harder to debug than telnet sessions, since = some of
> the hanging might very well be due to vagaries = of the
> httpd server, its site, the specific pages = accessed,
> etc.
>
> Could you post some code which reliably = demonstrates the
> Net::Http problems that you're referring = to?  Perhaps
> one of the readers here might have some ideas = as to what
> the problem would be, and what would have to be = done
> to Net::Http in order to fix it.
>
>
> > Tobi
>
> --
>  Lloyd Zusman
>  ljz@asfast.com
>

------_=_NextPart_001_01C12000.A20A2FF0--