HttpWorkerRequest.ReadEntityBody returns 0

B

bstroman

I have an HttpModule to intercept the BeginReguest event and then read
the Request Stream as it is being sent. The GetPreloadedEntityBody
reads the preloaded information from the request and after the
preloaded data it calls ReadEntityBody to gather the rest of the data.
This works great in one web application on my development box.

I am now trying to integrate this code in another web application on
the same XP workstation. GetPreloadedEntityBody again works fine.
However, if the uploaded file is too big to be completely preloaded,
then ReadEntityBody is called. In this application ReadEntityBody
hangs for a while and then returns 0. Any suggestions?

Thanks,
Bob
 

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

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,202
Latest member
MikoOslo

Latest Threads

Top