problem with staticfilehandler + PDFs with fast webview -Lineariza

M

Mainframe05

We were using the system.web.staticfilehandler in our webconfig to process
PDFs on our website.

I think I found a problem in system.web.staticfilehandler and PDFs that were
generated with the "fast webview" option ( which allows for the pages to
start being viewed before the whole file is loaded)

The problem I'm seeing is that sometimes, when using Internet Explorer,
there are more than 16 range requests being sent on a single partial http get
request.

The code in the staticfilehandler seems to have a problem when trying to
copy the original 16 objects to a new bigger array. The buffer.blockcopy
does not seem to like the fact that the array being memcopied is not of
primitives.

Is anyone else seeing this kind of problem?

The symptom to the end user is that they load the first page or two of the
PDF and then it hangs. The same pdf seems to load correctly from Firefox..
(probably just by coincidence, because they are not sending more than 16
range requests at one time) Also, the problem seems to occur when the files
are pretty big (a few meg) and being served over the real internet (not an in
house server)

A workaround (other than coding your own PDF file handler) is to re-publish
the PDF without the fast webview option.. On our site this is not a good
option because our PDFs are pretty big...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top