Skip Menu |

This queue is for tickets about the Net-SSH2 CPAN distribution.

Report information
The Basics
Id: 59292
Status: resolved
Priority: 0/
Queue: Net-SSH2

People
Owner: Nobody in particular
Requestors: david [...] kineticode.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: Bret Dawson <bret [...] pectopah.com>, Daniel Stenberg <daniel [...] haxx.se>
Subject: Add trace Parameter and/or Accessor
Date: Mon, 12 Jul 2010 20:28:54 -0700
To: bug-net-ssh2 [...] rt.cpan.org
From: "David E. Wheeler" <david [...] kineticode.com>
Dear Net::SSH2 maintainers, It would be handy to be able to enable libssh2 trace output by adding a parameter to new(), or an accessor. The necessity of uncommenting line 546 and rebuilding is a bit annoying. Could a trace parameter and/or accessor be added? Is the error output simply sent to STDERR? Thanks, David
Subject: Re: [rt.cpan.org #59292] Add trace Parameter and/or Accessor
Date: Tue, 13 Jul 2010 04:02:27 -0400
To: David Wheeler via RT <bug-Net-SSH2 [...] rt.cpan.org>
From: Rafael Kitover <rkitover [...] cpan.org>
Added ->new(trace => -1) and ->trace(-1) in 0.33, please try it out and let me know if it works for you. You need a debug build of libssh2 of course. On Mon, Jul 12, 2010 at 11:29:04PM -0400, David Wheeler via RT wrote: Show quoted text
> Mon Jul 12 23:29:03 2010: Request 59292 was acted upon. > Transaction: Ticket created by david@kineticode.com > Queue: Net-SSH2 > Subject: Add trace Parameter and/or Accessor > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: david@kineticode.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=59292 > > > > Dear Net::SSH2 maintainers, > > It would be handy to be able to enable libssh2 trace output by adding a parameter to new(), or an accessor. The necessity of uncommenting line 546 and rebuilding is a bit annoying. Could a trace parameter and/or accessor be added? Is the error output simply sent to STDERR? > > Thanks, > > David
CC: Bret Dawson <bret [...] pectopah.com>, Daniel Stenberg <daniel [...] haxx.se>
Subject: Re: [rt.cpan.org #59292] Add trace Parameter and/or Accessor
Date: Tue, 13 Jul 2010 08:48:54 -0700
To: bug-Net-SSH2 [...] rt.cpan.org
From: "David E. Wheeler" <david [...] kineticode.com>
On Jul 13, 2010, at 1:02 AM, rkitover@cpan.org via RT wrote: Show quoted text
> Added ->new(trace => -1) and ->trace(-1) in 0.33, please try it out and > let me know if it works for you. > > You need a debug build of libssh2 of course.
Oh, didn't realize it required a debug build of libssh2. Thanks for the quick work! Best, David
CC: bug-Net-SSH2 [...] rt.cpan.org, Bret Dawson <bret [...] pectopah.com>
Subject: Re: [rt.cpan.org #59292] Add trace Parameter and/or Accessor
Date: Tue, 13 Jul 2010 20:22:21 +0200 (CEST)
To: "David E. Wheeler" <david [...] kineticode.com>
From: Daniel Stenberg <daniel [...] haxx.se>
On Tue, 13 Jul 2010, David E. Wheeler wrote: Show quoted text
>> Added ->new(trace => -1) and ->trace(-1) in 0.33, please try it out and let >> me know if it works for you. >> >> You need a debug build of libssh2 of course.
> > Oh, didn't realize it required a debug build of libssh2. Thanks for the > quick work!
libssh2_trace() is _present_ in all builds but it doesn't actually do anything unless you have a debug build... -- / daniel.haxx.se
Closing this ticket again, as ->new(trace => -1) now works correctly and the trace constant group has been added in 0.34.