473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

HttpWorkerRequest.ReadEntityBody returns 0 bytes

Hi,

I'm experiencing the following problem, I have a request which i read in
chunks. I'm doing this on my local machine and sometimes it works fine and
other times it fails and return 0 bytes as a result.

I check if the client is connected before reading the next chunk of data
from the request stream.

It has been working without any problems until some time ago, I'm wondering
if IE has was changed shortly to introduce this bug. It seems as if the
client doesn't return any data anymore sometimes.

Any ideas?
Nov 18 '05 #1
1 2053
Your post went unanswered. Have you resolved this issue?

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Bjorn" <ms********@b-virtual.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi,

I'm experiencing the following problem, I have a request which i read in
chunks. I'm doing this on my local machine and sometimes it works fine and
other times it fails and return 0 bytes as a result.

I check if the client is connected before reading the next chunk of data
from the request stream.

It has been working without any problems until some time ago, I'm wondering if IE has was changed shortly to introduce this bug. It seems as if the
client doesn't return any data anymore sometimes.

Any ideas?

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Dustin B | last post by:
Since this issue encompasses so many things - I have to generally post it I guess. I'm building an application for a Wireless PDA - when it is connected to the Network I tested a TCPListener &...
0
by: Vladimir Nesterovsky | last post by:
Hello there, I don't know to whom this message is addressed, however I believe there is a bug in the HasEntityBody method of the HttpWorkerRequest class. public bool HasEntityBody() { string...
2
by: bstroman | last post by:
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...
6
by: Jason Chu | last post by:
situation: I'm uploading file to my application using a java applet sending the request (the file) through socket to my asp.net page. On my asp.net page, I've override the httpmodule to take in...
1
by: Jason Chu | last post by:
I have a problem with ReadEntityBody returning 0 even if there's more things to be read (bytes counter for the number of bytes read is less than that of the contentlength). Suggestions?
2
by: Schorschi | last post by:
Can't seemd to get ReadFile API to work! Returns invalid handle error? =========================================================================== Ok, the visual basic gurus, help! The...
0
by: Andrea | last post by:
I'm trying to do a simple file uploader (well I know that there is a lot around, but it's just to learn) but I don't know how to get the chunk of file. I've started to use the...
1
by: Eric Pearson | last post by:
I implement my own HTTP server and pass ASP.Net requests via HttpWorkerRequest. When I authenticate a client, I pass the correct windows token inside of GetUserToken(), and within my...
0
by: phplasma | last post by:
Hey, I am currently attempting to implement a multi-threaded C# socket, using SSL (.pem file/certification/private key combo) server using Visual Studio C# Express. I have successfully made...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.