Broken Pipe

Stephen Friedman (friedman@donald.phast.umass.edu)
Wed, 15 Oct 1997 15:57:36 -0400 (EDT)


Hello there fellow WWW programmers,

I just subscribed to the list a few days ago. I have been working on a program
to mirror copy and/or check WWW trees and pages. (I combined mirroring and
checking into one program since they're basically the same code with a file
save at the end of the mirroring process.) It's working pretty darned well if I
do say so myself. We had some problems w/ libwww-perl-0.40, so I rewrote it for
the LWP module. The odd problem I was getting with libwww-perl-0.40 (receiving
404's when infact the page existed) disappeared and now a new one has surfaced.
All I'm doing is setting up a robot object and a request object and using
simple_request. Nevertheless, I keep getting the occasional untrapped (and
untrappable) "Broken Pipe" error, possibly on sites with Internet connection
problems. I skimmed through the archives and found nothing mentioning 'broken
pipe' errors. I am currently running libwww-perl-5.10 under perl 5.003 on a Sun
Sparc 2 running Solaris 2.5. Could it be something I'm doing in the setup of
the LWP::RobotUA object or the HTTP::Request object? I'd imagine if it were a
code problem, it would be trappable. If it's a more serious perl problem or LWP
incompatibility, is this a known problem? Is it something that may be fixed in
the latest version or a later version? Should I try upgrading to version 5.14
of LWP and perl 5.004 even though there's no mention in the ChangeLog of this
problem?

Thanks in advance for your assistance,
Steve Friedman
Asst to the Webmaster of the Five College Astronomy Department, Amherst, Mass.

----------------------------------------
           Stephen Friedman
    friedman@donald.phast.umass.edu
http://donald.phast.umass.edu/~friedman/
----------------------------------------