Click here to get back home

LWP and socket

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    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
LWP and socket Khai Doan 05-01-2007
Posted by Khai Doan on May 1, 2007, 6:06 pm
Please log in for more thread options


My code open a socket and talk HTTP/1.1 to a remote web server, but I
notice extra characters in the response, so I use lwp-download
http://www.genius.com/index.html and capture the response with a
packet analyzer (ethereal). The packet analyzer show 1ff8 after the
response header and a 0 at the end of the response. When I look at
the downloaded file, these characters are not there.

I tried this with another web server http://www.webex.com/index.html,
and see the same symptoms. Any idea what these characters are and
what lwp-download does with them?


Posted by Khai Doan on May 2, 2007, 1:21 pm
Please log in for more thread options


> My code open a socket and talk HTTP/1.1 to a remote web server, but I
> notice extra characters in the response, so I use
lwp-downloadhttp://www.genius.com/index.htmland capture the response with a
> packet analyzer (ethereal). The packet analyzer show 1ff8 after the
> response header and a 0 at the end of the response. When I look at
> the downloaded file, these characters are not there.
>
> I tried this with another web serverhttp://www.webex.com/index.html,
> and see the same symptoms. Any idea what these characters are and
> what lwp-download does with them?

I found my own anwser.


Similar ThreadsPosted
IO::Socket::SSL March 24, 2005, 10:10 pm
IO::Socket sometimes hang, why? Please help November 7, 2004, 7:54 pm
IO::Socket->socketpair() May 21, 2007, 3:25 pm
Installing IO::Socket::SSL on Win32? June 30, 2006, 11:11 am
IO::Socket default timeout September 25, 2006, 2:35 pm
IO::Socket::SSL: cannot connect using different LocalAddr October 2, 2007, 12:28 pm
Credentials and POST method with IO::Socket::SSL? June 30, 2006, 5:14 pm
IO::Socket::INET nonblocking confusing April 25, 2007, 7:27 am
SSLeay & OpenSSL problem with install of IO::Socket::SSL June 24, 2005, 9:39 am
IPV6 socket connection, with a link-local address January 11, 2008, 1:12 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap