[AOLSERVER] ns_respond locks AOLServer

2004-03-04 Thread Bart Teeuwisse
Export / download of data files from AOLServer causes the webserver to lock
up.The problem seems to be with ns_respond. Where possible I've replaced
those with ns_return as that does work. But ns_respond is needed to return
file contents instead of text stings.

Has anyone else observed this behaviour w/ AOLServer 4.x (I've tried all
releases as well as CVS HEAD.)

/Bart


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of 
your email blank.


Re: [AOLSERVER] ns_respond locks AOLServer

2004-03-04 Thread Bas Scheffers
Bart Teeuwisse said:
 those with ns_return as that does work. But ns_respond is needed to return
 file contents instead of text stings.
As a workaround for that, you can simply read the file as binary, parse it
to hex, stick 0x in front of it and use ns_return. The browser will never
know the difference. (as there is none...)

HTH,
Bas.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of 
your email blank.