Click here to get back home

HTTP::Proxy Error: "Getting request failed: Client closed"

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
HTTP::Proxy Error: "Getting request failed: Client closed" jason.yfho 01-19-2007
Get Chitika Premium
Posted by jason.yfho on January 19, 2007, 11:25 pm
Please log in for more thread options
>>
>> [snip]
>>
>> > if I print "$1\n",
>> > the file prints just fine. But, if I do something like print "$1 after
>> > \n", the whole output is messed up. If I print "before $1\n", nothing
>> > prints at all. If I print "before $1 after\n", only after prints.
>>
>> not really sure, but could be a rogue "\r" in $1,


> There
> is a rogue carriage return (0xd) in the string

> Is there something I can do to deal with this
> situation?


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Similar ThreadsPosted
*.pl(in server) get http header information(from client) failed September 10, 2004, 5:22 pm
HTTP Proxy via HTTP Layer by Perl? October 19, 2004, 5:56 pm
POE HTTP Proxy October 3, 2004, 1:26 pm
Chat client/server print failed January 15, 2008, 7:32 pm
anyone tried http-proxy on windows? November 16, 2004, 7:42 pm
HTTP Get with Proxy authentication January 17, 2005, 3:42 pm
pop3 and http proxy March 16, 2005, 2:52 pm
How to get CPAN to use Http Proxy? October 24, 2005, 10:02 am
Getting started with HTTP::Proxy April 10, 2008, 4:11 pm
set IE enviroment to use HTTP::Proxy module? November 6, 2007, 8:21 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap