Re: [naviserver-devel] spooler not working on linux

2009-11-22 Thread Vlad Seryakov
r-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel -- Vlad Seryakov v...@crystalballinc.com http://www.crystalballinc.com/vlad/ [22/Nov/2009:23:47:39][9428.b13ffb70][-conn:ossweb:0] Notice: upload.tcl: /upload.tcl: 64686841 71835606 [22/Nov/2009:23:47:40

Re: [naviserver-devel] spooler not working on linux

2009-11-21 Thread Vlad Seryakov
Once the server started, connect to nscp console and issue ns_logctl severity Debug(ns:driver) true now in the nsd.log there must be a lot of driver and spooler related messages Vlad Seryakov wrote: > I am using it on 32 and 64 bit with default configure, so it is > something dif

Re: [naviserver-devel] spooler not working on linux

2009-11-21 Thread Vlad Seryakov
on and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ___ > naviserver-devel mailing list > navise

Re: [naviserver-devel] large memory usage when uploading

2009-11-19 Thread Vlad Seryakov
Yes, regular form parser uses mmap, so for huge files it is not good I use 1-2GB file pretty easily with the spooler. In the script, just check if the file is spooled set tmpfile [ns_conn contentfile] if { $tmpfile != "" } { # Rename to keep it from being deleted on session exit file renam

[naviserver-devel] x86_64

2009-07-13 Thread Vlad Seryakov
t even old code when i compile, i get this error). Any hints? -- Vlad Seryakov v...@crystalballinc.com http://www.crystalballinc.com/vlad/ -- Enter the BlackBerry Developer Challenge This is your chance to win up to $

Re: [naviserver-devel] Migrating aol.com from proprietary platform (AOLserver) to Open Source

2009-07-13 Thread Vlad Seryakov
g new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > ___ > naviserver-devel mailing list > naviserver-de

Re: [naviserver-devel] Is this list still alive?

2009-06-26 Thread Vlad Seryakov
Bernd Eidenschink wrote: > silent list and working servers... that's how it should be :-) Yes, it is true. And also i recently discovered Scala and LiftWeb which we are going to use in our company, so working servers are still there but new development almost halted on Ns/Tcl side :-((( > btw

Re: [naviserver-devel] Is this list still alive?

2009-06-25 Thread Vlad Seryakov
Yes, well and busy and i am not doing anything with naviserver for now Ian Harding wrote: > Haven't seen any messages for a while > > Hope everyone is well! > > - Ian > > -- > _

Re: [naviserver-devel] Mercurial help

