Re: [AOLSERVER] Charset differences between 3.3+ad13 and 4.0.10?

2011-01-25 Thread Tom Jackson
Hi Janine, My name is Maria and I am Tom wife, he need your your help, Can you help him? call me at 425-241-8218 (cell) or 425-614-3105 (home) Please call. My email is maria.aghda...@gmail.com. I need your your help to updated some website, please call, thanks maria On Thu, Dec 2, 2010 at

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-19 Thread Tom Jackson
/fastpath if Brett has a list of the changes. tom jackson Brett: you could email me the changed source files instead of providing a patch to some git or cvs version. On Sun, Dec 19, 2010 at 2:39 AM, Mark Aufflick mark-aolser...@aufflick.com wrote: Hi Tom, Notwithstanding your legitimate issue

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-06 Thread Tom Jackson
documentation of ns_zlib module and some of this docs and examples can be helpful for AOL, why not? If you use Tcl, use the Tcl documentation. If you use AOLserver, use the AOLserver documentation. I'm not sure why you keep confusing these two things. tom jackson (AKA the jerk) -- AOLserver - http

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-01 Thread Tom Jackson
done a cvsimport on all the modules. I'll put them up on github later today. tom jackson On Wed, Dec 1, 2010 at 5:06 AM, Alexey Pechnikov pechni...@mobigroup.ru wrote: Can you help me to resolv the problem? ns_returnz: compress2 failed, status=-5 -- Best regards, Alexey Pechnikov. http

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-01 Thread Tom Jackson
BTW, I think the functionality in the external module nsreturnz is now part of nszlib, which should be in your git repo, otherwise here's a link: http://junom.com/gitweb/gitweb.perl?p=aolserver.git;a=tree;f=nszlib;h=0ac26233;hb=origin tom jackson On Wed, Dec 1, 2010 at 7:45 AM, Tom Jackson t

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-01 Thread Tom Jackson
the module to get transparent compression. You have to set minimum file content size, etc. and adp needs independent configuration if you use adps. In other words, you don't have to edit your site code to get compression with ns_zlib. tom jackson On Wed, Dec 1, 2010 at 9:11 AM, Alexey Pechnikov pechni

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-01 Thread Tom Jackson
I must be missing something. What does the below code have to do with AOLserver or ns_zlib? Personally I also wouldn't assume that AOLserver works perfectly with Tcl8.6. Unless you absolutely need 8.5, I would stick with the latest 8.4 version. For one thing 8.4 is faster than either. tom

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-01 Thread Tom Jackson
doubt that ns_zlib would have wound up in the core unless it worked, the author is well known and I've never heard of anyone suggesting any of the repo modules don't work. I'll try to look into how ns_zlib is supposed to work. Maybe this is a total lack of documentation problem. tom jackson

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-01 Thread Tom Jackson
2010/12/1 Jeff Hobbs je...@activestate.com: On 01/12/2010 12:31 PM, Tom Jackson wrote: Personally I also wouldn't assume that AOLserver works perfectly with Tcl8.6. Unless you absolutely need 8.5, I would stick with the latest 8.4 version. For one thing 8.4 is faster than either. That's

[AOLSERVER] Possible bug in ns_internalredirect, plus behavior difference from ns_rewriteurl

2010-11-30 Thread Tom Jackson
. This is because when the mini-request returns, there is no more code to run, the registered proc has already been chosen so the state machine moves on to trace filters. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists

Re: [AOLSERVER] ns_httptime -1 crashes AOLserver on Windows

2010-11-23 Thread Tom Jackson
-Length 410 Ns_ConnCondSetHeaders(conn, Date, Ns_HttpTime(ds, NULL)); So if your server is only crashing in ns_httptime, that should narrow down the source of the bug. tom jackson On Tue, Nov 23, 2010 at 2:21 AM, Fenton, Brian brian.fen...@quest.ie wrote: Nice workaround Tom

Re: [AOLSERVER] ns_httptime -1 crashes AOLserver on Windows

