content-length / large downloads

Thomas Wiesel <[email protected]>
Newsgroups gmane.comp.web.polipo.user
Organization http://freemail.web.de/
Message-ID <[email protected]>
Juliusz,

i'm trying to download dvd iso's of apr. 3GB size. 

Ming Fu mentioned some weeks ago that several integers are to small when content-length exceeds 2G.
In http_parse.c the content-length is converted using strtolen. The resulting overflow seems not to be handled and the download is starting.
I think it would  be more correct to respond with a 500 error and close server connection as long as polipo is not able to handle file sizes larger 2GB.





Thomas


 


______________________________________________________
WEB.DE FreeDSL mit 6.000 Flatrate und Telefonanschluss
für 17,95 Euro/mtl.! http://produkte.web.de/go/02/


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.