2009-03-11 Thread Vlad Seryakov
Uh, it is a little bit complicated, especially with history :-(( Stephen Deasey wrote: > On Wed, Mar 11, 2009 at 5:09 PM, Vlad Seryakov > wrote: >> yes, no history yet, i was doing baby steps > > > Oh OK. I'll let you play with it. > > Note though that mer

Re: [naviserver-devel] Mercurial help

2009-03-11 Thread Vlad Seryakov
yes, no history yet, i was doing baby steps I used my bitbucket name, it is vseryakov, on SF it was taken, so SF name is just seryakov :-(( Stephen Deasey wrote: > On Wed, Mar 11, 2009 at 3:10 AM, Vlad Seryakov > wrote: >> imported all >> >> i skipped nsffmpeg, nsotcl,

Re: [naviserver-devel] Mercurial help

2009-03-10 Thread Vlad Seryakov
imported all i skipped nsffmpeg, nsotcl, nstcp, i will not going to support themand they will not compile, so no point keeping broken things. nsocaml still may be of interest even it is not compiling as it is now. Stephen Deasey wrote: > On Tue, Mar 10, 2009 at 4:14 PM, Vlad Serya

Re: [naviserver-devel] Mercurial help

2009-03-10 Thread Vlad Seryakov
Oh, login as naviserver was the trick, thank you i will import all remaining modules Stephen Deasey wrote: > On Tue, Mar 10, 2009 at 4:14 PM, Vlad Seryakov > wrote: >> Stephen, >> >> Can you describe how to import module into hg on bitbucket, it keeps saying

[naviserver-devel] Mercurial help

2009-03-10 Thread Vlad Seryakov
Stephen, Can you describe how to import module into hg on bitbucket, it keeps saying i am not authorized. Thanks -- ___ naviserver-devel mailing list naviserver-devel@lists.so

Re: [naviserver-devel] commit/naviserver: Vlad Seryakov : Added call to nsproxy Tcl_FindExecutable(argv[0]); to keep Tcl 8.5 from crashing in thread related initialization.

2009-03-10 Thread Vlad Seryakov
Oops, missed it Stephen Deasey wrote: > On Sun, Mar 8, 2009 at 4:13 PM, wrote: >> 1 new changeset in naviserver: >> >> http://www.bitbucket.org/naviserver/naviserver/changeset/4b0584c5e64b/ >> changeset: r2184:4b0584c5e64b >> user:Vlad Seryakov &g

[naviserver-devel] Wiki and repository

2009-03-08 Thread Vlad Seryakov
still cannot import my public key, it keeps saying it is invalid and i use openssh. -- Vlad Seryakov v...@crystalballinc.com http://www.crystalballinc.com/vlad/ -- Open Source Business Conference (OSBC), March 24-25, 2009

Re: [naviserver-devel] SLS cleanup

2009-03-05 Thread Vlad Seryakov
oops, we put it into closing list which calls release in the driver. please ignore Vlad Seryakov wrote: > Is this intentionally that NsSlsCleanup is called only in SockRelease but not > in SockClose. For normal connection which > call NsConnClose, SockRelease is not called and therefo

[naviserver-devel] SLS cleanup

2009-03-05 Thread Vlad Seryakov
Is this intentionally that NsSlsCleanup is called only in SockRelease but not in SockClose. For normal connection which call NsConnClose, SockRelease is not called and therefore SLS is never cleanup? -- Open Source Busin

Re: [naviserver-devel] SLS

2009-03-02 Thread Vlad Seryakov
thread, in queue.c. Currently i can live without cleanup, i just do not do any cleanups but having it would be very useful. Stephen Deasey wrote: > On Mon, Mar 2, 2009 at 6:31 PM, Vlad Seryakov wrote: >> I am working with persistent connections right now and want to track when >>

[naviserver-devel] SLS

2009-03-02 Thread Vlad Seryakov
I am working with persistent connections right now and want to track when the socket is closed to cleanup some memory in Tcl but it looks like there is no way to call cleanup Tcl proc on socket close. I am thinking to extend ns_sls to attach Tcl proc to be called at cleanup stage. Is this right

Re: [naviserver-devel] Session module

2009-02-20 Thread Vlad Seryakov
I know, i asked just in case:-)) But if you combine seqid with currenttime in milliseconds for example and produce md5 hash including IP address, it will be much more difficult to hijack just base don sequential number Ian Harding wrote: > Vlad Seryakov wrote: >> Why not to use ns

Re: [naviserver-devel] Session module

2009-02-20 Thread Vlad Seryakov
Why not to use nsv_incr to generate sequential session id? Or sequential ids is a bad idea? Ian Harding wrote: > Stephen Deasey wrote: >> On Sun, Feb 15, 2009 at 6:55 PM, Ian Harding wrote: >> >>> Hello, >>> >>> I am migrating to Naviserver from AOLServer mostly because of the >>> excellent n

Re: [naviserver-devel] Wiki Account

2009-02-20 Thread Vlad Seryakov
Well, in PmWiki we use TinyMCE for editing but using Tcl wiki has one advantage that other solutions do not: it is already running, it is free and it does not require special server or maintenance except the Wiki content itself. Still we need to host somewhere our generated documentation which w

Re: [naviserver-devel] Wiki Account

2009-02-19 Thread Vlad Seryakov
Very nice idea! I am for this. Stephen Deasey wrote: > On Thu, Feb 19, 2009 at 4:10 PM, Vlad Seryakov > wrote: >> Ian Harding wrote: >>> Hi, >>> >>> Can I have an account on the wiki? >>> >>> Thanks! >> It was long time ago i used

Re: [naviserver-devel] Wiki Account

2009-02-19 Thread Vlad Seryakov
It was long time ago i used but now i always get this error even if i logged in. In my opinion, this Wiki is no-use Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in. We've been using pmwiki for

Re: [naviserver-devel] Session module

2009-02-15 Thread Vlad Seryakov
No such module exists. You can port your module, the only thing to implement is Ns_CacheFind, because naviserver does not keep track of new caches, this is up to developer to decide Ian Harding wrote: > Hello, > > I am migrating to Naviserver from AOLServer mostly because of the > excellent nsd

Re: [naviserver-devel] nsdbi build question

2009-02-11 Thread Vlad Seryakov
use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com >

Re: [naviserver-devel] Config error

2009-02-05 Thread Vlad Seryakov
simple macro like #define NS_STR(s) (s != NULL ? s : "") can be used instead of using ?: every time Stephen Deasey wrote: > On Thu, Feb 5, 2009 at 5:21 PM, Vasiljevic Zoran wrote: >> On 05.02.2009, at 18:14, Vlad Seryakov wrote: >> >>> The reason i think beca

Re: [naviserver-devel] Config error

2009-02-05 Thread Vlad Seryakov
The reason i think because Ns_DStringPrintf now uses OS's snprintf, before that it uses home-grown sprintf-like engine. Vasiljevic Zoran wrote: > On 05.02.2009, at 17:47, Vlad Seryakov wrote: > >> On Linux it just should show null because underlying snprintf >> ha

Re: [naviserver-devel] Config error

2009-02-05 Thread Vlad Seryakov
On Linux it just should show null because underlying snprintf handles NULLs pretty well Vasiljevic Zoran wrote: > Hi! > > It seems that we have problems if Dev logging is enabled. > By definition the ConfigGet may return NULL. Also the value > of the section param passed to this (below) and othe

Re: [naviserver-devel] commit/naviserver: groks: Manage lifetime of tcl synchronization objects without trampling memory -- -- The old scheme with both anonymous and named locks was makinf it difficul

2008-12-01 Thread Vlad Seryakov
This is awesome! None in particular at the moment because i have all what i need running and i do not need to change them now. so take your time, i may help you once i clear my stuff at work Stephen Deasey wrote: > On Tue, Dec 2, 2008 at 3:33 AM, Vlad Seryakov <[EMAIL PROTECTED]&

Re: [naviserver-devel] commit/naviserver: groks: Manage lifetime of tcl synchronization objects without trampling memory -- -- The old scheme with both anonymous and named locks was makinf it difficul

2008-12-01 Thread Vlad Seryakov
Tue, Nov 25, 2008 at 8:15 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> Ok, just to confirm >> >> what about CVS? should we disable it? clear description then should be made >> how to get sources from new repo > > > Yeah that needs to be done too. >

Re: [naviserver-devel] commit/naviserver: groks: Manage lifetime of tcl synchronization objects without trampling memory -- -- The old scheme with both anonymous and named locks was makinf it difficul

2008-11-25 Thread Vlad Seryakov
Ok, just to confirm what about CVS? should we disable it? clear description then should be made how to get sources from new repo Stephen Deasey wrote: > On Tue, Nov 25, 2008 at 1:28 AM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> That means all development from now on goes to M

Re: [naviserver-devel] commit/naviserver: groks: Manage lifetime of tcl synchronization objects without trampling memory -- -- The old scheme with both anonymous and named locks was makinf it difficul

2008-11-24 Thread Vlad Seryakov
> > With this change all locks are named, with anon locks recieving an auto- > generated name. Also, we no longer destroy locks because we can't do it > safely, and there seems little point. > affected #: 4 files (104 bytes) > > Repository URL: http://bitbucket.org/navis

Re: [naviserver-devel] nsdbpg

2008-11-21 Thread Vlad Seryakov
change MODLIBS = -L/usr/local/ns/include/nsdb.h -L/opt/pgsql8.2.11/lib/libpq.a to MODLIBS = -lnsdb -L/opt/pgsql8.2.11/lib -lpq Bernd Eidenschink wrote: > I'm cursed. I never can compile a postgres driver for naviserver > from scratch. > > Here's my tale - maybe you can hint me to an obvious m

Re: [naviserver-devel] Chnaged my mind: switch to mercurial

2008-11-20 Thread Vlad Seryakov
vseryakov is my username, looks oike adding openssh pub key does not work, it keeps saying SSH key is not valid Stephen Deasey wrote: > On Wed, Aug 20, 2008 at 7:16 AM, Vasiljevic Zoran <[EMAIL PROTECTED]> wrote: >> On 20.08.2008, at 00:19, Stephen Deasey wrote: >> >>> I think it's probably bett

Re: [naviserver-devel] Chnaged my mind: switch to mercurial

2008-11-20 Thread Vlad Seryakov
I frankly don't care about any particular system, it just should be only one, fast and accessible all the time. Stephen Deasey wrote: > On Wed, Aug 20, 2008 at 7:16 AM, Vasiljevic Zoran <[EMAIL PROTECTED]> wrote: >> On 20.08.2008, at 00:19, Stephen Deasey wrote: >> >>> I think it's probably bette

Re: [naviserver-devel] PHP streaming hangs

2008-11-08 Thread Vlad Seryakov
What distribution do you use? In my Archlinux this does not work, they provide Apache module only, so i need to recompile PHP anyway. In such cases README and automated way to rebuild it would be nice, it is gone from Makefile now Stephen Deasey wrote: > On Sat, Nov 8, 2008 at 8:47 PM, V

Re: [naviserver-devel] naviserver ChangeLog,1.827,1.828

2008-11-08 Thread Vlad Seryakov
Not sure what are you asking? Stephen Deasey wrote: > On Sat, Nov 8, 2008 at 10:42 PM, Vlad Seryakov > <[EMAIL PROTECTED]> wrote: >> Update of /cvsroot/naviserver/naviserver >> In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv26902 >> >> Modified Files

Re: [naviserver-devel] PHP streaming hangs

2008-11-08 Thread Vlad Seryakov
and in chunked, Firefox after 3 request hangs because reply is not correct. This is strange because in telnet session it looks fine but my eye may not be protocol-demanding like Firefox. Vlad Seryakov wrote: >> Does this actually need to flush? >> >> It depends when php cal

Re: [naviserver-devel] PHP streaming hangs

2008-11-08 Thread Vlad Seryakov
> > Does this actually need to flush? > > It depends when php calls it. In the case where there's no body, eg. a > 302 redirect, then maybe this signals 'all done' and you're to write > the headers. In the case where there is a body it's not needed because > naviserver will construct and dump the

Re: [naviserver-devel] PHP streaming hangs

2008-11-07 Thread Vlad Seryakov
:44 GMT; path=/ Content-type: text/html Connection: keep-alive Transfer-Encoding: chunked 0 Stephen Deasey wrote: > On Sat, Nov 8, 2008 at 3:38 AM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> Added, runs fine but that the thing, it hangs in firefox, not in the test >> >

Re: [naviserver-devel] PHP streaming hangs

2008-11-07 Thread Vlad Seryakov
Yes, keep-alive is the key, nshttp_test closes connection so it cannot test this I tried that but could not get it to work, it generates configure but when i run it i never could make it finish, there are always some errors. Stephen Deasey wrote: > On Sat, Nov 8, 2008 at 3:38 AM, V

Re: [naviserver-devel] PHP streaming hangs

2008-11-07 Thread Vlad Seryakov
Added, runs fine but that the thing, it hangs in firefox, not in the test Stephen Deasey wrote: > On Fri, Nov 7, 2008 at 10:24 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: > >> I want to find the problem and then will put test for future checks > > > No, you write th

Re: [naviserver-devel] PHP streaming hangs

2008-11-07 Thread Vlad Seryakov
will put test for future checks Stephen Deasey wrote: > On Fri, Nov 7, 2008 at 9:23 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> This is the simple PHP page that triggers hanging, when attached to the >> nsd, backtrace on all thread show they all are in the condwait or pol

[naviserver-devel] PHP streaming hangs

2008-11-07 Thread Vlad Seryakov
This is the simple PHP page that triggers hanging, when attached to the nsd, backtrace on all thread show they all are in the condwait or poll wait, seems like sent/expected bytes miscalculation. test page - This SF.Net

Re: [naviserver-devel] naviserver/nsd driver.c,1.119,1.120

2008-11-07 Thread Vlad Seryakov
>>> For example, In the snippet above, you can see the newly added >>> Ns_ConnSockContent which returns a pointer to the read buffer (which >>> is otherwise private). Ordinarily the buffer would contain the HTTP >>> request line, any headers, then any body. You can get at the body with >>> the exis

Re: [naviserver-devel] modules/nsssl nsssl.c,1.6,1.7

2008-11-07 Thread Vlad Seryakov
Great, thanks > > > Fixed. For SSL (and for all drivers) just leave sendfFileProc as NULL > and your sendProc will be called as needed to send file/buffer chunks. > > If you were writing something like an FTP server, then you would want > to copy nssock and call Ns_SockSendFileBufs to optimise

Re: [naviserver-devel] Relocating ns_atclose calls

2008-11-07 Thread Vlad Seryakov
Actually, i do not need it anymore Stephen Deasey wrote: > On Fri, Nov 7, 2008 at 4:32 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: > >> In most cases ... it will work as before because >> atclose blocks and socket is not yet returned to driver > > > drive

Re: [naviserver-devel] naviserver/tcl fastpath.tcl,1.5,1.6

2008-11-07 Thread Vlad Seryakov
Yes, bad change Stephen Deasey wrote: > On Fri, Nov 7, 2008 at 3:12 AM, Vlad Seryakov > <[EMAIL PROTECTED]> wrote: > >> + # If address set to 0.0.0.0 in nssock to listen on >> + # all interfaces we may try to use Host: header to >> + # return proper

[naviserver-devel] Relocating ns_atclose calls

2008-11-07 Thread Vlad Seryakov
i have a suggestion to move NsTclRunAtClose(connPtr->itPtr); in connio.c Ns_connClose before NsSockClose(connPtr->sockPtr, keep); to give atclose handlers a chance to write something into still opened socket. In most cases it will not be used and it will work as before because atclose blocks and

Re: [naviserver-devel] nsphp and other broken things

2008-10-29 Thread Vlad Seryakov
module problem. Stephen Deasey wrote: > On Tue, Oct 28, 2008 at 5:02 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> After 2008-09-11, nsphp stopped working, even with the latest update to >> non-obsolete functions, it looks like something in the core flow, >> especially s

[naviserver-devel] nsphp and other broken things

2008-10-28 Thread Vlad Seryakov
After 2008-09-11, nsphp stopped working, even with the latest update to non-obsolete functions, it looks like something in the core flow, especially streaming part doe snot work properly. I tried all versions and the latest stable is marked in ChangeLog at 2008-09-11. This is only HTTP related

Re: [naviserver-devel] How to listen on 2 ports?

2008-10-24 Thread Vlad Seryakov
Just load nssock second time with different name ns_section ns/server/modules ns_param nssock nssock.so ns_param nssock2 nssock.so ns_section ns/server/module/nssock ns_paramport 90 ns_section ns/server/module/nssock2 ns_paramport 81 Vasiljevic Zoran wrote: > He you socket/drive

Re: [naviserver-devel] naviserver/nsd driver.c,1.119,1.120

2008-10-22 Thread Vlad Seryakov
force driver to parse data that nobody need anyway, using more memory. Empty request now is supported, the work is done once and server can server requests without HTTP request at all. Is this so bad? Stephen Deasey wrote: > On Wed, Oct 22, 2008 at 8:36 PM, Vlad Seryakov <[EMAIL PROTECTED]&

Re: [naviserver-devel] modules/nsssl nsssl.c,1.6,1.7

2008-10-22 Thread Vlad Seryakov
The first argument is different, Ns_Sock vs SOCKET Stephen Deasey wrote: > On Wed, Oct 22, 2008 at 9:03 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> I tried to use Ns_SockSendBufs() but it sends data directly to socket >> where i need to send via driver's send proc. &

Re: [naviserver-devel] modules/nsssl nsssl.c,1.6,1.7

2008-10-22 Thread Vlad Seryakov
I tried to use Ns_SockSendBufs() but it sends data directly to socket where i need to send via driver's send proc. Why connPtr->nContentSent is not updated, all send called with conn parameters should do this Stephen Deasey wrote: >> Index: nsssl.c >> ===

Re: [naviserver-devel] modules/nsssl nsssl.c,1.6,1.7

2008-10-22 Thread Vlad Seryakov
> The check for (sslPtr == NULL) happens after it's already been used. Oh, late night work :-(( - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with

Re: [naviserver-devel] naviserver/nsd driver.c,1.119,1.120

2008-10-22 Thread Vlad Seryakov
> > static ssize_t > Recv(Ns_Sock *sock, struct iovec *bufs, int nbufs, Ns_Time > *timeoutPtr, int flags) > { > static const char request[] = "GET /whateva HTTP/1.0\r\n\r\n"; > size_t requestLen = sizeof(request); > socklen_t sockLen = sizeof(struct sockaddr_in); > > memcpy(bufs->

Re: [naviserver-devel] naviserver ChangeLog,1.820,1.821

2008-10-22 Thread Vlad Seryakov
Right Stephen Deasey wrote: > On Wed, Oct 22, 2008 at 3:14 AM, Vlad Seryakov > <[EMAIL PROTECTED]> wrote: >> Update of /cvsroot/naviserver/naviserver >> In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17830 >> >> Modified Files: >>Change

Re: [naviserver-devel] naviserver ChangeLog,1.787,1.788

2008-09-14 Thread Vlad Seryakov
done inside each module. Stephen Deasey wrote: > On Fri, Sep 12, 2008 at 3:08 AM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> I agree about making modules take care as much as possible. >> >> But here are the questions i need to resolve: >> >> - init, socket

Re: [naviserver-devel] naviserver ChangeLog,1.787,1.788

2008-09-11 Thread Vlad Seryakov
Aug 29, 2008 at 2:12 AM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> And sent email without finishing the thought :-)) >> >> Maybe parsing for range should done early enough and saved in the >> request, so whoever then will be sending data will use it. >

Re: [naviserver-devel] naviserver ChangeLog,1.787,1.788

2008-09-11 Thread Vlad Seryakov
will do, it may take a while Stephen Deasey wrote: > On Fri, Aug 29, 2008 at 2:12 AM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> And sent email without finishing the thought :-)) >> >> Maybe parsing for range should done early enough and saved in the >> request