2010-11-22 Thread Tom Jackson
Quick workaround for your problem: proc ::ns_time { } { return [clock seconds] } proc ::ns_httptime { seconds } { return [clock format $seconds -format %a, %d %b %Y %H:%M:%S %Z -gmt 1] } Just redefine ns_httptime. tom jackson (However, does the C code crash, or just the tcl API

Re: [AOLSERVER] AOLserver 4.5.1 crashing with max connections per thread messages

2010-11-19 Thread Tom Jackson
register [ns_info server]-${poolName} [ns_info server] $poolMethod $poolPattern tom jackson (you can post or send me directly the config info during startup if you have problems) 2010/11/19 Björn Þór Jónsson ban...@bthj.is: Are there any good examples of proper connection threadpool

Re: [AOLSERVER] AOLserver 4.5.1 crashing with max connections per thread messages

2010-11-18 Thread Tom Jackson
added additional logging code so I was able to track what thread was servicing requests and the configuration of the thread during each request (how many conns had been serviced, etc.). tom jackson 2010/11/18 Björn Þór Jónsson ban...@bthj.is: Hi, After recently upgrading from AOLserver 4.5.0

Re: [AOLSERVER] AOLserver 4.5.1 crashing with max connections per thread messages

2010-11-18 Thread Tom Jackson
BTW, I don't think the issue you are seeing has anything to do with the database pools, the problem is the connection threadpools (you are using the default threadpool). tom jackson On Thu, Nov 18, 2010 at 8:42 AM, Alexey Pechnikov pechni...@mobigroup.ru wrote: On my debian lenny/squeeze 32

Re: [AOLSERVER] Git on SourceForge

2010-11-17 Thread Tom Jackson
a script to pull all the projects out of sf's cvs, creating a transcript and moving the repos. I could add to the script so that a README is generated as well as some kind of description and maybe push this to github. I'll test it out at my rmadilo account on github. Comments? tom jackson

[AOLSERVER] Git on SourceForge

2010-11-16 Thread Tom Jackson
relevant urls very soon. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] Git on SourceForge

2010-11-16 Thread Tom Jackson
On Tue, Nov 16, 2010 at 6:18 PM, Jeff Davis da...@xarg.net wrote: On 16 Nov 2010, at 18:15, Tom Jackson wrote: http://aolserver.git.sourceforge.net/git/gitweb-index.cgi I am not sure why you think using gitweb is good - I find it pretty unpleasant. I pointed this out months ago. gitweb

Re: [AOLSERVER] Git on SourceForge

2010-11-16 Thread Tom Jackson
changes to sf as needed? Or does the github model require total submission? tom jackson On Tue, Nov 16, 2010 at 5:37 PM, Jade Rubick jrub...@truist.com wrote: I personally strongly favor github. -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email

Re: [AOLSERVER] Has anyone built nsd3.3+ad13 on 64-bit Linux?

2010-11-06 Thread Tom Jackson
Janine, My guess is that the code was run inside a namespace instead of at the global level. This makes the proc name relative to that namespace. The other possibility is that the proc was sourced inside a namespace and became part of that namespace. tom jackson On Sat, Nov 6, 2010 at 9:24 AM

Re: [AOLSERVER] Unable to bind to port 80

2010-11-05 Thread Tom Jackson
Possible that the daemontools setup is not correct? I think I was the first person to use daemontools with AOLserver, maybe check out: http://rmadilo.com/files/aolserver-daemontools/ tom jackson On Fri, Nov 5, 2010 at 9:33 AM, Janine Ohmer jan...@furfly.net wrote: I'm installing a group

Re: [AOLSERVER] WebSockets in AOLserver: get the full request body

2010-11-01 Thread Tom Jackson
, which doesn't match up with how HTTP headers are parsed. Not sure why the draft RFC authors think this is compatible with HTTP. The current draft RFC is here: http://datatracker.ietf.org/doc/draft-abarth-websocket-handshake/ which looks pretty much like a work in progress. tom jackson

Re: [AOLSERVER] WebSockets in AOLserver: get the full request body

2010-11-01 Thread Tom Jackson
package): http://junom.com/gitweb/gitweb.perl?p=aolserver.git;a=tree;f=aolserver/nsbgwrite;hb=HEAD I'll look at the patch. It seems useful even for more than the current issue. Also, it might be possible to use the new registered filter point: prequeue to completely avoid using a conn thread. tom

[AOLSERVER] Git now available on SourceForge.net

2010-09-17 Thread Tom Jackson
that sourceforge's git wiki uses trak, and it is available as a hosted app. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject

Re: [AOLSERVER] AOLServer Terminal Escape Sequence in Logs Command Injection Vulnerability

2010-09-13 Thread Tom Jackson
percent- encodings. Anyway, it is critical to examine and normalize the request uri asap and act quickly when presented with invalid chars. tom jackson On Sat, Sep 11, 2010 at 4:00 PM, Tom Jackson t...@rmadilo.com wrote: This is not an AOLserver issue to write a log file that is safe for broken

