T
Torsten Mueller
I use boost::asio classes to perform a GET-request to a HTTP-Server.
The request tells the server to return a JPEG image. This algorithm
works very well with most servers.
Now we have a proxy which is different. This proxy returns a content
length header for the images which seems to be right, perhaps 43kB,
but it does not return the entire contents, only 27kB or something
like that. I use an istream to read from an asio-streambuf and this
istream has the eof-bit set long before I expect it. So the images are
truncated.
Why???
The proxy is (don't ask why) a ccproxy instance. In the log files of
this proxy we can detect that also the proxy himself knows that he
sent only a small part of the data.
Does anybody know what to do? Request again?
T.M.
The request tells the server to return a JPEG image. This algorithm
works very well with most servers.
Now we have a proxy which is different. This proxy returns a content
length header for the images which seems to be right, perhaps 43kB,
but it does not return the entire contents, only 27kB or something
like that. I use an istream to read from an asio-streambuf and this
istream has the eof-bit set long before I expect it. So the images are
truncated.
Why???
The proxy is (don't ask why) a ccproxy instance. In the log files of
this proxy we can detect that also the proxy himself knows that he
sent only a small part of the data.
Does anybody know what to do? Request again?
T.M.