Re: [naviserver-devel] 2006-06-24 -> FCGI

2008-09-10 Thread Vlad Seryakov
I would help in co-developing and testing it but right now my head is too busy with other project so it is hard to start this new module. As usual, to start is the hardest thing Bernd Eidenschink wrote: >> Yes, that's why i thought about developing fcgi module for ns, just to >> make an option fo

Re: [naviserver-devel] 2006-06-24 -> FCGI

2008-09-10 Thread Vlad Seryakov
Yes, that's why i thought about developing fcgi module for ns, just to make an option for Rails and other frameworks to run on naviserver. It could work like for nginx, but could not, still an option is an option. Bernd Eidenschink wrote: >> BTW... is FCGI still that "alive" after all those year

Re: [naviserver-devel] 2006-06-24 -> FCGI

2008-09-09 Thread Vlad Seryakov
At some point i thought about writing fcgi module but then decided not to do it because i actually did not have any project to play with. Bernd Eidenschink wrote: > Hi! > > I found this in the archives (Zoran): > >> Great! I've been also thinking about adding FCGI by rewriting >> the nsproxy mo

Re: [naviserver-devel] naviserver ChangeLog,1.787,1.788

2008-08-28 Thread Vlad Seryakov
And sent email without finishing the thought :-)) Maybe parsing for range should done early enough and saved in the request, so whoever then will be sending data will use it. Just a thought from east coast :-)) Vlad Seryakov wrote: >> +* tests/http_byteranges.test: Add a couple of

