HttpWorkerRequest.ReadEntityBody returns 0

Discussion in 'ASP .Net' started by bstroman@hotmail.com, Jul 12, 2005.

  1. Guest

    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
     
    , Jul 12, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Qmpvcm4gQg==?=

    ReadEntityBody problem

    =?Utf-8?B?Qmpvcm4gQg==?=, Feb 19, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,457
    bruce barker
    Feb 19, 2004
  2. Bjorn
    Replies:
    1
    Views:
    644
    Alvin Bruney [MVP]
    Mar 4, 2004
  3. Replies:
    2
    Views:
    1,722
  4. =?Utf-8?B?SmFzb24gQ2h1?=

    ReadEntityBody returns 0

    =?Utf-8?B?SmFzb24gQ2h1?=, Nov 3, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    455
    =?Utf-8?B?SmFzb24gQ2h1?=
    Nov 4, 2005
  5. Guest
    Replies:
    3
    Views:
    4,360
    labreaks
    Mar 15, 2007
Loading...

Share This Page