Can't locate object method "close" via package "Net::HTTPTunnel" at nzbperl.pl line 389, <GEN2> line 5.

3 views
Skip to first unread message

jamesz

unread,
Sep 12, 2007, 4:33:23 PM9/12/07
to nzbperl
Any body had this problem before? what might be wrong? I'm using
nzbperl on Solaris 10.
"Can't locate object method "close" via package "Net::HTTPTunnel" at
nzbperl.pl line 389, <GEN2> line 5."

Thanks,
James

Jason Plumb

unread,
Sep 16, 2007, 12:40:31 AM9/16/07
to nzb...@googlegroups.com

The HTTPTunnel code hasn't been tested as thoroughly as we'd like.

There is some special-casing around SSL connection closing, but
apparently not for HTTPTunnel. I confirmed with CPAN that the
Net::HTTPTunnel class certainly doesn't have a close method.

If you're only ever using HTTP tunneling, you could try commenting that
line out and report status back to the list.

Thanks,

-jason

jamesz

unread,
Sep 22, 2007, 5:37:38 PM9/22/07
to nzbperl
Hi Jason,
It does solve the problem, but now each connection will wait 5 mins to
continue after one file is downloaded.

Connection is closed ( reconnected in ?:??).

Thanks,
James

Jason Plumb

unread,
Sep 22, 2007, 11:12:01 PM9/22/07
to nzb...@googlegroups.com
jamesz wrote:
> Hi Jason,
> It does solve the problem, but now each connection will wait 5 mins to
> continue after one file is downloaded.
>
> Connection is closed ( reconnected in ?:??).

Hmmm...that's goofy. I thought that block was only for connection close
handling. Shouldn't be happening just on file complete (I can't
remember and don't have the code open right now).

Hopefully when the rework is stable (and released!) the proxy support
will be more solid.

-jason

Reply all
Reply to author
Forward
0 new messages