Re: [naviserver-devel] naviserver ChangeLog,1.787,1.788

2008-08-28 Thread Vlad Seryakov
gt; + which I guess is where it's actually most needed. TODO... > + I really like last changes, at the same time i need writer support because my tests showed that serving big files with conn threads are waste of resources. At the same time, being able to support range in the write

Re: [naviserver-devel] Log rolling error

2008-08-28 Thread Vlad Seryakov
Seems to be working on my side, regardless of path. Are there any other errors in the log? Daniel Stasinski wrote: > I've noticed that when I install to the non-default directory, log > rolling seems to fail. Before I start digging, anyone else have any > simple fix? > > Daniel > > [26/Aug/2

Re: [naviserver-devel] ns_time Tcl type problem

2008-08-26 Thread Vlad Seryakov
Sorry, found my own bug in tcltime.c Vlad Seryakov wrote: > It looks like the problem with Tcl ns_time type: > > ossweb:nscp 78> ns_time > 1219798300 > ossweb:nscp 79> ns_time > 1219798300 > ossweb:nscp 80> ns_time get > 164905896 > ossweb:nscp 81> ns_tim

[naviserver-devel] ns_time Tcl type problem

2008-08-26 Thread Vlad Seryakov
It looks like the problem with Tcl ns_time type: ossweb:nscp 78> ns_time 1219798300 ossweb:nscp 79> ns_time 1219798300 ossweb:nscp 80> ns_time get 164905896 ossweb:nscp 81> ns_time get 164905848 -- Vlad Seryakov [EMAIL PROTECTED] http://www.crystalball