Re: [AOLSERVER] AOLServer Terminal Escape Sequence in Logs Command Injection Vulnerability

2010-09-13 Thread Tom Jackson
. Headers are much more dangerous than the request-line, but the problem is with the reader, not the http application. The request line cannot contain malicious characters, I'll have to review the headers definition (either don't log headers or read them with a safe reader). tom jackson On 9/13/10 4

Re: [AOLSERVER] AOLServer Terminal Escape Sequence in Logs Command Injection Vulnerability

2010-09-11 Thread Tom Jackson
the request should be rejected. Although it might be nice to inform the client, it might be okay and more safe to just drop the request with no response. tom jackson On Fri, Sep 10, 2010 at 9:34 AM, Dossy Shiobara do...@panoptic.com wrote:  Fair enough.  ;-) On 9/10/10 2:07 AM, Gustaf Neumann wrote

Re: [AOLSERVER] About WebSockets support

2010-04-13 Thread Tom Jackson
I would look at the nsbgwrite: http://junom.com/gitweb/gitweb.perl?p=aolserver.git;a=tree;f=aolserver/nsbgwrite This is also in the AOLserver head. Basically, pass off a socket to a dedicated thread and use the tcl non-blocking i/o to multiplex communication. If you want to actually interact

Re: [AOLSERVER] AOLserver on GitHub

2010-04-12 Thread Tom Jackson
?  An alternate change they'd like to propose and vote on? I signed up for an account under rmadilo, but I have no idea how to join/collaborate on the aolserver project. How does github work with more than one person? tom jackson Also, here is how I CVSimport AOLserver into git: #!/bin/bash

Re: [AOLSERVER] AOLserver on GitHub

2010-04-11 Thread Tom Jackson
directory is missing, including aolserver.com and modules. Compare to this: http://junom.com/gitweb/gitweb.perl?p=aolserver.git;a=tree tom jackson On Sat, Apr 10, 2010 at 4:28 PM, Dossy Shiobara do...@panoptic.com wrote: OK, lets consider that a +1 vote.  I'll throw in my own +1 vote.  Lets

Re: [AOLSERVER] AOLserver on GitHub

2010-04-10 Thread Tom Jackson
Over at http://junom.com/gitweb/gitweb.perl?p=aolserver.git I've sucked out all commits ever to CVS. Main use of this is the grep and pickax searches. Are these available on github? Oh, and the instant snapshot downloads (zip or tgz format). tom jackson BTW, what script do you use to keep

Re: [AOLSERVER] how to parse Content-Type text/xml form post

2010-04-07 Thread Tom Jackson
a temporary file for the xml document. The filename and a tcl copy of the headers and request is passed to a potentially AOLserver ignorant package. tom jackson On Wed, Apr 7, 2010 at 7:09 AM, Brad Chick b...@doitsports.com wrote: Thanks. That was simple enough. Just a ns_conn content and then tdom

Re: [AOLSERVER] installation problems with 4.5.1 on centos 5.4 64-bit

2010-02-11 Thread Tom Jackson
I recommend that you compile your own tcl and put it in /usr/local/aolserver (as prefix) instead of using the local version (which might not have threads). tom jackson On Mon, Feb 1, 2010 at 9:21 AM, Brad Chick b...@doitsports.com wrote: i keep getting: ranlib: '/usr/local/aolserver/lib

Re: [AOLSERVER] upload progress

2010-01-23 Thread Tom Jackson
retransmit it in chunks. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] upload progress

2010-01-22 Thread Tom Jackson
, but would vary more than a simple tcl client, which would work unchanged at the script level. tom jackson On Mon, Jan 18, 2010 at 12:51 PM, Jim Davidson jgdavid...@mac.com wrote: Hi, I think we were talking about this about a month ago.  I updated the source to enable upload-progress checking

Re: [AOLSERVER] Is this vulnerable to sql injection?

2009-12-07 Thread Tom Jackson
. The real question is can Tcl code reflect the full semantics of a particular interface. Handling NULLs is easier than handling the so-called object-relational interface. Whatever, tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email

Re: [AOLSERVER] Is this vulnerable to sql injection?

2009-12-06 Thread Tom Jackson
On Sat, Dec 5, 2009 at 6:01 PM, Don Baccus dhog...@pacifier.com wrote: On Dec 5, 2009, at 5:13 PM, Tom Jackson wrote: Tcl can write a query string which uses the keyword NULL. Unfortunately the simple (but very nice and also safe) bind variable concept doesn't handle this common requirement

