Re: [naviserver-devel] moonshadow

2008-05-09 Thread Vlad Seryakov
There is nothing wrong with it, actually it could be valuable to Lua users. I think it might be same as with PHP module, it gives flexibility to use either scripting language or both for development. But Tcl still is the core language and server will always be linked to Tcl library. And we still

Re: [naviserver-devel] ns as loadable extension

2008-05-08 Thread Vlad Seryakov
Vasiljevic Zoran wrote: > On 07.05.2008, at 22:51, Vlad Seryakov wrote: > >> Adding Tcl to this just makes it much more flexible and powerful but >> making binary server as Tcl package and require it to run within Tcl i >> am not sure i like. > > Well, it is not

Re: [naviserver-devel] ns as loadable extension

2008-05-07 Thread Vlad Seryakov
On other hand, as a server with binary modules i can use it completely without Tcl or Web/ADP stuff. As swiss-army server framework it can be very useful without using Tcl, and i actually use it this way in multiple places. Adding Tcl to this just makes it much more flexible and powerful but m

Re: [naviserver-devel] drop CVS

2008-05-07 Thread Vlad Seryakov
One benefit i can see is not immediate and obvious but having more flexible source control system may attract or make it easy to handle access to more developers, easy to revert unneeded changes, as Stephan pointed, better patch control and changsets. Yes, it will require some learning but not

Re: [naviserver-devel] ns as loadable extension

2008-05-07 Thread Vlad Seryakov
Once you started the server, it is not Tcl package anymore, need nscp to access it. Or i am not following? Vasiljevic Zoran wrote: > Hi! > > I believe we talked about that some time ago already. > Does anybody have any interest in making us being a > yet-another Tcl loadable extension? One that

Re: [naviserver-devel] nsssl crash

2008-05-05 Thread Vlad Seryakov
Fixed, i actually tested it only with the setup from README file, but it should not crash because of different openssl flags. Daniel Stasinski wrote: > Before I begin hunting down a crash involving nsssl from cvs, are > there any known issues? > > The server loads with no errors but crashes on t

Re: [naviserver-devel] nsssl crash

2008-05-05 Thread Vlad Seryakov
Yes, it does not work with latest driver, API, i will make it up-to-date and commit Daniel Stasinski wrote: > Before I begin hunting down a crash involving nsssl from cvs, are > there any known issues? > > The server loads with no errors but crashes on the first ssl page access. > > ns_section

Re: [naviserver-devel] nsssl crash

2008-05-05 Thread Vlad Seryakov
It used to work fine but actually it was some time ago, let me load and check it locally, in the meantime backtrack would be helpful as well. Daniel Stasinski wrote: > Before I begin hunting down a crash involving nsssl from cvs, are > there any known issues? > > The server loads with no errors

[naviserver-devel] tmpnam issues

2008-05-05 Thread Vlad Seryakov
I guess Zoran uses Windows port in production. Have you ever encounter any problems with tmpnam? Do we need to work on thins for naviserver? - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this

Re: [naviserver-devel] nsphp.c error

2008-05-05 Thread Vlad Seryakov
Just commited the fix, tested with MediaWiki, works fine, does not crash on auth pages anymore. Also, upgraded to php-5.2.6 Daniel Stasinski wrote: > When using nsphp with CVS version of naviserver, the following crash occurs: > > /root/modules/nsphp/php-5.2.5/main/SAPI.c(424) : Block 0x0852320

Re: [naviserver-devel] nsphp.c error

2008-05-05 Thread Vlad Seryakov
I am working on it, i think i found the problem, i use ns_strcopy but should use estrdup, PHP does freeing. Will test and commit, i've never tested PHP with basic auth before. Stephen Deasey wrote: > On Mon, May 5, 2008 at 5:02 AM, Daniel Stasinski <[EMAIL PROTECTED]> wrote: >> When using nsphp

Re: [naviserver-devel] drop CVS

2008-05-04 Thread Vlad Seryakov
, at least moving to SVN will make it much easier to control our repository, we can still stick with SF, i am not insisting. Vasiljevic Zoran wrote: > On 03.05.2008, at 21:14, Vlad Seryakov wrote: > >> i do not have big >> enough reason beside my not-liking Sf service. >

Re: [naviserver-devel] drop CVS

2008-05-03 Thread Vlad Seryakov
We've talked about this in the past and nobody could come up with very good reason, so i guess this time it is the same, i do not have big enough reason beside my not-liking Sf service. Vasiljevic Zoran wrote: > On 02.05.2008, at 21:50, Vlad Seryakov wrote: > >> Frankly, i wou