[naviserver-devel] Last build, cache test failure

2008-08-26 Thread Vlad Seryakov
I spent a lot of time and still cannot resolve the problem with latest version ns_cache test failure. One problem i noticed with latest Tcl 8.5.4, in crashes nsd in thread test in 64bit and hangs forever in 32bit Linux. But ns_caches fails with tests using -expires and i rolled back the change

Re: [naviserver-devel] Bug in fastpath cache causes info leak

2008-08-22 Thread Vlad Seryakov
I mainly use Archlinux so i created package file but basically i added just 2 lines to it and overall it looks like it: ./configure --prefix=/usr --enable-threads --disable-64bit sed -i -e 's/-DUSE_THREAD_ALLOC=1//g' tclConfig.sh sed -i -e 's/-DUSE_THREAD_ALLOC=1//g' Makefile make install Ber

Re: [naviserver-devel] Bug in fastpath cache causes info leak

2008-08-21 Thread Vlad Seryakov
> > You used to have to manually edit the makefile to disable zippy. Is > this still the case? > What i do i use sed to replace zippy define after i ran configure, there is no easy way to disable it currently - This SF.Net

Re: [naviserver-devel] Bug in fastpath cache causes info leak

2008-08-21 Thread Vlad Seryakov
I think many issues or questions also are result of defaults in Aolserver and Naviserver still being set according to past AOL setup and requirements. It can be considered as an extreme case and because a lot of functionality was implemented for AOL high-performance requirements and setup, ever