Re: [AOLSERVER] Is this vulnerable to sql injection?

2009-12-05 Thread Tom Jackson
On Sat, Dec 5, 2009 at 8:37 AM, Don Baccus dhog...@pacifier.com wrote: On Dec 4, 2009, at 12:03 PM, Tom Jackson wrote: The problem remains for other databases using the ns_db APIs. The quoting examples are general, but don't always work. The person's using PG so a PG-specific solution solves

Re: [AOLSERVER] upload progress

2009-12-01 Thread Tom Jackson
on a particular url. Maybe you could do a quick return and abort the connection, never using a conn thread. (Note this is a separate http request from the upload request.) It should be very fast if you never fire up an interp. tom jackson On Tue, Dec 1, 2009 at 1:45 PM, Jeff Rogers dv...@diphi.com wrote

Re: [AOLSERVER] upload progress

2009-12-01 Thread Tom Jackson
register a default threadpool for each server so that the process wide default threadpool is never used. I'm not sure if there is any security problem, but a shared threadpool makes each thread more expensive, and I doubt it saves resources. tom jackson -- AOLserver - http://www.aolserver.com

Re: [AOLSERVER] large file uploads

2009-11-28 Thread Tom Jackson
isn't really documented anywhere. tom jackson On Tue, Nov 24, 2009 at 2:44 PM, John Buckman j...@bookmooch.com wrote: Tom, I figured out the problem with the memory bloat when I used your alternative ns_getform to parse a large file upload temp file. The problem is that if I call ns_queryget

Re: [AOLSERVER] upload progress

2009-11-25 Thread Tom Jackson
. I'm not sure exactly when the pre-queue filters are activated, but if it is before reading the message body, it might be useful. tom jackson On Tue, Nov 24, 2009 at 2:13 PM, John Buckman j...@bookmooch.com wrote: Naviserver has a very nice feature that allows (via javascript) to show a user

Re: [AOLSERVER] upload progress

2009-11-25 Thread Tom Jackson
. Each individual POST upload request should contain a progress unique identifier. I wonder if the progress is from you to ngix, or from ngix to the final server. On Wed, Nov 25, 2009 at 4:07 AM, Gustaf Neumann neum...@wu.ac.at wrote: Tom Jackson schrieb: John, I'm just going to venture

Re: [AOLSERVER] upload progress

2009-11-25 Thread Tom Jackson
to handle one or several uploads. tom jackson On Wed, Nov 25, 2009 at 9:13 AM, Tom Jackson t...@rmadilo.com wrote: Gustaf, I've seen these working, although I'm never sure where exactly the magic happens.  It looks like the ngix idea is to work as a proxy: It works because Nginx acts

Re: [AOLSERVER] large file uploads

2009-11-24 Thread Tom Jackson
continue to increase memory usage, or does it stop growing? If it keeps growing, that could indicate some mem leak bug. tom jackson On Mon, Nov 23, 2009 at 6:18 PM, John Buckman j...@bookmooch.com wrote: Tom, thanks for the help! Setting maxinput as per: ns_section ns/server/$server1/module/nssock

Re: [AOLSERVER] large file uploads

2009-11-21 Thread Tom Jackson
On Fri, Nov 20, 2009 at 12:21 PM, John Buckman j...@bookmooch.com wrote: On Nov 19, 2009, at 8:56 AM, Tom Jackson wrote: There is a configuration setting which saves posted files to disk. You need the ns_limits maxupload to be large enough, then maxinput (not sure which config section) sets

Re: [AOLSERVER] large file uploads

2009-11-19 Thread Tom Jackson
|= NS_CONN_FILECONTENT; 1905 connPtr-tfd = Ns_GetTemp(); 1906 if (connPtr-tfd 0) { 1907 return E_FDAGAIN; 1908 } tom jackson On Tue, Nov 17, 2009 at 9:06 PM, John Buckman j...@bookmooch.com wrote: I'm developing a music submission system for Magnatune.com using

Re: [AOLSERVER] is it necessary

2009-11-13 Thread Tom Jackson
this working. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] is it necessary

2009-11-01 Thread Tom Jackson
flexibility. Eventually you have to learn how to do custom installs. I like the idea of a forward (caching) proxy, it fits in well with the filter type architecture in AOLserver. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists

Re: [AOLSERVER] AOLserver templating options

