U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » Proposal: set HttpRequest::MaxContentSize(int64)
Proposal: set HttpRequest::MaxContentSize(int64) [message #37819] Wed, 14 November 2012 23:52 Go to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

I'm writing some web downloading utility which handles partial downloading of disk images from Web through Http. And it looks like the size of downloaded data may easily overcome INT_MAX (which is 2GB). I guess others may meet this problem too in the future.

So I propose changing HttpRequest::max_content_size from int to int64 (also changing HttpRequest::MaxContentSize() argument to int64) to be able to handle bigger data chunks.
 
Read Message
Read Message
Read Message
Previous Topic: TcpSocket Tutorials exist?
Next Topic: How to close a Thread?
Goto Forum:
  


Current Time: Tue Jun 23 10:35:11 GMT+2 2026

Total time taken to generate the page: 0.00484 seconds