Re: [naviserver-devel] Bug in fastpath cache causes info leak

2008-08-19 Thread Vlad Seryakov
I agree with this assessment. Nobody's fault in particular but unfortunate circumstances. Still the fix is good and naviserver has fastpath cache disabled as oppose to aolserver. Stephen Deasey wrote: > fyi, there's talk of a bug in the fastpath cache on the aolserver > list. I agree with the r

Re: [naviserver-devel] CVS, just keep it?

2008-08-19 Thread Vlad Seryakov
Oh, yes, i got used to deal with CVS and even i remembered about hg, first priority was CVS and then hg updated slipped and got forgotten. I like it but in reality, we need just one repository and if we do switch then completely. We can still stick with CVS, but i am ready to switch to anything

[naviserver-devel] New PHP module

2008-07-27 Thread Vlad Seryakov
erface to NSV arrays of the Naviserver, array is name of the array, all functions except last 2 will create array if it does not exists. Values in NSV arrays can be shared with Tcl and other connections. -- Vlad S

Re: [naviserver-devel] Fortran, Oberan, GW-BASIC and ...

2008-06-19 Thread Vlad Seryakov
I used to be big fan of Python and a long time ago i played with python in aolserver. The problem is that Python has one global lock that prevents several interpreters running simultaneously. For playing it was fun, i guess for not very busy sites it will work fine as well, but for high load it