2009-10-26 Thread Tom Jackson
a recompile). 3) Are there any others? Good question. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email

Re: [AOLSERVER] is it necessary

2009-10-16 Thread Tom Jackson
You have to install AOLserver if you want to run OpenACS, but AOLserver is independent of OpenACS. But you might join the OpenACS community, and/or use their resources (openacs.org), they discuss a wider range of things than we do here. tom jackson On Thu, Oct 15, 2009 at 10:04 AM, nitin

Re: [AOLSERVER] Bug in gzip compression module

2009-10-12 Thread Tom Jackson
recognize. Help us out. thanks, tom jackson On Mon, Oct 12, 2009 at 11:32 AM, Daniel Stasinski m...@avenues.org wrote: Ugh, I've fixed this bug in AOLserver twice so far.  Perhaps someone undid it again. Daniel | --- | Daniel P

Re: [AOLSERVER] 3 aolserver questions reagrding calender/drop down list/security

2009-09-29 Thread Tom Jackson
On Tue, Sep 29, 2009 at 2:50 AM, Alexey Pechnikov pechni...@mobigroup.ru wrote: Hello! On Tuesday 29 September 2009 08:11:36 Tom Jackson wrote: How does '999'::int solve the problem? The example return the equal result in different PostgreSQL versions (may be result can

Re: [AOLSERVER] 3 aolserver questions reagrding calender/drop down list/security

2009-09-28 Thread Tom Jackson
On Sat, Sep 26, 2009 at 2:23 AM, Alexey Pechnikov pechni...@mobigroup.ru wrote: Hello! On Friday 25 September 2009 22:29:55 Tom Jackson wrote: Personally I would use [string is double -strict] and quote anything Tcl and PostgreSQL types are not equal. tclsh8.5 [/tmp]string is double

Re: [AOLSERVER] ns_odbc on Win32

2009-09-10 Thread Tom Jackson
complete ODBC/SQL CLI adapter would be a good long term goal for this community, the only real issue is that the current ns_db API works so well, or is easy enough to adapt to, it is not easy to justify the pain for the marginal gain. tom jackson On Thu, Sep 10, 2009 at 3:38 AM, Scott Goodwinsc

Re: [AOLSERVER] Aolserver as multithreaded TCL soc ket server ?

2009-08-30 Thread Tom Jackson
=3Dpackages/tclbean/tcl;h=3D8f0100 tom jackson On Tue, Aug 18, 2009 at 5:56 AM, Nikolay Shulganikolay.shu...@runway.lv w= rote: Hello, Is it possible to use Aolserver as multithreaded TCL socket server ? If I connect to Aolserver using telnet , the server waits one of HTTP comands from me

[AOLSERVER] Offensive spam

2009-08-06 Thread Tom Jackson
confirming valid email accounts? tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] SSL data truncation

2009-07-15 Thread Tom Jackson
truncation, but then the truncation stops if the received data goes above 81000. It might be a good idea to narrow down when the bug appears (what byte value) and when it goes away again. This might suggest something. tom jackson On Wed, Jul 15, 2009 at 3:35 PM, John Carusojcar

Re: [AOLSERVER] ns_adp_parse issue

2009-07-07 Thread Tom Jackson
which reproduces the behavior. My opinion is that it is just a programming bug and has nothing to do with ns_adp_abort, but you are not going to find the bug by using ns_httpget, and you may not find it using a regular browser or command line client like wget of curl. tom jackson On Mon, 2009-07

Re: [AOLSERVER] ns_adp_parse issue

2009-07-07 Thread Tom Jackson
a directly accessed adp as input to ns_adp_parse. This doesn't work in general, although you might find some cases where it does work. tom jackson On Tue, 2009-07-07 at 13:08 -0700, Jeff Rogers wrote: Jeff Rogers wrote: proc decode_url { why } { set page [ns_adp_parse -file /www/website

Re: [AOLSERVER] ns_adp_parse issue

2009-07-06 Thread Tom Jackson
. This is essentially impossible. Each thread executes pretty much independently of all others. The problem probably has to do with the adp configuration...error without signaling an error, which is a configuration which is necessary to keep complex sites up if one component is not working. tom jackson

Re: [AOLSERVER] ns_adp_parse issue

2009-07-05 Thread Tom Jackson
is necessary to keep complex sites up if one component is not working. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field

Re: [AOLSERVER] ns_db exec retrieve stdout (postgresql copy to)

