[Re: Re: [naviserver-devel] Wich source to start from, 4.0 or 4.1?]

2005-02-12 Thread vlad
that it would be the best idea to start with what I > (or Vlad) has. My repo is aolserver-HEAD as of a few months ago, > before the last set of major changes. > > I'd rather split my stuff up and submit it separately, have you guys > look it over before I apply it. I'

[Re: [naviserver-devel] name ideas]

2005-02-12 Thread vlad
naviweb nsdserver nsweb navicore navisystem Original Message To: naviserver-devel@lists.sourceforge.net From: Zoran Vasiljevic <[EMAIL PROTECTED]> Subject: [naviserver-devel] name ideas Personally, I have no problem with naviserver but just in case we'd need to change it, what

[Re: [naviserver-devel] cleanup before first import (questions)]

2005-02-12 Thread vlad
a) agree b) let's get rid of it c) agree d) agree d) agree Original Message To: naviserver-devel@lists.sourceforge.net From: Zoran Vasiljevic <[EMAIL PROTECTED]> Subject: [naviserver-devel] cleanup before first import (questions) This is the current layout: aclocal.m4 config

[Re: Re: [naviserver-devel] ns_parseargs example]

2005-05-28 Thread vlad
I like this but can it be list instead of oneof ns_proc connect {{-eightbit flag} {{-speed list {1200 2400 4800}} 4800} {port /dev/ttya}} Original Message To: naviserver-devel@lists.sourceforge.net From: Zoran Vasiljevic Subject: Re: [naviserver-devel] ns_parseargs example