Re: [naviserver-devel] Mercurial: naviserver.sourceforge.net/hg/

2008-06-01 Thread Vlad Seryakov
; > > The commit messages should be working, and so is cia.vc. Here's an example: > > http://sourceforge.net/mailarchive/message.php?msg_id=hg.1883a10a6e0c.1210791169.-2015825136%40sc8-pr-shella-b.sourceforge.net > > > Does this all

Re: [naviserver-devel] nsmemcached

2008-05-27 Thread Vlad Seryakov
Nice catch Daniel Stasinski wrote: > On Tue, May 27, 2008 at 10:30 AM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> Just tested it, works fine regardless is it first time or not > > I spent an hour going through it and tracked down the problem. > >rc = mc_conn_r

Re: [naviserver-devel] nsmemcached

2008-05-27 Thread Vlad Seryakov
> > > Looks like the 'expires' and 'flags' variables might be uninitialised > for the cmdSet etc. commands if values aren't passed from Tcl. In CVS version 1.5 they are initialized with 0 - This SF.net email is sponsored by

Re: [naviserver-devel] nsmemcached

2008-05-27 Thread Vlad Seryakov
Just tested it, works fine regardless is it first time or not I am using latest version from CVS of server and the module on Archlinux 2.6.24-ARCH Daniel Stasinski wrote: > I have noticed a quirk in the nsmemcache module. On the very first > "get" command from a fresh restart of nsd, it will no