2009-06-09 Thread Tom Jackson
, using a database API will be much less prone to errors. If this isn't important, you might reconsider using a database in the first place. tom jackson On Tue, Jun 9, 2009 at 8:49 AM, Matt Haggard haggar...@gmail.com wrote: PostgreSQL has a COPY TO command ( http://www.postgresql.org/docs/8.1

Re: [AOLSERVER] ns_adp_parse issue

2009-06-05 Thread Tom Jackson
. That said, my guess something is going wrong with the ns_httpget operation, maybe it gets oveloaded, times out or something else. tom jackson On Fri, 2009-06-05 at 20:56 +, Francesco Petrarch wrote: Thanks for the suggestions, however they have not provided any positive results. ns_adp_ctl

Re: [AOLSERVER] AOLServer documentation

2009-06-03 Thread Tom Jackson
the almost the entire AOLserver source code at: http://junom.com/gitweb/gitweb.perl?p=aolserver.git (using pickaxe) Also the changelogs might help in the last one. tom jackson On Wed, 2009-06-03 at 11:16 +0200, Gahan, Mike wrote: Hi all, Where is the AOLserver online doc these days? I was using

Re: [AOLSERVER] Is ns_info threads safe to use?

2009-06-02 Thread Tom Jackson
. tom jackson On Tue, 2009-06-02 at 12:12 +0200, Gustaf Neumann wrote: It certainly depends on what your application needs. There is no principal problem obtaining the thread id (eg. ns_thread id, ::thread::id). One could either use the sketched approach and simply record whatever

Re: [AOLSERVER] ns_adp_parse issue

2009-05-29 Thread Tom Jackson
Maybe there is an error which is silently caught in ns_adp_parse. Try this before sourcing your adp: ns_adp_ctl stricterror 1 tom jackson On Fri, 2009-05-29 at 14:48 +, Francesco Petrarch wrote: I appear to be having a problem with ns_adp_parse and ns_adp_eval. I currently run

Re: [AOLSERVER] Question on two AOLserver tickets

2009-05-15 Thread Tom Jackson
options. Gustaf's idea is easier to pull off at least initially, but it shouldn't be tied to an unrelated option like debugging. I leave on debugging for low traffic servers and I can also turn it on/off on a per-namespace basis. tom jackson On Thu, 2009-05-14 at 15:48 -0700, Sep Ng wrote

Re: [AOLSERVER] Question on two AOLserver tickets

2009-05-14 Thread Tom Jackson
Maybe calling the API should result in a ns_log Warning to indicate a potential crash. tom jackson On Thu, 2009-05-14 at 13:26 -0700, Jade Rubick wrote: I'm just happy we figured it out. We were using this call: set connections [ns_server active] But it wasn't in a scheduled

Re: [AOLSERVER] Question on two AOLserver tickets

2009-05-14 Thread Tom Jackson
never used, so I'm far from informed on what it is used for. Sent from my iPhone Sent via a local network shared with an iTouch. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body

Re: [AOLSERVER] Diagnosing an AOLserver performance problem

2009-05-13 Thread Tom Jackson
thread pool, something like warmed up, non-connection threads. There isn't any need to modify any code, just configure them. Use nscp and telnet in and check out the ns_pools command. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email

Re: [AOLSERVER] Fwd: [AOLSERVER] ns_httptime format error in AOL 4.5.1

2009-05-12 Thread Tom Jackson
other formats rely on %d, you might also look at the results of formatting %x, %D and %F. But you would have to edit httptime.c with a new format string: strftime(buf, 40, %x, tmPtr); tom jackson On Tue, 2009-05-12 at 18:33 +0400, Alexey Pechnikov wrote: Hello! On Tuesday 12 May 2009 17:29

Re: [AOLSERVER] Fwd: [AOLSERVER] ns_httptime format error in AOL 4.5.1 [solved]

2009-05-12 Thread Tom Jackson
Great! I was actually thinking that it would be much easier in this particular case to avoid strftime, since all of the variability in the format is removed. It is huge overkill, and obviously broken in non-english languages. tom jackson On Tue, 2009-05-12 at 20:36 +0400, Alexey Pechnikov wrote

Re: [AOLSERVER] Diagnosing an AOLserver performance problem

2009-05-12 Thread Tom Jackson
(I'm trying to catch up). tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] Fwd: [AOLSERVER] ns_httptime format error in AOL 4.5.1 [solved]

2009-05-12 Thread Tom Jackson
in the patch. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] Fwd: [AOLSERVER] ns_httptime format error in AOL 4.5.1