Re: [naviserver-devel] [AOLSERVER] nsdbi database driver interface 0.1

2008-05-02 Thread Vlad Seryakov
popularity is my big concern though. Stephen Deasey wrote: > (sorry for the delay) > > > On Thu, Apr 17, 2008 at 3:49 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> This is very cool, >> >> Can you commit it into primary Naviserver CVS? > > >

Re: [naviserver-devel] [naviserver-commits] naviserver/nsd driver.c, 1.97, 1.98

2008-04-26 Thread Vlad Seryakov
s_SockSetNonBlocking(sockPtr->sock); > > - /* > - * Set the send/recv socket bufsizes if required. > - */ > - > - if (drvPtr->sndbuf > 0) { > - setsockopt(sockPtr->sock, SOL_SOCKET, SO_SNDBUF, > -(char *) &drvPt

Re: [naviserver-devel] ns_job cancellation

2008-04-26 Thread Vlad Seryakov
ttp://java.sun.com/javaone > ___ > naviserver-devel mailing list > naviserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Vlad Seryakov [EMAIL PROTECTED] http://www.crystalballinc.com/vlad/

Re: [naviserver-devel] Win32 version released

2008-03-10 Thread Vlad Seryakov
SF admin page says Wiki is disabled Bernd Eidenschink wrote: >> Pre-complied 4.99.2 version released on SF download page. > > Thanks Vlad! > > I added a link on the Wiki and deleted some spam on various pages. We should > consider turning of self-registration, otherwise this is only a temporary

[naviserver-devel] Win32 version released

2008-03-09 Thread Vlad Seryakov
Pre-complied 4.99.2 version released on SF download page. -- Vlad Seryakov [EMAIL PROTECTED] http://www.crystalballinc.com/vlad/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio

Re: [naviserver-devel] mingw makefile problem

2008-03-08 Thread Vlad Seryakov
sure where to put the archive Vlad Seryakov wrote: > to the makefile gurus out there, i almost pulled all my remaining hair > trying to figure out this: > > i am compailing naviserver under mingw on window, all compiles fin until > i get into any modules. > > here is

[naviserver-devel] mingw makefile problem

2008-03-07 Thread Vlad Seryakov
to the makefile gurus out there, i almost pulled all my remaining hair trying to figure out this: i am compailing naviserver under mingw on window, all compiles fin until i get into any modules. here is the problem # cd nssock # gmake -d GNU Make 3.81 Copyright (C) 2006 Free Software Foundat

Re: [naviserver-devel] compat

2007-12-06 Thread Vlad Seryakov
I guess this is Stephen's call Vasiljevic Zoran wrote: > On Dec 6, 2007, at 5:41 PM, Vlad Seryakov wrote: > >> Having universal >> sprintf function like it was before takes one problem away and adding >> new specifier is not that hard thqn trying to figure out port

Re: [naviserver-devel] compat

2007-12-06 Thread Vlad Seryakov
snprintf and replace %j which is ugly. Having universal sprintf function like it was before takes one problem away and adding new specifier is not that hard thqn trying to figure out portability issues and chasing them for hours. Vasiljevic Zoran wrote: > On Dec 6, 2007, at 5:22 PM, Vlad Serya

Re: [naviserver-devel] compat

2007-12-06 Thread Vlad Seryakov
It is also not supported on Windows as well, i had to hack and replace %j with %lld on the fly. I guess this is modern-Linux only vsnprintf additions. Is it worth switching back to internal DStringPrintf? It was working fine? Vasiljevic Zoran wrote: > Hi > > I'm running on a Solaris 2.8 and %jd

Re: [naviserver-devel] quick help

2007-12-04 Thread Vlad Seryakov
into Tcl, that means running just nsd binary now will not work properly without proper tcl/*.tcl files Vasiljevic Zoran wrote: > On Dec 4, 2007, at 4:18 PM, Vlad Seryakov wrote: > >> By not working what exactly happens? > > Just html gets served. The adp constructs are ignore

Re: [naviserver-devel] quick help

2007-12-04 Thread Vlad Seryakov
By not working what exactly happens? I am using HEAD version with adp, no problem and no special configuration. do you have any errors in the log? Vasiljevic Zoran wrote: > Hi ! > > I just updated our code with CVS HEAD and our ADP pages > are not serving any more. No ADP processing tages plac

Re: [naviserver-devel] Windows port

2007-11-09 Thread Vlad Seryakov
I just compiled Tcl with MS compiler, no Visual C, no mingw. Their makefiles are pretty clear and simple, as soon as nsd compiles i will make makefiles Vasiljevic Zoran wrote: > On Nov 9, 2007, at 4:46 PM, Vlad Seryakov wrote: > >> Also, will it make sense to have windows port si

Re: [naviserver-devel] Windows port

2007-11-09 Thread Vlad Seryakov
Also, will it make sense to have windows port similar to Tcl, just makefile for nmake without any Visual Studio stuff. I would work on that as well Vasiljevic Zoran wrote: > On Nov 8, 2007, at 7:45 PM, Vlad Seryakov wrote: > >> It looks like Windows port is completely broken

Re: [naviserver-devel] Windows port

2007-11-08 Thread Vlad Seryakov
It looks like Windows port is completely broken, i tried to compile it today without any success, too many Unix specifics and eventually it stopped with NOCOMPAT error about no compatible macros. Zoran, i thought you are required to have windows version, how do you compile? -

Re: [naviserver-devel] Large file upload dilemma

2007-10-25 Thread Vlad Seryakov
How about config option which will be on by default, whoever wants flexibility will need to turn it off? Vasiljevic Zoran wrote: > On 25.10.2007, at 18:53, Vlad Seryakov wrote: > >> The other reason i did not want to make it ransparent, it takes a >> while >> to parse

Re: [naviserver-devel] Large file upload dilemma

2007-10-25 Thread Vlad Seryakov
ead parsing files just to get rid of them on conn thread exit. When dealing with such big files may be it is better to have more flexibility? Vasiljevic Zoran wrote: > On 25.10.2007, at 18:23, Vlad Seryakov wrote: > >> I just initially did not want to make so many changes, just to

Re: [naviserver-devel] Large file upload dilemma

2007-10-25 Thread Vlad Seryakov
Yes, that makes sense, i added ns_parsefoormfile proc tot form.tcl which may be called by ns_getform. I just initially did not want to make so many changes, just to test it more before making transparent Vasiljevic Zoran wrote: > On 24.10.2007, at 18:13, Vlad Seryakov wrote: > >

Re: [naviserver-devel] Large file upload dilemma

2007-10-24 Thread Vlad Seryakov
Actually i put this for windows as well, only mmap now does not compile for window, but i never tested, does not have windows Vasiljevic Zoran wrote: > On 24.10.2007, at 18:13, Vlad Seryakov wrote: > >> ns_conn contentfile will be non empty only in such situation, in >> nor

Re: [naviserver-devel] Large file upload dilemma

2007-10-24 Thread Vlad Seryakov
ns_conn contentfile will be non empty only in such situation, in normal cases it is always empty Vasiljevic Zoran wrote: > On 24.10.2007, at 00:34, Vlad Seryakov wrote: > >> Yes, i already tested it and just commited, please review if anybody >> have time. I am sure it does

Re: [naviserver-devel] Large file upload dilemma

2007-10-23 Thread Vlad Seryakov
> Being able to delegate mpart processing to > some other "thing" is generally good option. > I just do not know how you will "communicate" > that to the connection thread. > Do you have some plan? Yes, i already tested it and just commited, please review if anybody have time. I am sure it does

Re: [naviserver-devel] Large file upload dilemma

2007-10-23 Thread Vlad Seryakov
> > Your dilemma ist: how to specifiy that server should NOT preparse > the uploaded multipart-data? > Yes, i am thinking how to make driver to spool data into regular file, not mmap it and just pass to the connection thread. In the conn some kind of command like ns_conn tempfile would return

[naviserver-devel] Large file upload dilemma

2007-10-23 Thread Vlad Seryakov
We are building web site which will accept uploads of very big files, 1-2GB is average. Spooler works fine but the problem comes after the upload. With big number of users, all my virtual memory will be exhausted very quickly by mmap, and after the upload i need to copy those files somewhere be

Re: [naviserver-devel] Set uid/gid in Tcl

2007-10-18 Thread Vlad Seryakov
I do it in some modules as well, but would it make sense to provide this as core Tcl command so no need to copy code from module to module Vasiljevic Zoran wrote: > On 18.10.2007, at 22:53, Vlad Seryakov wrote: > >> Will it be useful to have internal Tcl command for changing real

[naviserver-devel] Set uid/gid in Tcl

2007-10-18 Thread Vlad Seryakov
Question, Will it be useful to have internal Tcl command for changing real uid/gid? for example i want to start as root, prepare data, load modules and then in Tcl switch to non-privileged user. - This SF.net email is spons

Re: [naviserver-devel] Crash in x64 mode in Ns_Log

2007-10-15 Thread Vlad Seryakov
yes, i know, i am complaining about myself relying on particular formatting. Stephen Deasey wrote: > On 10/15/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> The only thing which broke my old code regarding switching to vsnprintf >> is that old Ns_DStringPrintf handled emp

Re: [naviserver-devel] Crash in x64 mode in Ns_Log

2007-10-15 Thread Vlad Seryakov
code updated. That sucks Vlad Seryakov wrote: > Yes, works fine now, Thanks > > Stephen Deasey wrote: >> On 10/13/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >>> I was able to find the location which causes the crash but i am not sure >>> how to fix it >&g

Re: [naviserver-devel] Crash in x64 mode in Ns_Log

2007-10-13 Thread Vlad Seryakov
Yes, works fine now, Thanks Stephen Deasey wrote: > On 10/13/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> I was able to find the location which causes the crash but i am not sure >> how to fix it >> >> In function Ns_VALog i call vsnprintf directly, i

Re: [naviserver-devel] Crash in x64 mode in Ns_Log

2007-10-13 Thread Vlad Seryakov
with included old dsprintf.c it works fine Vlad Seryakov wrote: > I was able to find the location which causes the crash but i am not sure > how to fix it > > In function Ns_VALog i call vsnprintf directly, it works, when it is > called via Ns_DStringVPintf it crashes. using v

Re: [naviserver-devel] Crash in x64 mode in Ns_Log

2007-10-13 Thread Vlad Seryakov
string. > You are the, the number of %-codes corresponds to the arguments? > Is the error produced via Ns_TclLogErrorInfo() ? > > What happens, if you add at the end of the vararglist in the call > causing the problem a (char*)NULL)? > > -gustaf neumann > > > > V

Re: [naviserver-devel] Crash in x64 mode in Ns_Log

2007-10-13 Thread Vlad Seryakov
ng. > You are the, the number of %-codes corresponds to the arguments? > Is the error produced via Ns_TclLogErrorInfo() ? > > What happens, if you add at the end of the vararglist in the call > causing the problem a (char*)NULL)? > > -gustaf neumann > &g

Re: [naviserver-devel] Crash in x64 mode in Ns_Log

2007-10-12 Thread Vlad Seryakov
age > and misses the end of the var arg list > > -gustaf neumann > > PS: fixed a similar issue in xotcl more than a year ago. > > Vlad Seryakov schrieb: >> Hi, >> >> This is an example when it crashes inside vsnprintf, experimenting i >> f

Re: [naviserver-devel] ns_config read/write

2007-10-12 Thread Vlad Seryakov
In it will not hurt performance when constantly asking for config parameter with locking i am fine with it. Can be also compile time option for configure Vasiljevic Zoran wrote: > So: > > >The configuration is global and read-only. Parameters may be > retrieved at >run-time using [cm

[naviserver-devel] Crash in x64 mode in Ns_Log

2007-10-12 Thread Vlad Seryakov
Hi, This is an example when it crashes inside vsnprintf, experimenting i found that issuing long unknown command crashes as well. In my case i noticed that trying to log long lines does not work as well. In x32 everything works fine db:vlad[18:01:19]#uname -a Linux db 2.6.22-ARCH #1 SMP PREEM

Re: [naviserver-devel] ns_conn channel: kills kittens?

2007-10-02 Thread Vlad Seryakov
i personally never used ns_conn but use writers all the time. Stephen Deasey wrote: > Here's some problems with ns_conn channel: > > - ssl: if you use it (or any other comm module) you'll be surprised > when 'puts' gets written in clear text. > > - If you 'puts' rather than ns_write, you may be

Re: [naviserver-devel] Stats question

2007-09-26 Thread Vlad Seryakov
Than could be idle conn threads Bernd Eidenschink wrote: > Hi there, > > i activated the statistics on one server and on the > Main Menu > Threads > page I see, amongst others, a huge list of threads with the > NS_THREAD_DETACHED > flag and no PROC, no ARG, with ones having creation times goin

Re: [naviserver-devel] nslog

2007-09-10 Thread Vlad Seryakov
Try to add this in the Makefile ifdef POSTGRESQL CFLAGS = -I$(POSTGRESQL)/include MODLIBS= -L$(POSTGRESQL)/lib -lnsdb -lpq -Wl,-rpath,$(POSTGRESQL)/lib endif include $(NAVISERVER)/include/Makefile.module and then try to compile as make POSTGRESQL=/u01/pgsql8.2.4-dev see what happens

Re: [naviserver-devel] nslog

2007-09-10 Thread Vlad Seryakov
I think this is the problem, libpq.so.4 => /usr/lib/libpq.so.4 If you have PG installed in /u01/... why you link against library in /usr/lib? also, 8.2.x libpq is .5 already, not .4 Bernd Eidenschink wrote: >> Ah well, we found some new bugs anyway... > > Apropos :-) > > I have plenty of bug

Re: [naviserver-devel] [naviserver-commits] naviserver ChangeLog, 1.678, 1.679

2007-08-22 Thread Vlad Seryakov
t; + * tests/testserver/pages/16480bytes: Add a call to > + Ns_ConnSetLengthHeader() at the start of ConnSend() with the total > + length of the file to send, otherwise Content-Length gets reported as > + 8192 which is the size of the bu

[naviserver-devel] Broken last version

2007-08-21 Thread Vlad Seryakov
socket 3 for persistent reuse. Length: 8,192 (8.0K) [image/jpeg] 100%[>] 8,192 --.--K/s 22:17:56 (14.48 MB/s) - `2098.jpg.1' saved [8192/8192] -- Vlad Seryakov [EMAIL PROTECTED] http://www.crystal

Re: [naviserver-devel] [naviserver-commits] naviserver/nsd adprequest.c, 1.26, 1.27 fastpath.c, 1.37, 1.38 nsd.h, 1.102, 1.103

2007-08-21 Thread Vlad Seryakov
No reason but i chose that one because TCL use it and our tcl.m4 file sets it with TCL. Zoran Vasiljevic wrote: > Am 21.08.2007 um 06:11 schrieb Vlad Seryakov: > >> Update of /cvsroot/naviserver/naviserver/nsd >> In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18391/

[naviserver-devel] Defaults in nsdb

2007-08-20 Thread Vlad Seryakov
Does it make sense to make them longer values? poolPtr->maxidle = Ns_ConfigIntRange(path, "maxidle", 600, 0, INT_MAX); poolPtr->maxopen = Ns_ConfigIntRange(path, "maxopen", 3600, 0, INT_MAX); - This SF.net email i

Re: [naviserver-devel] find -maxdepth

2007-08-14 Thread Vlad Seryakov
Hey, no problem, make sure it still works on Linux :-))) Ibrahim Tannir wrote: > Speaking of KISS: > > for i in doc/html/*.html; do > > Greetings, > Ibrahim > > > > Zoran Vasiljevic wrote: >> Am 14.08.2007 um 11:15 schrieb Bernd Eidenschink: >> >>> == >>> for i in `ls

Re: [naviserver-devel] Proposal: just an idea about config syntax

2007-08-11 Thread Vlad Seryakov
Sure, i am not advocating for config syntax change Stephen Deasey wrote: > On 8/11/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> If the only problem is comments that can be done easy. >> Benefit to make config easier, if you check mailing list NS/As, most >&

Re: [naviserver-devel] Proposal: just an idea about config syntax

2007-08-11 Thread Vlad Seryakov
If the only problem is comments that can be done easy. Benefit to make config easier, if you check mailing list NS/As, most question are related to configuration, for web admins who is not familiar with Tcl this is a showstopper, plain text config would allow just use the server even for static

Re: [naviserver-devel] Proposal: just an idea about config syntax

2007-08-11 Thread Vlad Seryakov
> > > (btw. I updated the wiki software and SF updated their servers. Seems > pretty responsive.) > It is much faster, is it possibly to import our documentation so we will have one common place for all docs? - This SF.ne

Re: [naviserver-devel] Proposal: just an idea about config syntax

2007-08-10 Thread Vlad Seryakov
By implementing it in C and using Tcl_Eval ascripts will be executed at global level and all variables will be visible. It is just may result in supporting 2 diferent config styles which may add maintanence and confusion but overall i personally like new style better Jeff Rogers wrote: > V

Re: [naviserver-devel] Proposal: just an idea about config syntax

2007-08-10 Thread Vlad Seryakov
uot;tcl" { nsvbuckets 16 library ${homedir}/modules/tcl lazyloader false } section "module/nssock" { port $port address $address } } Vlad Seryakov wrot

[naviserver-devel] Proposal: just an idea about config syntax

2007-08-10 Thread Vlad Seryakov
} $args { ns_param $key $val } } But config looks like more 21 century and more structured and easier to read. Very similar to lighttpd by the way. -- Vlad Seryakov [EMAIL PROTECTED] http://www.crystalballinc.com/vlad/

Re: [naviserver-devel] Tcl inits

2007-08-06 Thread Vlad Seryakov
I would keep old initialization if i need speed, if performance is going to suffer with Tcl/ns_ictl approach, then for fast/busy sites we need to be able to use old(fast) way. Otherwise, the server will be limited for non-realtime or personal web sites usage only. Zoran Vasiljevic wrote: > Hi!

Re: [naviserver-devel] Release

2007-08-03 Thread Vlad Seryakov
I could have not correct environment, let me check with fresh install, it is happening everytime, we may put big fat warning in make tst to make sure it is running on fresh install :-))) Stephen Deasey wrote: > On 8/3/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> ... there are

[naviserver-devel] Release

2007-08-03 Thread Vlad Seryakov
OpenACS project is considering us for use along with AOlserver and i think this is very good timing for release. using CVS had may not be good thing for people to get introduced with the project. I noticed along with long-standing writer/spooler bug which i am responsible to fix (and i use writ

Re: [naviserver-devel] Has anybody tried to port mod_auth_kerb to AOLServer / Naviserver?

2007-07-31 Thread Vlad Seryakov
On Linux we are using pam_smb and it works great, i compiled it in non-daemon mode and Naviserver has ns_pam module. Rick Cobb wrote: > We’re getting a lot of requests for real Windows “single-sign-on”. That > is, no sign on at all if the user’s already logged into their Windows > domain. This

Re: [naviserver-devel] Build on Darwin broken

2007-07-03 Thread Vlad Seryakov
I will update modules if that is the conclusion Zoran Vasiljevic wrote: > On 03.07.2007, at 22:03, Stephen Deasey wrote: > >> I think even that is a bad idea as nowhere in the code are they >> actually used. Some external modules make use of them, but that is a >> crazy dependency! > > Hm... if

Re: [naviserver-devel] ns_adp_include -cache $ttl

2007-06-29 Thread Vlad Seryakov
no problem Stephen Deasey wrote: > On 6/30/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> yes, all those cache/nocache and other weird optinos came with old >> naviserver and some parts from new AS 4.5. It needs cleanup. > > > Oh, forgot to ask. The -tcl option y

Re: [naviserver-devel] ns_adp_include -cache $ttl

2007-06-29 Thread Vlad Seryakov
yes, all those cache/nocache and other weird optinos came with old naviserver and some parts from new AS 4.5. It needs cleanup. But i do not like new AS 4.5 config syntax, looks ugly Stephen Deasey wrote: > ns_adp_include takes the new -cache and -nocache options. -nocache is > a boolean which s

Re: [naviserver-devel] Tcl page result/page caching

2007-06-29 Thread Vlad Seryakov
Frankly may be because i am doing hundreds things today i missed what needs to be changed. I am for changes:-)) ADP engine is what i've ported from AS 4.5. Stephen Deasey wrote: > On 6/29/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> What are you suggesting? i am n

Re: [naviserver-devel] Tcl page result/page caching

2007-06-29 Thread Vlad Seryakov
What are you suggesting? i am not defending what is currently implemented but my only concern is backward compatibility, i have too many applications running on naviserver and many companies depend on it:-)) Stephen Deasey wrote: > On 6/29/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote

Re: [naviserver-devel] Tcl page result/page caching

2007-06-29 Thread Vlad Seryakov
That may be not ideal but my goal was to use same engine (ADP) for caching and keep compatibility. Also, performance-wise this is faster than the old mechanism. Anyway, to cache Tcl files, only proc can give that ability without re-parsing. Stephen Deasey wrote: > There's some new ADP result c

Re: [naviserver-devel] broken ns_urlencode/decode ?

2007-06-29 Thread Vlad Seryakov
I think it is time to share our great achievements on Naviserver with the world:-)) i mean to release it Zoran Vasiljevic wrote: > On 29.06.2007, at 11:39, Bernd Eidenschink wrote: > >> if "foo+bar" is already encoded, it's ok that another ns_urlencode - >> part path >> doesn't add anything mo

Re: [naviserver-devel] initial page delay / startup delay

2007-06-26 Thread Vlad Seryakov
i am running latest from CVS on Linux, no delays, IE7 works fine Zoran Vasiljevic wrote: > Hi again! > > Seems quite a few of things were chaged in > some last weeks... > > I observe (on all browsers) that after firing up > the server for the first time, the very first > (home)page takes about 2

Re: [naviserver-devel] [naviserver-commits] naviserver ChangeLog, 1.615, 1.616

2007-05-24 Thread Vlad Seryakov
Excellent work Stephen!! Stephen Deasey wrote: > Update of /cvsroot/naviserver/naviserver > In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25435 > > Modified Files: > ChangeLog > Log Message: > * nsd/connio.c: > * tests/encoding.test: Use a more robust check for buffer

Re: [naviserver-devel] NaviServer IOBUFSZ

2007-05-23 Thread Vlad Seryakov
Type: text/plain; charset=utf-8 Connection: close Connection closed by foreign host. Vlad Seryakov wrote: > Just tested latest CVS version, it works with outputcharset just fine > > Neophytos Demetriou wrote: >> Try: >> >> ns_return 200 text/html [encoding syste

Re: [naviserver-devel] NaviServer IOBUFSZ

2007-05-23 Thread Vlad Seryakov
-8, it >> breaks. > > True. The only reason I mention this here is because it works for > aolserver. I suppose there is a good reason that things are done > differently. > > > Best wishes, > Neophytos > > > > > Vlad Seryakov wrote: >> Can you

Re: [naviserver-devel] [naviserver-commits] modules/nsdbpg Makefile, 1.3, 1.4

2007-05-23 Thread Vlad Seryakov
Yes, no harm here but it is just more clear how those variables are assigned and what are defaults. Stephen Deasey wrote: > On 5/23/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> Log Message: >> Updateed makefiles to conditionally set NAVISERVER env variable >> >

Re: [naviserver-devel] NaviServer IOBUFSZ

2007-05-22 Thread Vlad Seryakov
something obvious here (*) but I assume there's some > kind of bug in Ns_ConnWriteVChars. > > Best wishes, > Neophytos > > > PPS. It's already 6 o' clock in the morning. I need to get some sleep > and I'll try to check it out again later in the afternoon.

Re: [naviserver-devel] [naviserver-commits] naviserver/nsd returnresp.c, 1.2, 1.3

2007-05-19 Thread Vlad Seryakov
the full set of add, conditonaly add and replace for the > printf version? > > > On 5/20/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> Update of /cvsroot/naviserver/naviserver/nsd >> In directory sc8-pr-cvs16:/tmp/cvs-serv11302/nsd >> >> Modified Fi

Re: [naviserver-devel] WebDAV support

2007-05-17 Thread Vlad Seryakov
There is webdav module in AOLServer repository that can be used with naviserver Kulcsár Ferenc wrote: > Hello! > > Can I use naviserver as WebDAV server? Is it a WebDAV modul for naviserver? > It is a "must have" for my compani. > > Regards, > Feri > > > -

Re: [naviserver-devel] Release

2007-05-13 Thread Vlad Seryakov
Updated Bernd Eidenschink wrote: > Hi Vlad, Stephen, > > looks good! > > Just (dist-)compiled on an Ubuntu 7.04, tomorrow I'll give it a try on a > SuSE Enterprise Linux (all 32bit). > > One little thing, isn't the message: > "You can now run NaviServer by typing one of the commands below:" > t

Re: [naviserver-devel] Release

2007-05-12 Thread Vlad Seryakov
er/naviserver-4.99.2.tar.gz > cd naviserver-4.99.2 > ./configure ... > make > make install > > So, it looks like 'make dist' is bust. > > > On 5/12/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> CVS HEAD just got installed fine on my Linux, it was f

Re: [naviserver-devel] Release

2007-05-12 Thread Vlad Seryakov
CVS HEAD just got installed fine on my Linux, it was fine for a long time, must've been something with your checkout > Some install errors: > > make[1]: Leaving directory `/home/sd/tmp/naviserver-4.99.2/nsproxy' > cp: cannot stat `nsd-config.tcl': No such file or directory > chmod: cannot access

Re: [naviserver-devel] Release

2007-05-12 Thread Vlad Seryakov
Good stuff. i'll finalize install and config issues, i do not have 64bits systems so cannot check that Stephen Deasey wrote: > On 5/12/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> Can we publish release, no many features were added recently, it is stable? >> >&

[naviserver-devel] Release

2007-05-12 Thread Vlad Seryakov
Can we publish release, no many features were added recently, it is stable? i am using it at my new work and it would be better to have last official release than last development snapshot only. Now it looks pretty much abandoned with our last release almost 2 years ago. ---

Re: [naviserver-devel] [naviserver-commits] naviserver/include ns.h, 1.113, 1.114

2007-04-27 Thread Vlad Seryakov
Nothing, just to be consistent, remember different troubles with int8_t and family on different unixes Stephen Deasey wrote: > On 4/27/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> Log Message: >> ns include/ns.h: Similar to ns_int64 defined same types >>

Re: [naviserver-devel] mysql?

2007-04-05 Thread Vlad Seryakov
yes, the latest version is in AS CVS Zoran Vasiljevic wrote: > Am 05.04.2007 um 16:29 schrieb Vlad Seryakov: > >> Sure, there were minors but i will try to get that module fro mmy >> archives > > Interestingly, there was little-to-none development on > this (ns

Re: [naviserver-devel] mysql?

2007-04-05 Thread Vlad Seryakov
Sure, there were minors but i will try to get that module fro mmy archives Zoran Vasiljevic wrote: > Am 05.04.2007 um 16:09 schrieb Vlad Seryakov: > >> We are using it, the version from AS or Dossy site i do not remember, >> there were some changes i made, i always wanted t

Re: [naviserver-devel] mysql?

2007-04-05 Thread Vlad Seryakov
We are using it, the version from AS or Dossy site i do not remember, there were some changes i made, i always wanted to put into our CVS. Not sure i can do it now, so Zoran you may find any version and import it Zoran Vasiljevic wrote: > Hi! > > We never had any need for DB interface in the ser

Re: [naviserver-devel] API Changes

2007-03-21 Thread Vlad Seryakov
Sorry, will do Zoran Vasiljevic wrote: > Hi! > > I would like to draw your attentipn to one important > point: API chages, if any, should be if possible > commented out *clearly* in ChangeLog file. > > I just stumbled arround (excerpt from "cvs log return.c"): > > revision 1.28 > date: 2006/11/

Re: [naviserver-devel] NS Initialization (Was: ::xotcl::unknown)

2007-03-07 Thread Vlad Seryakov
-- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&

Re: [naviserver-devel] OpenBSD/sparc64: driver blocks on a new connection if acceptsize > 1

2007-02-22 Thread Vlad Seryakov
ction, means developer sold on Naviserver, will secure it if need nscp there. -- Vlad Seryakov 571 262-8608 office [EMAIL PROTECTED] http://www.crystalballinc.com/vlad/

Re: [naviserver-devel] [naviserver-commits] naviserver/nsd return.c: switch from Ns_ConnPrintfHeders

2007-02-22 Thread Vlad Seryakov
The reason to use Ns_ConnUpdateHeaders which replaces the header, before it just added Stephen Deasey wrote: On 2/19/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: RCS file: /cvsroot/naviserver/naviserver/nsd/return.c,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29

Re: [naviserver-devel] Anyway to disable Transfer-Encoding for /*.tcl pages?

2007-02-19 Thread Vlad Seryakov
ions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.ne

Re: [naviserver-devel] Anyway to disable Transfer-Encoding for /*.tcl pages?

2007-02-19 Thread Vlad Seryakov
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel -- Vlad Seryakov 571 262-8608 office [EMAIL PROTECTED] http://www.crystalballinc.com/vlad/

Re: [naviserver-devel] OpenBSD/sparc64: driver blocks on a new connection if acceptsize > 1

2007-02-10 Thread Vlad Seryakov
naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel -- Vlad Seryakov 571 262-8608 office [EMAIL PROTECTED] http://www.crystalballinc.com/vlad/

Re: [naviserver-devel] [ns_conn peeraddr] always = 0.0.0.0 on OpenBSD 4.0/sparc64?

2007-02-07 Thread Vlad Seryakov
I updated configure.in in the CVS, can you run autogen.sh on CVS version and see if it will detect it right. Michael A. Cleverly wrote: On 2/7/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: But when we check for inet_ntop there is no u_int8_t or other type references, just inet_ntop(0,

Re: [naviserver-devel] [ns_conn peeraddr] always = 0.0.0.0 on OpenBSD 4.0/sparc64?

2007-02-07 Thread Vlad Seryakov
But when we check for inet_ntop there is no u_int8_t or other type references, just inet_ntop(0, (char *)0, (char *)0, 0); Can you check config.log for inet_ntop checking Michael A. Cleverly wrote: On 2/6/07, Stephen Deasey <[EMAIL PROTECTED]> wrote: On 2/6/07, Vlad Seryakov &

Re: [naviserver-devel] [ns_conn peeraddr] always = 0.0.0.0 on OpenBSD 4.0/sparc64?

2007-02-06 Thread Vlad Seryakov
Looks like broken inet_ntop on OpenBSD/sparc Michael A. Cleverly wrote: On 2/6/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: Try this one: #include main() { unsigned char b[4]; struct in_addr addr; addr.s_addr = inet_addr("127.0.0.1"); memcpy(b,

<    1   2   3   4   5   6   7   >