What version, etc? I'm using 4.5.0a and I don't seem to have problem with
ns_returnredirect.

This is on 4.5a on CentOs 4.4 server.

I tried this snippet:

<%
   ### x.adp
   set headerSet [ns_conn outputheaders]
   ns_set put $headerSet "Location" "http://beta.blahblah.com/headers.adp";
   ns_return $conn 302 text/html "Nada\n"
%>

Upon telnetting in and making the request, it replied and then
crashed.  The server log showed:

[06/Sep/2006:08:51:28][2828.3082869680][-conn:0-] Fatal: received
fatal signal 11

Here is the session:

[EMAIL PROTECTED] ~]$ telnet 192.168.0.89 80
Trying 192.168.0.89...
Connected to 192.168.0.89 (192.168.0.89).
Escape character is '^]'.
GET /x.adp HTTP/1.0
Host: beta.blahblah.com:80

HTTP/1.0 302 Found
Location: http://beta.blahblah.com/headers.adp
MIME-Version: 1.0
Date: Wed, 06 Sep 2006 15:51:28 GMT
Server: AOLserver/4.5.0
Content-Type: text/html; charset=utf-8
Content-Length: 5
Connection: close

Nada
Connection closed by foreign host.
[EMAIL PROTECTED] ~]$
  (server dead at this point)


--
| ---------------------------------------------------------------
| Daniel P. Stasinski          | http://www.saidsimple.com
| [EMAIL PROTECTED]         | http://www.disabilities-r-us.com
| Google Talk: mooooooo        | http://www.scriptkitties.com
| Jabber: [EMAIL PROTECTED]  | http://www.avenues.org


--
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.

Reply via email to