For curiosity's sake, I just tried deploying to a different server
(Linux this time) and I get the same message if I remove
ssh_options[:compression] = "none", so it would seem to be something
on the machine I'm deploying from. I'm not sure yet what it might
be. I'll try looking into it more when I get a chance.
Thanks for your help.
On May 6, 11:07 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> Interestingly, I can no longer duplicate this, even in the tests. If I
> enable compression thus:
>
> Net::SSH.start('localhost', 'jamis', :compression => "[EMAIL PROTECTED]
> ") do |ssh|
> ssh.exec "hostname"
> ssh.loop
> end
>
> It starts and finishes just fine. Enabling debugging output shows that
> zlib is enabled...but I don't get that bizarre message. Maybe it's a
> function of the zlib library you have installed? Maybe something else?
>
> Has anyone else encountered this?
>
> - Jamis
>
> On May 6, 2008, at 9:21 AM, Michael Irwin wrote:
>
>
>
> > Yep, adding that removes the notice. I've had compression enabled in
> > ~/.ssh/config for some time, so it seems 2.3.0 just started noticing
> > it.
>
> > Thanks for your help, Jamis.
>
> > On May 5, 11:51 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> >> I can't seem to duplicate this...though to be honest I'm on 1.8.6
> >> patchlevel 110 at the moment. Has anyone else seen this since
> >> upgrading to 2.3?
>
> >> I wonder if your server is enabling zlib by default. Does adding this
> >> to your recipes help at all?
>
> >> ssh_options[:compression] = "none"
>
> >> If not, what ssh server software are you connecting to?
>
> >> - Jamis
>
> >> On May 4, 2008, at 8:12 PM, Michael Irwin wrote:
>
> >>> It's the default Ruby that comes w/ Leopard:
>
> >>> ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0]
>
> >>> On May 4, 4:27 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> >>>> I've seen that message appear in the Net::SSH unit tests, but
> >>>> because
> >>>> they never appeared "in practice", I figured it was an artifact of
> >>>> the
> >>>> tests. What version of Ruby do you have installed locally?
>
> >>>> - Jamis
>
> >>>> On May 4, 2008, at 1:39 PM, Michael Irwin wrote:
>
> >>>>> Using 2.3.0, deploying from OS X 10.5.2 to FreeBSD 6.2-STABLE, I
> >>>>> keep
> >>>>> getting the following notice after a task has run:
>
> >>>>> zlib(finalizer): the stream was freed prematurely.
>
> >>>>> It seemed to appear only after upgrading to 2.3.0, or at least I
> >>>>> didn't notice it before. The tasks do seem to be working properly
> >>>>> in
> >>>>> spite of this notice.
>
> >>>>> Anyone else seeing this or have ideas on how to fix it?
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---