2009-05-11 Thread Tom Jackson
, and somehow provide feedback on how much buffer was consumed. tom jackson On Mon, 2009-05-11 at 09:02 +0200, Gustaf Neumann wrote: Dear Alexey, From the output, i start to believe that the setting of LANG/LOCALE is not the problem, but i am getting the suspicion that there is a bug in the c-library

Re: [AOLSERVER] Fwd: [AOLSERVER] ns_httptime format error in AOL 4.5.1

2009-05-10 Thread Tom Jackson
On Sun, 2009-05-10 at 22:03 +0400, Alexey Pechnikov wrote: Hello! On Sunday 10 May 2009 21:15:03 Tom Jackson wrote: Alexey: you can use the nstclsh shell to test if changing the locale makes any difference (in same location as your nsd file): ./bin/nstclsh % set ::env(LANG

Re: [AOLSERVER] ns_httptime format error in AOL 4.5.1

2009-05-09 Thread Tom Jackson
this as a temporary replacement: proc ::ns_httptime { seconds } { return [clock format $seconds -format %a, %d %b %Y %H:%M:%S %Z -gmt 1] } tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF

Re: [AOLSERVER] ns_httptime format error in AOL 4.5.1

2009-05-09 Thread Tom Jackson
On Sat, 2009-05-09 at 13:36 -0700, Jeff Hobbs wrote: On 09/05/2009 1:32 PM, Tom Jackson wrote: Anyone know if the Tcl clock functions are thread-safe? Yes, they are. 8.4 had a few issues earlier on, but 8.5 has a completely rewritten 'clock' that certainly does away with those issues

Re: [AOLSERVER] ns_httptime format error in AOL 4.5.1

2009-05-09 Thread Tom Jackson
. It is hard to explain the importance of creating a layered API, until you are faced with the need to change an implementation without changing the client API. AOLserver is a very good example of planning for future change. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from

Re: [AOLSERVER] auto-redirects url problem

2009-05-06 Thread Tom Jackson
directory: http://www.rmadilo.com/files/vat/ tom jackson On Mon, 2009-05-04 at 01:28 +0400, Alexey Pechnikov wrote: Hello! On Sunday 03 May 2009 21:36:52 Tom Jackson wrote: If your solution below is working, it seems pretty simple to me, a tiny wrapper around ns_returnredirect. Well

Re: [AOLSERVER] auto-redirects url problem

2009-05-04 Thread Tom Jackson
session. tom jackson On Mon, 2009-05-04 at 12:43 +0400, Alexey Pechnikov wrote: Hello! I did write the wrapper for AOL 4.5: ns_ictl oncreate { if {[info commands _ns_returnredirect] eq {}} { rename ns_returnredirect _ns_returnredirect proc ns_returnredirect {url

Re: [AOLSERVER] Tuning Question

2009-05-03 Thread Tom Jackson
for a free conn thread. If not, it means that something is blocking the driver thread, or maybe something else is going on. tom jackson On Sun, 2009-05-03 at 13:47 -0300, Eduardo Santos wrote: Just another guess: do you have anything between AOLServer and the connections, such as Apache proxy

Re: [AOLSERVER] nsopenssl client file descriptor issues

2009-05-01 Thread Tom Jackson
Andrew, Do you have any up-to-date instructions on compiling nsopenssl? For some reason I'm getting a segfault the instant I try to use the client ns_httpspost. I'm think it is related to the linux distribution, but the crash isn't the random problem you are seeing. Thanks, tom jackson

Re: [AOLSERVER] missing access log entries

2009-04-16 Thread Tom Jackson
On Mon, 2009-04-13 at 13:49 -0400, Jim Davidson wrote: Hi, A bit old but let me try to be helpful here... On Apr 3, 2009, at 11:45 PM, Tom Jackson wrote: Jim, Thanks for adding some back story. Over the weekend I spent more time looking into this problem and basically rewrote one

Re: [AOLSERVER] missing access log entries

2009-04-16 Thread Tom Jackson
+0400, Alexey Pechnikov wrote: http://www.junom.com/gitweb/gitweb.perl?p=aolserver.git;a=commit;h=7ab44 http://www.junom.com/gitweb/gitweb.perl?p=aolserver.git;a=commit;h=20f65 tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists

Re: [AOLSERVER] missing access log entries

2009-04-15 Thread Tom Jackson
and Ns_ConnReturnUnauthorized could also return NS_ERROR. Any ideas are welcome. (I think just removing Ns_ConnReturnInternalError from Ns_ConnRedirect will break the loop.) tom jackson Here's the two chunks of code: static int ConnAuthorize(Conn *connPtr) { Ns_Conn *conn = (Ns_Conn *) connPtr

Re: [AOLSERVER] missing access log entries

2009-04-15 Thread Tom Jackson
out the method). Adding a method in the redirect mapping would be interesting, allowing different handlers for different methods. The other thing I'm looking at is trying to short circuit the redirect code so that it doesn't redirect to the same url. tom jackson On Wed, 2009-04-15 at 13:55 -0400

[AOLSERVER] Tracked down bug with PROPFIND / OPTIONS methods

2009-04-14 Thread Tom Jackson
/redirects ns_param 404 /fnf-tmpl.tcl ns_param 403 global/forbidden.html ns_param 500 global/server-error.tcl What is missing, it seems to me is the method of the request. The method is used in Ns_AuthorizeRequest and Ns_ConnRunRequest. The quick fix is to not configure a 500 redirect. tom

Re: [AOLSERVER] missing access log entries

2009-04-13 Thread Tom Jackson
On Mon, 2009-04-13 at 13:49 -0400, Jim Davidson wrote: On Apr 3, 2009, at 11:45 PM, Tom Jackson wrote: * Filters seem uniquely superior when the url pattern determines which code should run. Unfortunately filters are many times registered to / *, the global pattern

Re: [AOLSERVER] More on caching content...

2009-04-13 Thread Tom Jackson
feature is helpful. Note: use the top level directory for searches and make sure you are useing grep or pickaxe if you get no results. I doubt there is anything which specifically sets cache-control in aolserver. tom jackson On Mon, 2009-04-13 at 14:47 -0500, David Walker wrote: To aid your

Re: [AOLSERVER] missing access log entries

2009-04-12 Thread Tom Jackson
=aolserver.git;a=commit;h=7ab44 tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank. diff --git

Re: [AOLSERVER] missing access log entries

2009-04-11 Thread Tom Jackson
options are needed here. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] missing access log entries

2009-04-10 Thread Tom Jackson
include a changelog and maybe some documentation changes. tom jackson On Thu, 2009-04-09 at 20:10 -0500, Andrew Steets wrote: Hi Tom, sorry to go dark for so long. It was operator error. I was in a hurry and I don't think I restarted the server after I installed the patched version

Re: [AOLSERVER] Caching questions

2009-04-07 Thread Tom Jackson
a cache to catch dynamic updates. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] missing access log entries

2009-04-05 Thread Tom Jackson
The attached patch fixes ns_adp_break, it differs from the previous patch by one line in adpeval.c tom jackson On Sat, 2009-04-04 at 16:25 -0500, Andrew Steets wrote: Hi Tom, Attachments seem to work ok on this list. -- AOLserver - http://www.aolserver.com/ To Remove yourself from

Re: [AOLSERVER] missing access log entries

2009-04-04 Thread Tom Jackson
is sent and this is what is logged. I haven't tested this with ns_adp_break. But it works with ns_adp_return and ns_adp_abort as well as error handling in and adp. tom jackson Not sure if I can attach the patch, but here goes: -- AOLserver - http://www.aolserver.com/ To Remove yourself from

Re: [AOLSERVER] missing access log entries

2009-04-04 Thread Tom Jackson
in place forever. It seems that this flag should be reset for each request, otherwise errors are not logged. tom jackson On Sat, 2009-04-04 at 16:25 -0500, Andrew Steets wrote: Hi Tom, Attachments seem to work ok on this list. I don't think we can return 500 internal server error after

Re: [AOLSERVER] missing access log entries

2009-04-03 Thread Tom Jackson
that this is a bug. tom jackson p.s. this case seems to validate my belief that the hardest bug to find and fix is one that doesn't actually exist. On Thu, 2009-04-02 at 18:03 -0500, Andrew Steets wrote: What was the original purpose of trace filters? At the C API level there is a distinction between

Re: [AOLSERVER] missing access log entries

2009-04-03 Thread Tom Jackson
Connection: keep-alive Cache-Control: max-age=0 This error message is valid if ns_adp_return is used after and ns_returnxxx. tom jackson On Fri, 2009-04-03 at 08:33 -0700, Tom Jackson wrote: Andrew, I wasted a little more time looking at the actual code. My impression

  1   2   3   4   5   6   7   >