I think from the tcl perspective the interp management is interesting.
Interps are initialized with a startup script (created through
introspection) and reused by multiple requests without reinitializing
(cleaned up after each request, again using introspection).
-J
Matthew M. Burke wrote:
Daniël Mantione wrote:
Maybe I could point again at the ipv6 patch I wrote in 2008. Back there
was even not even a response on this list, but maybe today, now the
world has run out of ipv4 addresses, the interrest in serving ipv6 is a
bit higher.
Patch still available for download here:
Hey all, me again.
For those of you who don't monitor the commits list I wanted to share a
few changes I've recently made as well as a few I'm still thinking about.
- implemented native decoding of strings in ns_returnfile. This allows
filenames that are not utf-8 to be passed, similar to
Sourceforge seems a reasonable choice to me.
-J
Dossy Shiobara wrote:
Everyone,
It appears that AOL is going to be shutting own its LISTSERV, which
includes several AOLserver mailing lists.
Since there's still activity on this mailing list, I think it would be
worth moving to a new list.
Fenton, Brian wrote:
Hi Jeff
congrats on all the great work. That all sounds super. A new
AOLserver release would be amazing, but maybe seeing as 4.0 was first
released 8 years ago, we could consider that it's about time for a
move to 5.0? Not wanting to get too Firefox-y about it, but I think
Brett Schwarz wrote:
I'll grab the latest and greatest from SF and start messing around with
your changes. Is SF the main repo for aolserver? What about the modules
(specifically nspostgres)?
Yep, SF is still the place for aolserver and nspostgres (which looks
like it has been updated to
Thorpe Mayes wrote:
Hi,
I am trying to install the solid database drivers and cannot do it.
I am running aolserver 4.5.0.
I added the nssolid_3.0 driver. I then added solid-fix.tar, which updated the
Makefile file and added the nssolid.h file to the nssolid directory.
Where is
Klaus Hofeditz ]project-open[ wrote:
I gave it a try since some of our users do upload files using tools
such as WINSCP. Since these files would also need to be accessible
through the ]project-open[ file manager, we need to come up
with a slightly more complex solution to detect files with
Another thing you could do is to set tcl's default encoding to utf-8, so
that the filenames passed to Ns_ConnReturnFile are the same encoding as
what the core tcl commands do.
Set the default encoding with
encoding system utf-8
in some tcl file. It's possible this could have some side
Dossy Shiobara wrote:
It's probably safer to define this as SOCKET, but windows.h says
SOCKET is:
The source comment is misleading, because trigger is set up as a socket
pair, not as a pipe. Not sure why it's this way, but there it is. And
ns_sockpair is already prototyped as
Maurizio,
I think we're all in agreement at this point. Could you put together a
patch?
-J
Maurizio Martignano wrote:
Don
In Aolserver source code
95% of more of the times sockets are declared as SOCKET; the other times as
int.
This is an inconsistency and is a fact.
If you wanted to
Hi all,
I'm implementing a minor enhancement to the adp parser to make null end
tags (aka empty elements or minimized tags) work. Or more simply, if
you have a registered adp tag where the end tag matches the opening tag,
then rather than
mytag name=value/mytag
you can simply write
mytag
Maurizio Martignano wrote:
Well… ehm... the version in the tar ball compiles and runs well under
Windows…
Not so for the version under CVS HEAD: many of the changes introduced
have been implemented with a careful eye only for *nix, and not for Windows.
By looking at the code I have the
A thought for an alternate way to handle this - if the content-length is
too large, the just don't read the content, but set an error flag on the
conn. That way, an adventurous system could return a custom error page,
or even handle reading the content through custom code. I think this
could
Jim Davidson wrote:
I think today, in 2011, some of the flexibility we imagined back in
1995 isn't really so needed. This includes general purpose logging
plugins and network drivers when there really is just the common log
format, ordinary and SSL sockets. More in the core for the base HTTP
be useful to set the
authorization proc to a tcl callback. There a C api to set it, but
that's not exposed at the tcl level.
-J
-Jim
On Jun 2, 2011, at 7:04 PM, Jeff Rogers wrote:
Distracting myself with code diving, I found that internal
redirects, implemented by Ns_ConnRedirect
Don Baccus wrote:
On Jun 6, 2011, at 11:31 AM, Jeff Rogers wrote:
I get down into these filters trying to figure out why my OpenACS
installation returned error pages for bad urls instead of the
Yes, this has been a known problem and known to be due to the fact
that filter's not being run
Don Baccus wrote:
On Jun 6, 2011, at 2:08 PM, Jeff Rogers wrote:
Well my question for now is, if this was fixed/changed in a way
like I've suggested, how long would it be before OpenACS could take
advantage of the change?
Wouldn't it just work automagically if the filter were run and
context
Don Baccus wrote:
On Jun 6, 2011, at 12:25 PM, Andrew Piskorski wrote:
In general, I don't think the ACS/OpenACS 4.x request processor
design was EVER carefully thought out with respect to all of
AOLserver's features and use cases.
Or, in this case, didn't understand the bug that the
Distracting myself with code diving, I found that internal redirects,
implemented by Ns_ConnRedirect and as are used for among other things
404 and 500 error pages, work by changing the url, reauthorizing, and
then running the request. However, it does not run preauth and postauth
filters.
Eduardo Santos wrote:
Hi Jeff,
Thank you for the answer. I was thiking that such a problem really
exists, and that's why I decided not to touch the source code on this.
It seems to me a bad thing to have a such low limit for file uploads. As
I don't know this implementation, do you think
Alexey Pechnikov wrote:
Thx, I use daemontools for starting AOL Server
/usr/sbin/aolserver4-nsd -f ...
and stdout may be logged by multilog (as example).
Oh, the server log has the same issue. That one doesn't have automatic
timed rolling, but it will still roll on a signal or an appropriate
You could set the max upload value to INT_MAX (2^31-1, as you have
below), and that should work, but going higher will be difficult.
Simply changing the variable to a long in one place is insufficient,
because that value is handled in quite a few places, and you'd need to
change all of them;
The log module supports rolling. Normally it is done daily, but if your
logs are growing too quickly and hitting 2G within a day you could set
up a cronjob to send the server a signal to roll the logs, or a
scheduled task within the server to roll the logs every hour, or when
they reach a
Alexey Pechnikov wrote:
2011/5/17 Jeff Rogersdv...@diphi.com:
Undocumented behaviour is bug, isn't it?
I didn't suggest that it wasn't, I only offered a possible workaround
for you to solve the immediate problem facing you.
There is a bugtracker for aolserver at sf where you can file
Alexey Pechnikov wrote:
2011/5/10 Dave Bauerd...@thedesignexperience.org:
I am not sure I understand hat you are trying to accomplish. What is an HTTP
Form Array? I am not aware of such a thing. It looks like you are passing
some application specific formatted data and need to process it.
Haig Didizian wrote:
Hi there,
Is there any wisdom in this community about whether it's better to let
these threads run forever, or whether it makes more sense to kill them
off after they process a number of connections?
As others mentioned, the downside of letting a thread run forever is
It doesn't seem to be documented, but you can set a 'location' parameter
for nssock that will override this:
ns_section ns/server/server1/module/nssock
ns_param port 8082
ns_param location http://shared.furfly.net
Cheers,
-J
Janine Ohmer wrote:
My problem is the value returned by [ns_conn
Hossein Sharifi wrote:
One problem is that AOLserver doesn't gzip content when ns_return is
called; it works for pretty much every scenario except that one. I
don't know why this is the case; we just hacked this by recompiling nsd
to always gzip regardless of the config file, as long as the
Jade Rubick wrote:
Unless we hear otherwise, so far I think we can summarize this thread as:
Tom strongly dislikes github.
Several other people favor it.
The rest don't care or haven't spoken up yet.
I'll toss in my 2 cents. For my recent projects I've begun to use
fossil. It has a
w...@dcon.at wrote:
Hi!
So it's simply not possible to retrieve the 8 bytes after the header? That's a
pitty, because that would be all I need for implementing the WebSocket
protocol and with ns_chan one could feed data to a lot of clients.
wiwo
I'm pretty sure it's not possible to
It looks like my previous answer was, at best, partially right. It
looks lke [ns_conn channel] does in fact give you a read/write channel.
The effect of the missing content-length header is to discard any
data that was read past the headers. Attached is a patch
(readahead.patch) to
Dossy Shiobara wrote:
Hi,
So, I've finally gone crazy and have started pushing the contents of the
CVS repository from SourceForge up to GitHub:
http://aolserver.github.com/
http://github.com/aolserver
I think in general this is a good thing. In fact, I was just thinking
about
Dossy Shiobara wrote:
Hi,
So, I've finally gone crazy
If
you have any positive comments and/or suggestions, don't hesitate to get
in touch with me: I'd love to hear what you think.
AOLserver's not dead, yet. ;-)
Also while you're at it, is the chat logger still running?
And would
The YUI upload control looks like a good place to start for the flash
client-upload feature. I haven't looked into it too deeply tho, so I
don't know what the server side looks like.
YUI Uploader widget: http://developer.yahoo.com/yui/uploader/
Other that that, I was pondering the plain
one conn can be in a thread at a time and that it
always releases the interp when it leaves the thread.
-J
-Jim
On Nov 25, 2009, at 5:46 PM, Jeff Rogers wrote:
It looks like the pre-queue filters are run after the message body
has been read, but before it is passed off to the Conn thread
It looks like the pre-queue filters are run after the message body has
been read, but before it is passed off to the Conn thread, so no help
there. However it looks like it would not be hard to add in a new
callback to the middle of the read loop, tho it's debatable if that's a
good idea or
nitin chandra wrote:
Thank you Everyone,
After a lot of attempts i was successful in installing the AoLserver
but not PyWX or for that matter any thing which will integrate with
Python.
Support regarding PyWX on AoL is non-existent, and key people have
stopped working / supporting this combo
Hossein Sharifi wrote:
Hey all,
What's the current state of templating systems in AOLserver? I've
found two:
1) ATS: Is it well-maintained, and can it be easily used outside of an
OpenACS installation?
2) http://junom.com/document/twt/view/www/ - it seems to be actively
maintained
There is no built-in setting to log or not log forwarded headers. It's
not difficult to change, but it requires a little programming.
If you are comfortable with C, you can edit nslog/nslog.c and change the
behaviour with X-Forwarded-For (it's at nslog.c:272 in my copy). You
could disable
Francesco Petrarch wrote:
Ok, I got this, this time I really do, and it should be easily
replicated by anyone.
I have this filter:
ns_register_filter preauth GET /*.html decode_url
ns_register_filter preauth POST /*.html decode_url
ns_register_filter preauth HEAD /*.html decode_url
proc
Jeff Rogers wrote:
proc decode_url { why } {
set page [ns_adp_parse -file /www/website/template.adp]
ns_return 200 text/html $page
ns_adp_exception state
ns_log notice adp exception state is $state
catch {ns_adp_return}
return filter_return
}
Whoops, this won't
Alexey Pechnikov wrote:
I did try to use nssqlite module but get segmentation fault errors. In AOL
server 4.0.10
# tail -f /var/log/aolserver4/offline.sid.mobigroup.ru.log
“db_foreach “select value from session” {
alloc: invalid block: 0xb4cf5378: 78 b4 20
AOL server 4.5 doesn't work with
You can absolutely run multiple named vhosts off a single IP with no
problem. It works out of the box from I think the first release of 4.x.
I think the sample config shows all you need to know about vhosting but
if not I'd be happy to help come up with a better concise example. the
only
Thibault Fouache wrote:
Hi everyone !
I've got a problem during the Aol server installation at the gmake's step.
Here you can find the picture of the error.
Can somebody help me please?
Thanks in advance,
Thibault
This is a known issue building aolserver against tcl8.5. Grab the HEAD
Dossy Shiobara wrote:
However, to let it continue to spin over and over is unproductive.
I'd love to hear other solutions other than configurabe cache key
strategies or a time-based delay caching strategy, but the time to
debate whether this is a defect or not is officially over: it is a
Titi Alailima wrote:
what you were looking for. Even with the mtime fix there's no
guarantee that systems which muck around with mtime (such as tar)
won't cause separate files to collide. For a contrived example:
I think the best you can do is to use ctime instead of mtime, or maybe
btime
John Caruso wrote:
BTW, Jeff, the scenario you'd outlined that you thought would trip this
up...:
13:50:21 - create file
13:50:21 - serve file (gets cached)
13:50:21 - delete file
13:50:21 - create file again (reuses inode)
... time passes ...
13:55:11 - serve file
Jim Davidson wrote:
BTW: Which OS is re-using inodes so quickly? I can't get my Mac OS/X
laptop to do that -- figured the inode re-use/prediction thing was
plugged years ago, e.g., when fsirand was introduced for scrambling NFS
vnodes.
Linux. This tcl page:
set fn /tmp/tmpfile[expr
John Caruso wrote:
No, you're still not understanding how the patch works.
Ok, I'll admit that I misread it at first, but you're also not
understanding why I'm saying why it will still break.
I'm surprised you're taking such an all-or-nothing view now,
I don't think I'm taking an
Derek wrote:
how is this thread still alive.
I think this bikeshed should be painted blue.
See http://www.bikeshed.com/ if you don't understand this.
-J
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to [EMAIL PROTECTED]
with the
body of
Tom Jackson wrote:
If you want to avoid use of fastpath, just set the configuration lower
than your dynamic content:
#
# Fastpath
#
ns_section ns/server/${server}/fastpath
ns_param cache[set cache 10] ;# max entries ??
ns_param cachemaxsize [set cachemaxsize [expr 5 *
John Caruso wrote:
Think of it as a if-modified-since or if-none-match
conditional GET.
Actually that's not analogous, ...
I didn't mean to say it was exactly the same, just similar in that given
a particular system that makes particular assumptions it is possible to
construct a
While I'd agree this is a bug in fastpath, the real problem is that
fastpath is being used at all in this case. The intent of fastpath is
to avoid reading a seldom-changed file from disk. It happens to be used
in ns_returnfile since that is the normal use case. On unix the
fastpath cache is
John Caruso wrote:
I'd agree that that's the intent, but the caching is hidden within
ns_returnfile and it's not clear at all from the user's perspective that
this alligator is lurking in the swamp. Using ns_returnfile in this way
may not be the best approach in any particular situation, but
Tom Jackson wrote:
Think about the case where multiple logical files are actually the same
physical file. Using the name would result in caching the same object
under different names. This is a much more likely situation than this so
called bug.
Huh, hard links - I sometimes forget about
russell muetzelfeldt wrote:
On 19/08/2008, at 9:37 AM, Tom Jackson wrote:
On Mon, 2008-08-18 at 15:38 -0700, Jeff Rogers wrote:
While I'd agree this is a bug in fastpath, the real problem is that
fastpath is being used at all in this case.
I don't think it is a bug in fastpath.
fastpath
Tom Jackson wrote:
No, because each file has a different inode. The bug requires that you
create and destroy one file and create another one within one second (so
they have the same timestamp) also required that the same inode is used
and that the file is the same exact size.
But beyond that,
Just noticed that bookmooch is #6 on the reddit homepage. I seem to
recall that bookmooch was running aolserver backed by bdb on just one or
two servers - is that still the case? What I was wondering more of
course is if there was any notable traffic spike from the reddit mention
and if
Dossy Shiobara wrote:
Back in Feburary 2005, Dan Chak at MIT said something to me that I just
haven't had the motivation to pursue. However, I really would like to
hear what folks think of his statement:
What AOLServer community needs is a bunch of fun, free
applications for
Tom Jackson wrote:
Wait, I thought mashups were simply http requests from javascript to update
parts of a web page. You return either javascript, html or an xml document,
which is probably a worthless option.
Maybe I got this wrong, but AOLserver should be able to step into a mashup
William Scott Jordan wrote:
Hey all!
This is really more of a tcl question, but I'm hoping that someone on
the list might have an explanation. Why does [format %.2f 18.005] round
down to 18.00 and [format %.2f 1.415] round up to 1.42? Any
guesses? Am I missing something obvious here?
Don Baccus wrote:
On Apr 12, 2008, at 8:46 AM, Brett Schwarz wrote:
For *my* application, I would have the config params do the decision
almost all of the time. However, I concede that other people's use
cases may be different...so I think a hook into the compression
decision making from
Juan José del Río (Simple Option) wrote:
Yes, but:
- But Beta seems to attract so many people to certain
technologies/software... Even if some people don't like new people, they
are somehow needed. We'll die someday. We need someone to take over our
tasks.
- We can say that it's 1% beta. Sure
Xavier Bourguignon wrote:
Hi All,
Does anybody know what is required to use OpenAcs DB API for
accessing Postgres DB within aolserver?
OpenACS is a complete integrated platform for creating web communities;
I suspect that the DB api builds on the ACS core api and as such it is
not a
The authUser field of a conn is logged by nslog and can be read with
ns_conn authuser but is only set in the driver from basic
authentication. Does anyone (other than me) think there would be value
in allowing the conn username to be updated, i.e., by a new 'ns_conn
setauthuser' subommand?
Matthew M. Burke wrote:
I am convinced we could attract some students, but I don't want to
commit unless there's at least a little more positive response. Another
possibility is that I know Clif Flynt, Jeff Hobbs and other Tcl folks
are putting together an application. So perhaps the better
Hi all,
I'm using the nssqlite3 driver for my latest experiment and found a
serious limitation in it: you cannot execute a select statement that
returns no rows. (at least not with select or 0or1row; you could
probably hack it with exec but that would be annoying and is supposed to
be
Stephen Deasey wrote:
sqlite3_stmt *st;
sqlite3_prepare_v2(handle, sql, length, st, tail)
if (sqlite3_column_count(st) == 0) {
/* DML */
}
Ah, that's much cleaner! I guess late at night I overlooked the
sqlite3_column* set of functions. Using sqlite3_column_name
[EMAIL PROTECTED] wrote:
The select proc is only in the pg driver in order to support some ancient
AOLserver 2 functionality that I doubt anyone else uses any more.
Then should it be removed? (in someone's copious free time...)
It shouldn't appear in your sqllite3 driver, IMO.
Could you
Greetings all,
Has anyone implemented an openid consumer for aolserver? (or BBAuth, etc.)
-J
--
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
like to help
with docs, I'd be happy to send you a copy.
-- Dossy
--Original Message-- From: Jeff Rogers Sender: AOLserver
Discussion To: AOLSERVER@LISTSERV.AOL.COM ReplyTo: AOLserver
Discussion Sent: Feb 6, 2008 6:38 PM Subject: [AOLSERVER] openid
Greetings all,
Has anyone implemented
Michael Andrews wrote:
I think the ns_http bug was fixed in the HEAD by Nate.
*ashamed* Yeah, the code I'm looking at is 4.0.8, pretty old. I
probably just need to upgrade and this will work better.
-J
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply
Dossy Shiobara wrote:
What I'm struggling with though is if I store an image file to the
sob with sob.copy and then try and retrieve it later with nsob.get,
it only returns the first 4 or 10 bytes of the file.
SOB isn't encoding-aware and is actually really naive--it doesn't handle
binary data
Tom Jackson wrote:
Now how to get ab stuck and give up? I use a regular browser (mozilla), and I
try to load the same image, I hit reload like 5-7 times or so. The number of
reloads is larger than the number of maxconns per thread. There is only one
thread working.
What may be happening is
Dossy Shiobara wrote:
On 2007.10.13, Tom Jackson [EMAIL PROTECTED] wrote:
This all looks great, except for the fact that the NsRunAtReadyProcs
proc is never called.
In 4.5, that appears to be the case. In 4.0, it's called from
nsd/queue.c.
I'd need to look more closely at the code to see
John Buckman wrote:
Bas Scheffers was kind to share his 404-pattern code with me (ie, a
custom 404 handler to enable static caching of frequently requested
files), which I used to write my own.
It's not rocket science, but since I asked the question, I thought I'd
share my code, in case
Andrew Piskorski wrote:
What's the actual problem with Gustaf's code? You've obviously read
and thought about it, Tom (which I have not), but so far I see a lot
of theoretical hand wavy complaints from you, but little solid
criticism of the actual code.
I also think the code belongs on a
Tom Jackson wrote:
I was looking at lighttpd performance
(at http://trac.lighttpd.net/trac/wiki/Docs%3APerformance )
Considering how well AOLserver stands up to lighttpd, my question was why does
lighttpd do better?
I was wondering if it had something to do with how aolserver does its
Alex Hisen wrote:
We've just finished a complete overhaul of http://
http://aolserver.am.net/ aolserver.am.net/ and our entire company web
site. A much better look, better navigation and better organization of
content. We've also taken the opportunity to release some new C and Tcl
modules:
*
Ian Harding wrote:
Is there any sane way to get combined logs from more than one instance
of AOLserver? I would like to have the entries interleaved with an
identifier of which instance they came from.
From what I have read it seems impossible.
These instances are on different physical
Jeff Rogers wrote:
One way to address this issue with apache is mod_log_spread which sends
log messages over the spread group communications toolkit[1]. It
wouldn't be difficult to set up something similar for aolserver. I
don't know offhand if the tcl spread library is threadsafe (I
Janine Sisk wrote:
I did find that it does not seem to be possible to open a pipe for both
reading and writing. I tried it and was able to write data to the pipe
(simulating stdin) but my read from the same channel just hung. Reading
from the channel does work if it is opened only for
Dossy Shiobara wrote:
I can't, for example, grab the return value of the command directly
from the exec; if I do, it's mangled.
I don't think you can tell [exec] what encoding the I/O will be.
Perhaps you could/should see if there's a TIP for [exec -encoding $name
$command] already ...
Janine Sisk wrote:
I'm working with a site that stores it's content in big5, and is run
through a conversion program to create a gb2312 version for those who
prefer the simplified characters. I know these are the charsets being
used; I've seen the config files for the converter.
Dossy Shiobara wrote:
On 2007.09.05, Jeff Rogers [EMAIL PROTECTED] wrote:
[...] if your inferior process waits for EOF before writing anything
then it will get stuck because there is no way to half-close the pipe.
If the inferior process writes as soon as it has data available
This is more of a tcl question than aolserver but its coming up in my
server so I'll start here. Is there a way to make exec not do
translations on the returned data? Here's my exact situation. I have a
proc to handle php files by spawning the standalone php program
(this it low-volume so
Dossy Shiobara wrote:
On 2007.08.09, Jim Davidson [EMAIL PROTECTED] wrote:
After reading through all the responses to my aolserver focus post,
it seems to me Thorpe's comments below are the most realistic and
actionable, i.e., it's the documentation / getting started stuff
that's insufficient.
Daniël Mantione wrote:
Ok, practical example:
We have a server, two users want to run OpenACS, and 20 users simply
wants to code PHP/MySQL. Proposal to the system administrator: Put pound
on Port 80 and have requests for the two OpenACS users redirected to their
own AOLserver process.
Now,
Dossy Shiobara wrote:
http://panoptic.com/wiki/aolserver/AOLserver_Cookbook#Server-side_Includes
I'm only half-joking here--that code I threw up on the wiki was written
and tested very, very briefly as a proof-of-concept and only handles the
include SSI tag ... it uses a registered ADP tag for
Daniël Mantione wrote:
Again, a practical situation: How many PHP packages support such headers?
(Even OpenACS doesn't support them, so you would have to fix OpenACS too.)
Can you (socially) convince those users to rewrite the PHP apps for you to
use your OpenACS?
As a practical solution, if
Daniël Mantione wrote:
I think a few reasons contribute to the low popularity of AOLserver
* It interoperates badly with Apache. Both need port 80. While solutions
exits, none is ideal, and none come with Batteries included.
Many people (most) cannot rely 100% on AOLserver, despite
Daniël Mantione wrote:
I think this may be more of a marketing issue than a technical one. What does
apache do that aolserver doesn't?
If have had very few situations that could rely 100% on AOLserver. Be it
PHP scripts (yes, I know you can install PHP in AOLserver), multi-user
requirements
Tom Jackson wrote:
None of the issues listed really have a solution. The truth is that if you are
doing mass hosting, you should use Apache, the memory footprint is just too
great at some point with AOLserver because you have to load each server at
startup. At the very least all code for all
Over in naviserver Vlad (I think) did a bunch of work on vmalloc which
tries to actually release the memory back to the system (rather than
just the shared pool) on thread exit to keep the process size smaller
still. I don't recall what the ultimate outcome of it was however.
-J
Nathan
Daniël Mantione wrote:
I'm not to happy to call it a marketing issue, because this suggests that
if you would have a big enough advertising campain, you can make AOLserver
win from Apache. This is not the case.
Software lock-in is very difficult to undo (ever try to get someone to
change
Nathan Folkman wrote:
Those parameters moved and are now controlled via the ns_pools Tcl
command:
This issue keeps coming up. How hard would it be to add in (for the
next point release) compatibility code in init.tcl to parse the
old-style parameters?
-J
--
AOLserver -
Andrew Piskorski wrote:
To reduce your RAM usage, you would definitely want to investigate
ttrace, included in the Tcl Threads Extension. However, you don't
seem to be running out memory, so this is unlikely to be that big a
help in your case.
I have had very little success in getting ttrace
Ian Harding wrote:
That makes sense, a lot of the headers can't be generated until the
body because they are not known, things like Content-Length. I was
just hoping to be able to get a nice standard, if incomplete, set of
headers that I could send back before streaming. It looks like I
can't.
Bas Scheffers wrote:
Hi Ian,
Good to hear someone is using it!
I guess I didn't document it very well. You need to pass it a valid HTTP
time string. The easy way to get it to never expire is to pass the value
of:
[ns_httptime 20]
That tells it to expire Wed, 18 May 2033 03:33:20
1 - 100 of 123 matches
Mail list logo