Re: [naviserver-devel] Mercurial: naviserver.sourceforge.net/hg/

2008-05-23 Thread Vlad Seryakov
Another question: why to keep every module in separate repo? will it be easier to have them under one root? Stephen Deasey wrote: > On Fri, May 23, 2008 at 8:45 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> I am personally ready to switch right away, i use hg for xine-lib for

Re: [naviserver-devel] Mercurial: naviserver.sourceforge.net/hg/

2008-05-23 Thread Vlad Seryakov
May 23, 2008 at 7:39 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> Does that mean i have to use either one, CVS or HG, not both at the same >> time? >> What i am asking, we still have 2 repos, will it work if commits are >> coming to both of them? > > > N

Re: [naviserver-devel] Mercurial: naviserver.sourceforge.net/hg/

2008-05-23 Thread Vlad Seryakov
Does that mean i have to use either one, CVS or HG, not both at the same time? What i am asking, we still have 2 repos, will it work if commits are coming to both of them? Stephen Deasey wrote: > I updated the naviserver mercurial repo with the latest changes from > cvs put it on sourceforge: >

Re: [naviserver-devel] ns_share

2008-05-18 Thread Vlad Seryakov
___ > 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] [naviserver-commits] naviserver/nsd adprequest.c, 1.29, 1.30

2008-05-11 Thread Vlad Seryakov
Yes, makes sense Stephen Deasey wrote: > On Fri, May 9, 2008 at 7:11 PM, Vlad Seryakov > <[EMAIL PROTECTED]> wrote: >> Update of /cvsroot/naviserver/naviserver/nsd >> In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5680/nsd >> >> Modified Files: &

Re: [naviserver-devel] ns_perm module bug fix

2008-05-11 Thread Vlad Seryakov
I use fte (or efte) editor, very old but flexible and i use it 10 years already, it has an option to trim lines on save. i disabled it and now it does not change untouched lines. Stephen Deasey wrote: > On Sun, May 11, 2008 at 6:43 PM, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >>

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

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 > forgotten :-) Yes, i think i have.

Re: [naviserver-devel] sample config

2008-05-10 Thread Vlad Seryakov
xciting event. There'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 > navise

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

  1   2   3   4   5   6   7   >