[Re: [naviserver-devel] RFE #1202462]

2005-05-29 Thread vlad
If that will be configurable, let's say with --with-vfs during configure or somehow to have the ability using low-level or Tcl interfaces, i have no problems with it. The cases when direct calls would be necessary for high performance sites, but in cases when performance is acceptable Tcl Vfs can b

[Re: Re: [Re: [naviserver-devel] RFE #1202462]]

2005-05-29 Thread vlad
Perfect Original Message To: naviserver-devel@lists.sourceforge.net From: Zoran Vasiljevic <[EMAIL PROTECTED]> Subject: Re: [Re: [naviserver-devel] RFE #1202462] Am 29.05.2005 um 15:24 schrieb [EMAIL PROTECTED]: > If that will be configurable, let's say with --with-vfs during

[Re: Re: [Re: Re: [naviserver-devel] ns_parseargs example]]

2005-05-30 Thread vlad
The question is what ns_proc will do if i give wrong type? Catching all ns_proc calls for exceptions will make code not very clear? How typechecks will be enforced? Original Message To: naviserver-devel@lists.sourceforge.net From: Zoran Vasiljevic <[EMAIL PROTECTED]> Subject: Re

[Re: [naviserver-devel] Range requests]

2005-07-03 Thread vlad
ty in! vasive and potentially destabilizing. What does everyone think? On 6/29/05, Vlad Seryakov wrote: > Update of /cvsroot/naviserver/naviserver/nsd > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4535/nsd > > Modified Files: >

[Re: Re: [naviserver-devel] Before I check in]

2005-10-11 Thread vlad
Guy, I am out of country till Oct 18, so do not ex pect anything from me, decide for yourself.I am glad naviserver is still active, it was very quiet for the last couple of month s. Original Message To : nav [EMAIL PROTECTED]From: Zoran Vasiljevic S ubject: Re: [naviserver-devel] B

Re: [naviserver-devel] Quest for malloc

2006-12-19 Thread Vlad Seryakov
I converted all to use pthreads directly instead of Tcl wrappers, and now it does not crash anymore. Will continue testing but it looks like Tcl is the problem here, not ptmalloc Stephen Deasey wrote: On 12/19/06, Vlad Seryakov <[EMAIL PROTECTED]> wrote: yes, it crashes when num

Re: [naviserver-devel] Quest for malloc

2006-12-19 Thread Vlad Seryakov
I have no idea, i spent too much time on this still without realizing what i am doing and what to expect :-))) Zoran Vasiljevic wrote: On 19.12.2006, at 17:08, Vlad Seryakov wrote: I converted all to use pthreads directly instead of Tcl wrappers, and now it does not crash anymore. Will

Re: [naviserver-devel] Quest for malloc

2006-12-19 Thread Vlad Seryakov
Right, with Ns_ functions it does not crash. Stephen Deasey wrote: On 12/19/06, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote: On 19.12.2006, at 17:08, Vlad Seryakov wrote: I converted all to use pthreads directly instead of Tcl wrappers, and now it does not crash anymore. Will continue t

Re: [naviserver-devel] Quest for malloc

2006-12-19 Thread Vlad Seryakov
0xb7d74e7b in __libc_message () from /lib/libc.so.6 #7 0xb7d7ab10 in malloc_printerr () from /lib/libc.so.6 #8 0xb7d7c1a9 in free () from /lib/libc.so.6 #9 0x080485d9 in MemThread (arg=0x0) at ttest.c:33 #10 0xb7e8943f in NewThreadProc (clientData=0x804a358) at /home/vlad/src/ossweb/external

[naviserver-devel] new memory allocator to test

2006-12-19 Thread Vlad Seryakov
with zippy. ftp://ftp.crystalballinc.com/pub/vlad/vmalloc.tar.gz -- Vlad Seryakov 571 262-8608 office [EMAIL PROTECTED] http://www.crystalballinc.com/vlad/

Re: [naviserver-devel] new memory allocator to test

2006-12-20 Thread Vlad Seryakov
In my test.tcl when hitting nsd 5000 times i get 720 req/sec with zippy, 640 req/sec with vmalloc and 520 req/sec with ptmalloc. for some reason nedmalloc crashes when i LD_PRELOAD it on my machine. The nice thing is this: after the test when nsd has 30 running threads: vlad 17932 105

Re: [naviserver-devel] new memory allocator to test

2006-12-22 Thread Vlad Seryakov
Try to uncomment -DUSE_MALLOC in Makefile, looks like Solaris/OSX do not like too many mmap-ed pages Zoran Vasiljevic wrote: On 20.12.2006, at 15:33, Vlad Seryakov wrote: In my test.tcl when hitting nsd 5000 times i get 720 req/sec with zippy, 640 req/sec with vmalloc and 520 req/sec with

Re: [naviserver-devel] new memory allocator to test

2006-12-22 Thread Vlad Seryakov
Try malloctest, tclalloctest is not real test, it just calls TclThreadAllocObj to see how fast is local linked list, really does not test Zoran Vasiljevic wrote: On 22.12.2006, at 15:39, Vlad Seryakov wrote: Try to uncomment -DUSE_MALLOC in Makefile, looks like Solaris/OSX do not like too

Re: [naviserver-devel] new memory allocator to test

2006-12-22 Thread Vlad Seryakov
directly and its functions will be used instead of later-linked Tcl ones. Still, good to know how it works on different OSes, Thanks Zoran Vasiljevic wrote: On 22.12.2006, at 15:59, Vlad Seryakov wrote: Try malloctest, tclalloctest is not real test, it just calls TclThreadAllocObj to see how

Re: [naviserver-devel] new memory allocator to test

2006-12-22 Thread Vlad Seryakov
at makes a difference. I would suggest to run it for a while when fragmentation gets worse, this part is not clear and we are still experimenting as well, of course with mmap-ed pages it is easier but it just proves your thought: there is not one-for-all-cases tool exists today -- Vlad Seryakov 57

Re: [naviserver-devel] Puzzle for christmas

2006-12-23 Thread Vlad Seryakov
memory vlad 11100 0.0 0.6 37548 3264 ?Ssl 12:55 0:00 /usr/local/ns/bin/nsd vlad 11136 1.0 0.5 13024 2712 ?Ssl 12:56 0:00 /usr/local/aolserver/bin/nsd 2.I was testing ADP speed between NS and AS and noticed that AS is faster and looking into code it is

Re: [naviserver-devel] Puzzle for christmas

2006-12-23 Thread Vlad Seryakov
, NS after start: 21219 root 13456 24 0 3752 3268 S 0.0 0.7 0:00.10 nsd vlad 11136 1.0 0.5 13024 2712 ?Ssl 12:56 0:00 /usr/local/aolserver/bin/nsd I get exactly this metrics with NS. 2.I was testing ADP speed between NS and AS and noticed that AS is faster and

Re: [naviserver-devel] Puzzle for christmas

2006-12-25 Thread Vlad Seryakov
I have located the culprit! It does not have anything to do with our code, rather with Tcl. It seems that stdin/stdout/stderr channels are not properly handled on thread exit (not detached from the interp). This is a can of worms that I'm now opening... I hate to fiddle with that stuff in Tcl

Re: [naviserver-devel] Quest for malloc

2007-01-15 Thread Vlad Seryakov
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] Quest for malloc

2007-01-16 Thread Vlad Seryakov
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] ns_cache pruning, when, how?

2007-01-19 Thread Vlad Seryakov
ness 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.net/lists/listinfo/na

[naviserver-devel] Driver with epoll

2007-01-23 Thread Vlad Seryakov
while (drvPtr != NULL) { if (drvPtr->sock != INVALID_SOCKET) { ns_sockclose(drvPtr->sock); drvPtr->sock = INVALID_SOCKET; } drvPtr = drvPtr->nextPtr; } } } Ns_Log(Notice, "exiting"); Ns_MutexLock(&drvLock); drvStopped = 1; Ns_CondBroadcast(&drvCond); Ns_MutexUnlock(&drvLock); } -- Vlad Seryakov 571 262-8608 office [EMAIL PROTECTED] http://www.crystalballinc.com/vlad/

Re: [naviserver-devel] Driver with epoll

2007-01-23 Thread Vlad Seryakov
extremely fast in returning static files. Zoran Vasiljevic wrote: Am 23.01.2007 um 16:54 schrieb Vlad Seryakov: I was playing with epoll and changed driver to see if performance will be better with it. Using ab utility i actually got worse performance with epoll, i suspect may be i implemented

Re: [naviserver-devel] Driver with epoll

2007-01-23 Thread Vlad Seryakov
in driver.c, after that it compiles and runs. No spreading -- Vlad Seryakov 571 262-8608 office [EMAIL PROTECTED] http://www.crystalballinc.com/vlad/

Re: [naviserver-devel] Driver with epoll

2007-01-23 Thread Vlad Seryakov
AIL PROTECTED]> wrote: Am 23.01.2007 um 17:14 schrieb Vlad Seryakov: and lighttpd also uses sendfile which is faster than user-spave read-send operation fastpath uses There you go. They do it all in kernel. I guess this can't be beat. Anyways, it is good to know where we stand. I think th

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

2007-02-06 Thread Vlad Seryakov
&bid=263057&dat=121642 ___ 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] [ns_conn peeraddr] always = 0.0.0.0 on OpenBSD 4.0/sparc64?

2007-02-06 Thread Vlad Seryakov
union { unsigned long l; unsigned char b[4]; } u; u.l = (unsigned long) addr.s_addr; sprintf(tlsPtr->nabuf, "%u.%u.%u.%u", u.b[0], u.b[1], u.b[2], u.b[3]); #endif return tlsPtr->nabuf; } Michael A. Cleverly wrote: On 2/6/07, Vlad Seryakov <[EMA

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

2007-02-06 Thread Vlad Seryakov
Try this one: #include main() { unsigned char b[4]; struct in_addr addr; addr.s_addr = inet_addr("127.0.0.1"); memcpy(b, &addr.s_addr, 4); printf("%u.%u.%u.%u\n", b[0], b[1], b[2], b[3]); } Stephen Deasey wrote: On 2/6/07, Vlad Seryakov <[E

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,

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-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] 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] 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] 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] [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] 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] 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

[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_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

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

[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] 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] 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] 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

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

[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] 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] 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] 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, oth

Re: [naviserver-devel] ns_job cancellation

2008-04-26 Thread Vlad Seryakov
. Hope this will change > in near future. Also, I believe we have *superb* code and tons > of features. This simply deserves V5 release! Great job that > Vlad and Stephen have done in the meantime. Thanks guys! > > Cheers, > Zoran > > > -

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] [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] 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] 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] 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] 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

[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] 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

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
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] 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] 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
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] 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] 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] moonshadow

2008-05-09 Thread Vlad Seryakov
Can you explain me about this global-state, please. and, do why do you need all separate 1000 threads for every user, is the requirement to be connected to all at the same time? just wondering Vasiljevic Zoran wrote: > On 09.05.2008, at 17:38, Vasiljevic Zoran wrote: > >> I saw somewhere that L

Re: [naviserver-devel] moonshadow

2008-05-09 Thread Vlad Seryakov
> Effectively, what I need is a upside-down of the > Tcl model: one interp any many threads. > Don't tell me: go shop Java. This does not compute > (for various unrelated reasons). You can use ns_job, you define how may Tcl interp/threads you may use and then just submit tasks, each task will get

Re: [naviserver-devel] ns_register_adp

2008-05-09 Thread Vlad Seryakov
yes, this situation was not handled properly, fixed in CVS Daniel Stasinski wrote: > While still migrating from aolserver to naviserver, I have found that > when using ns_register_adp to register an adp that is outside of the > page directory, naviserver returns a 500 error. Nothing is logged. >

Re: [naviserver-devel] moonshadow

2008-05-09 Thread Vlad Seryakov
> > Yes. Won't work. I mean it _could_ but I need to program > for that _extra_. Ideally, I would start 10,100,1000 threads > each with its own small "universe" that actually contains > just dark matter (nothing) whereas all the good-stuff is > located centraly (a large mother-interpreter?). > Ide

Re: [naviserver-devel] ns_perm module bug fix

2008-05-10 Thread Vlad Seryakov
net, "\". " "should be ipaddr/netmask > or hostname", NULL); > goto fail; > } > > Daniel > -- Vlad Seryakov [EMAIL PROTECTED] http://www.crystalballinc.com/vlad/ -

Re: [naviserver-devel] moonshadow

2008-05-10 Thread Vlad Seryakov
's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > ___ > naviserver-devel mailing list > naviserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Re: [naviserver-devel] moonshadow

2008-05-10 Thread Vlad Seryakov
sing. > > Cheers > Zoran > > > > > - > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $10

Re: [naviserver-devel] ns_perm module bug fix

2008-05-10 Thread Vlad Seryakov
Do you need write access to naviserver CVS? Daniel Stasinski wrote: > On Sat, May 10, 2008 at 8:32 AM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> patched, submitted. Thanks > > I just committed it to aolserver cvs also. > > Daniel > -- Vlad S

Re: [naviserver-devel] ns_perm module bug fix

2008-05-10 Thread Vlad Seryakov
Added Daniel Stasinski wrote: > On Sat, May 10, 2008 at 12:33 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> Do you need write access to naviserver CVS? > > That would be great. Thank you. > > Daniel > -- Vlad Seryakov [EMAIL PROTECTED] http

Re: [naviserver-devel] sample config

2008-05-10 Thread Vlad Seryakov
documentation and description of options > is there. In the config file we can put only really necessary > stuff that is needed to startup some example configurations > and put cross references to the documentation. > > Vlad already started this right by providing a minimal > no-fu

Re: [naviserver-devel] ns_perm module bug fix

2008-05-11 Thread Vlad Seryakov
> > Also, you need to fix your editor so that it doesn't automatically > change whitespace willy-nilly. Your 3 line change turned into a > gigantic unreadable mess in the commit email. > > (when you figure out how to fix it, remind Vlad 'cos he seems to have > for

Re: [naviserver-devel] ns_perm module bug fix

2008-05-11 Thread Vlad Seryakov
> > You're using Vim? Maybe someone knows how to fix this. Anyone? No, i do not use Vim and i just fixed that. Tested using cvs diff, works fine. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't m

  1   2   3   4   5   6   7   >