On Thursday, September 7, 2006 8:22 pm, Dossy Shiobara [EMAIL PROTECTED]
wrote:
Phew! I guess it's time to start thinking about a 4.5.1
release ...
4.0.11?
Regards,
Jeremy Henty
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to [EMAIL
Guys,
I have a similar issue with redirects crashing the nsd 4.5.0, and I got a
quickie fix to prevent the crash.
Please check out this thread
http://openacs.org/forums/message-view?message_id=471882
Of course, this does not fix the root cause (and apparently produces zombies),
but at least it
On 2006.09.07, Alex Andryushkin [EMAIL PROTECTED] wrote:
I have a similar issue with redirects crashing the nsd 4.5.0, and I got a
quickie fix to prevent the crash.
Please check out this thread
http://openacs.org/forums/message-view?message_id=471882
Of course, this does not fix the root
On 2006.09.07, Daniel P. Stasinski [EMAIL PROTECTED] wrote:
On 9/7/06, Dossy Shiobara [EMAIL PROTECTED] wrote:
Can you try CVS HEAD ... see if it fixes the crash bug properly?
Done and fixed. Thank you :)
Phew! I guess it's time to start thinking about a 4.5.1 release ...
-- Dossy
--
On 9/7/06, Dossy Shiobara [EMAIL PROTECTED] wrote:
Can you try CVS HEAD ... see if it fixes the crash bug properly?
Done and fixed. Thank you :)
Daniel
--
| ---
| Daniel P. Stasinski | http://www.saidsimple.com
| [EMAIL
However, the bug I found was due to an API using a page level
global var, not sure exactly what you call this in C, but the API
was on another page.
Mine seems to be unrelated. I did further checking and when
ns_returnredirect refers to -any- local URL it causes a segfault.
The relocated URL
On Wednesday 06 September 2006 08:02, Daniel P. Stasinski wrote:
However, the bug I found was due to an API using a page level
global var, not sure exactly what you call this in C, but the API
was on another page.
Mine seems to be unrelated. I did further checking and when
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
Daniel,
A few things:
1. try this on a tcl page, not an adp.
2. this is not a relative redirect, this is a full url redirect
(not sure what distinction you were making with this, didn't you say one
was a problem?)
3. what is the $conn argument for?
just 'ns_return 302 text/html
1 1. try this on a tcl page, not an adp.
2. this is not a relative redirect, this is a full url redirect was a problem?)
3. what is the $conn argument for?
As a registered tcl proc it works fine.
With further testing, both ns_return and ns_returnredirect within an
adp crash the server.
it still crashes.
Ok, I just found this on the new docs
NOTE: The script does not end at the time this command is invoked.
ns_adp_abort or ns_adp_return should be called to end script
processing after ns_returnredirect
This does stop the crash but I would still consider it to be a bug.
, September 06, 2006 2:10 PM
To: AOLSERVER@LISTSERV.AOL.COM
Subject: Re: [AOLSERVER] internal server redirects
it still crashes.
Ok, I just found this on the new docs
NOTE: The script does not end at the time this command is invoked. ns_adp_abort
or ns_adp_return should be called to end
On 9/6/06, Titi Ala'ilima [EMAIL PROTECTED] wrote:
It's not a bug, it's a feature. Seriously. Sometimes you want
to return a response to the connection and then continue
processing afterwards. Or at least, sometimes _I_ want to
do that. :-)
That's exactly why its a bug. You may indeed want
] internal server redirects
it still crashes.
Ok, I just found this on the new docs
NOTE: The script does not end at the time this command is invoked. ns_adp_abort
or ns_adp_return should be called to end script processing after
ns_returnredirect
This does stop the crash but I would still
. Or at least, sometimes _I_ want to do that. :-)
-Titi
-Original Message-
From: Daniel P. Stasinski [mailto:[EMAIL PROTECTED] Sent:
Wednesday, September 06, 2006 2:10 PM
To: AOLSERVER@LISTSERV.AOL.COM
Subject: Re: [AOLSERVER] internal server redirects
it still crashes.
Ok, I just found
On Wednesday 06 September 2006 11:49, Daniel P. Stasinski wrote:
On 9/6/06, Titi Ala'ilima [EMAIL PROTECTED] wrote:
It's not a bug, it's a feature. Seriously. Sometimes you want
to return a response to the connection and then continue
processing afterwards. Or at least, sometimes _I_
of protocol.
-Titi
-Original Message-
From: Daniel P. Stasinski [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 06, 2006 2:50 PM
To: AOLSERVER@LISTSERV.AOL.COM
Subject: Re: [AOLSERVER] internal server redirects
On 9/6/06, Titi Ala'ilima [EMAIL PROTECTED] wrote:
It's not a bug, it's
On 2006.09.06, Daniel P. Stasinski [EMAIL PROTECTED] wrote:
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
On 2006.09.06, Daniel P. Stasinski [EMAIL PROTECTED] wrote:
it still crashes.
Ok, I just found this on the new docs
NOTE: The script does not end at the time this command is invoked.
ns_adp_abort or ns_adp_return should be called to end script
processing after ns_returnredirect
On 9/5/06, Tom Jackson [EMAIL PROTECTED] wrote:
I spent several hours fixing a bug with internal redirects, then found out it
had already been fixed.
If a status had been mapped to a url, then the server redirects (internally)
to that url.
Can you elaborate more on this? I'm having a similar
On Tuesday 05 September 2006 12:42, Daniel P. Stasinski wrote:
On 9/5/06, Tom Jackson [EMAIL PROTECTED] wrote:
I spent several hours fixing a bug with internal redirects, then found
out it had already been fixed.
If a status had been mapped to a url, then the server redirects
(internally)
21 matches
Mail list logo