[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-dev
Subject:    server to "fast" for browser?
From:       Josef Zellner <josef.zellner () aon ! at>
Date:       2003-01-26 21:53:58
[Download RAW message or body]

Hi all!
For some reasons I had to put the structure "request_rec" into a class like:

RequestHandler
{
	private:
	struct request_rec *r;
	public:
		print(const char *data)
		{
			ap_rprintf(r,"%s",data);
		}
}

If I use this class for sending data (250 KB) to a browser (IE 5.0), the 
  browser will handle it as no data and shows a blank page. But if I a 
make the process slower (some pause statements or debug output to a 
file), the browser shows all the data correctly.

Can anyone tell me, what i am doing wrong? Must I handle the request_rec 
structure (or one of it's element) in a certain way?

Thanks in advanve,
Josef





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic