Re: [naviserver-devel] [ns_getform] doesn't get form-data fields

2020-07-04 Thread Gustaf Neumann
Maybe, we should add "self-healing" to the feature list of NaviServer :) In general, it is a good idea to make test-cases with curl, also for you to understand, what is going on in detail. all the best -gn On 04.07.20 18:37, Iuri de Araujo Sampaio wrote: Hi, I woke up today and Postman

Re: [naviserver-devel] Registering/Allowing request method HTTP PUT

2020-06-29 Thread Gustaf Neumann
The "unfriendly" behavior of redirects (actually redirects for methods other then GET used e.g. for customized error pages) should be fixed by the following change in the NaviServer repository: https://bitbucket.org/naviserver/naviserver/commits/0072469bedcd7a4640af9d9f215b1573504e385f See as

Re: [naviserver-devel] scheduler thread getting stuck

2020-06-14 Thread Gustaf Neumann
urgently? -gn [1] https://bitbucket.org/naviserver/naviserver/commits/9c48894ae8e433aa4dfbe5473e9553f796ec24bd On 08.06.20 17:46, Gustaf Neumann wrote: No change to the other failing tests, nor to the ones that we're currently skipping with the notWin32 constraint. E.g., test ns_thread-2.6 still

Re: [naviserver-devel] scheduler thread getting stuck

2020-06-04 Thread Gustaf Neumann
On 03.06.20 21:13, Andrew Piskorski wrote: ns_thread.test [03/Jun/2020:14:25:28][4844.13bc][-tcl-nsthread:7-] Notice: update interpreter to epoch 1, trace none, time 0.219973 secs Assertion failed: (addr != ((void *)0)), file tclobj.c, line 325

Re: [naviserver-devel] scheduler thread getting stuck

2020-06-08 Thread Gustaf Neumann
On 08.06.20 16:32, Andrew Piskorski wrote: On Mon, Jun 08, 2020 at 12:04:59PM +0200, Gustaf Neumann wrote: So, i have modified the code to use "time_t" for the "sec" member, ... and many of the warnings disappeared. That's a big improvement, thank you, Gustaf! The 22 re

Re: [naviserver-devel] scheduler thread getting stuck

2020-06-08 Thread Gustaf Neumann
On 04.06.20 17:26, Gustaf Neumann wrote: This sounds indeed related with the original problem. The test registers a repeating proc (interval 1s), but within in the time-range of 2.5s, it is executed only once. ... maybe i get on the weekend some access to a win environent. i could use

Re: [naviserver-devel] scheduler thread getting stuck

2020-06-08 Thread Gustaf Neumann
On 08.06.20 19:39, Andrew Piskorski wrote: On Windows there are still a few compiler warnings that look a little suspicious (below), but I don't see any good way to fix these. it is not hard to silence these cases (at least one of these appeared multiple times on stackoverflow), but these are

Re: [naviserver-devel] Host based virtual hosts

2020-07-25 Thread Gustaf Neumann
On 08.07.20 17:33, Maksym Zinchenko wrote: Thank you, very much. I'm going to implement it right now. Dear Maksym, server-side SNI should be now fully implemented (including OCSP and SNI, which are technically not SNI related, but required some refactoring due to virtual hosting, which is not

Re: [naviserver-devel] using rwlocks for nsv variables

2020-07-01 Thread Gustaf Neumann
On 01.07.20 02:03, Maksym Zinchenko wrote: Hello,first of all thank you for great work. If I understood correctly on compile time we need to provide a configuration option to compile NaviServer with mutex or rwlocks, so option b sounds good and more than enough. Right now, the flag is set in

Re: [naviserver-devel] changed chroot mode

2020-08-14 Thread Gustaf Neumann
Is it possible to revert old -r behavior when config can be placed outside of the chroot point? A change 6 days ago has introduced the testing flag "-T" where also the code locality was improved. This moved the reading of the configuration file after the chroot() command. This is fixed now and

Re: [naviserver-devel] ns_proxy segmentation fault under Debian Stretch

2021-01-11 Thread Gustaf Neumann
Dear alll, i found a couple of more places, where non-existing config sections might cause troubles. Will go through these more carefully and produce a new rc when done. -gn On 11.01.21 15:13, Gustaf Neumann wrote: Dear David, I could reproduce the behavior. The problem was due to a change

Re: [naviserver-devel] ns_proxy segmentation fault under Debian Stretch

2021-01-11 Thread Gustaf Neumann
Dear David, I could reproduce the behavior. The problem was due to a change about a year ago, which reduced code duplication in cases, where no section for nsproxy was provided in the configuration file. In reported case, it was looking for "ns/server/default/module/nsproxy". This explains as

Re: [naviserver-devel] ns_proxy segmentation fault under Debian Stretch

2021-01-12 Thread Gustaf Neumann
On 11.01.21 16:45, Gustaf Neumann wrote: Will go through these more carefully and produce a new rc when done. -gn The updated version is running since yesterday on openacs.org (4 virtual servers [1]), i have tested also with macOS 10.14.6, Ubuntu 20.04, Fedora Core 32, OpenBSD 6.8 (LibreSSL

Re: [naviserver-devel] Signal 11 crashes

2020-12-15 Thread Gustaf Neumann
with --prefix=/usr/local/ns/ such that the Tcl-verson is in the /usr/local/ns tree. When producing new binaries of NaviServer, we produce as well new binaries of Tcl. Everything clear? -g [4] https://next-scripting.org/2.3.0/doc/misc/thread-mallocs/index1 On Mon, 14 Dec 2020 at 20:36, Gustaf

Re: [naviserver-devel] revproxy and virtual servers

2020-12-23 Thread Gustaf Neumann
Is there a defined way to cancel an upstream proxy request from within the ::revproxy::upstream filter? Inside the URL rewrite callback, one can decide based on all context info, whether to forward to A or to B. However, one cannot decide whether to forward or not, i.e. calling

Re: [naviserver-devel] revproxy and virtual servers

2020-12-21 Thread Gustaf Neumann
On 21.12.20 10:58, David Osborne wrote: As far as I can remember, the multiple servers are to make routing more convenient. well, it is not the main purpose of multiple servers :) However, with the changes of yesterday, your use case should work just fine. I'm guessing I could be using

Re: [naviserver-devel] revproxy and virtual servers

2020-12-20 Thread Gustaf Neumann
On 18.12.20 17:43, David Osborne wrote: When the request arrives via server1/nsssl1 on port 443 everything seems fine. But when the requests comes in on server2/nsssl2 on port 8443, we get the error: [18/Dec/2020:16:33:00][28278.7f80e7635700][-socks-] Error: channel "conn46" does not

Re: [naviserver-devel] Signal 11 crashes

2020-12-14 Thread Gustaf Neumann
Dear David, the crash looks like a problem in the OpenSSL memory management. In general, i would believe that this is a problem in the NaviServer code, but of the interplay of the various memory management options of OpenSSL, NaviServer and Tcl. We use these functions under heavy load on

Re: [naviserver-devel] ns_conn auth

2020-11-21 Thread Gustaf Neumann
Dear Maksym, [ns_conn auth] handles Digest authentication (i've never used it), but "Bearer" is not handled. The fields in the "Authorization" request header field are not always structured the same way, so NaviServer tries it interprete it based on the first word. The known types are

Re: [naviserver-devel] ns_conn auth

2020-11-21 Thread Gustaf Neumann
Look at "Authorization: Basic d2lraTpwZWRpYQ==" it is just two tokens, but the content is decoded and returned in the ns_set a user and password. Here is an example of the digest authorization header Authorization: Digest username="Mufasa", realm="testre...@host.com",

Re: [naviserver-devel] ns_quotehtml

2021-01-09 Thread Gustaf Neumann
On 09.01.21 19:01, Maksym Zinchenko wrote: Hello everyone, may someone confirm that ns_quotehtml works as it should, because on my system its not: Command: ns_quotehtml {} Result: What is your system? It works for me. What is your OS? Interestingly, ns_quotehtml was not covered by the

Re: [naviserver-devel] Towards NaviServer 4.99.20

2021-01-10 Thread Gustaf Neumann
On 10.01.21 15:58, oleg wrote: We have tested Naviserver RC. No problem found on Ubuntu 20.04 and Windows10/MSVC2019/32bit. Great! Have an issue for Windows10/MSVC2019/64bit build. lassign [ns_sockopen -nonblock httpbin.org 80] rfd wfd ns_sockselect -timeout 1000 {} $wfd {} This is an

Re: [naviserver-devel] ns_quotehtml

2021-01-10 Thread Gustaf Neumann
:) Sorry false alert, my bad. Due to lack of coffee and some good sleep, I was testing some procs in "nsshell", and of course browser rendering escaped characters back to normal, and my zombie brain couldn't process why. It works fine, at least it has a regression test now ;) Many thanks for

Re: [naviserver-devel] ns_proxy segmentation fault under Debian Stretch

2021-01-21 Thread Gustaf Neumann
Hi David, Many thanks for that details, this helps a lot. I will look into this, but probably, the weekend is the earliest time. Now, i understand the problem at least. all the best -g On 21.01.21 16:15, David Osborne wrote: I dug a bit more into why NaviServer at master might not be

Re: [naviserver-devel] ns_quotehtml

2021-01-17 Thread Gustaf Neumann
sleep, I was testing some procs in "nsshell", and of course browser rendering escaped characters back to normal, and my zombie brain couldn't process why. It works fine, at least it has a regression test now ;) On Sat, Jan 9, 2021 at 5:44 PM Gustaf Neumann <mailto:n

Re: [naviserver-devel] ns_param location - change of behaviour for ns_returnredirect

2021-01-25 Thread Gustaf Neumann
On 25.01.21 17:42, David Osborne wrote: This is part of the commit which seems to be changing the behaviour in our case in SockSetServer in driver.c.. sockPtr->location would have previously been set to drvPtr->location here and passed on to connPtr->location in NsQueueConn I think. Dear

Re: [naviserver-devel] ns_proxy segmentation fault under Debian Stretch

2021-01-24 Thread Gustaf Neumann
Dear all, The 4.99 branch (bug-fix branch for the 4.99 family) is now updated with the change of David. Additionally, i have added basic test cases via introducing  a new command "nscp users". all the best -g

[naviserver-devel] NaviServer 4.99.20 available

2021-01-17 Thread Gustaf Neumann
3.1.1), FreeBSD 12.2 The following people have contributed to this release:     Andrew Piskorski     David Osborne     Gustaf Neumann     Hector Romojaro     Maksym Zinchenko     Oleg Oleinick     Zoran Vasiljevic Below is a summary of changes. The major changes since RC1 are improved robustness in case

[naviserver-devel] Towards NaviServer 4.99.20

2021-01-04 Thread Gustaf Neumann
    Andrew Piskorski     David Osborne     Gustaf Neumann     Maksym Zinchenko     Oleg Oleinick     Zoran Vasiljevic Below is a preliminary summary of changes. Please test if possible. The release should be in about one week. Future goals: - move towards release 5.0 - upgrade license from Mozilla 1.

Re: [naviserver-devel] ns_param location - change of behaviour for ns_returnredirect

2021-01-28 Thread Gustaf Neumann
Dear David, The i could reproduce the problems, which showed up only for configurations with local network drivers (loading the driver in the server specific section, not in the global section). In general, the definition over the global section is recommended, since it supports virtual

Re: [naviserver-devel] ns_charsets

2021-07-11 Thread Gustaf Neumann
On 11.07.21 14:14, Maksym Zinchenko wrote: Hello,I'm having trouble with encodings, or maybe I don't understand something. My first question is: when I run *"ns_charsets*" command it will not return UTF-8 encoding in the list, why and what does it mean? Dear Maksym, "ns_charsets" is a code

Re: [naviserver-devel] Problem with new pthread code: Resource temporarily unavailable

2021-04-27 Thread Gustaf Neumann
) and everything looks ok all the best -gn On 27.04.21 11:52, Gustaf Neumann wrote: Dear Oscar, Can you make please a quick check: when you run [1] the installation says at the end:    You can now run plain NaviServer by typing the following command:    sudo /usr/local/ns/bin/nsd -f -u nsadmin

Re: [naviserver-devel] Problem with new pthread code: Resource temporarily unavailable

2021-04-27 Thread Gustaf Neumann
Dear Oscar, Can you make please a quick check: when you run [1] the installation says at the end:    You can now run plain NaviServer by typing the following command:    sudo /usr/local/ns/bin/nsd -f -u nsadmin -g nsadmin -t /usr/local/ns/conf/nsd-config.tcl When you start this instance of

Re: [naviserver-devel] Content-Type application/json request

2021-05-02 Thread Gustaf Neumann
good to know. i've added this as an example to the manual pages in the repository... -gn On 01.05.21 16:35, Maksym Zinchenko wrote: Thank you. that's exactly what I need ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net

Re: [naviserver-devel] Content-Type application/json request

2021-04-30 Thread Gustaf Neumann
Dear Maksym, one can access the content of a PUT/POST request via "ns_getcontent". Just get the content and parse content e.g. into a dict. -gn if {[ns_conn method] in {PUT POST} && [ns_set iget [ns_conn headers] Content-Type] eq "application/json" } {

[naviserver-devel] Towards NaviServer 4.99.21

2021-04-02 Thread Gustaf Neumann
Dear all, on sourceforge is a release candidate for NaviServer 4.99.21 [1]. This is essentially a bug-fix release and cleans everything up, what was reported after the larger release of 4.99.20 as an issue. The in-depth look of the changes of oleg (as reported before the release of 4.99.20) are

Re: [naviserver-devel] Content-Disposition: form-data - Apparently wrong format

2021-02-24 Thread Gustaf Neumann
Dear Iuri "ns_http" does not do magic transformation on the POST data just by providing different header fields. You have to provide the correct formdata yourself. You are providing apparently the data in the wrong format. However, since you are using OpenACS, you should be able to use    

Re: [naviserver-devel] What's the replacement of [curl -u] in [ns_http]

2021-02-24 Thread Gustaf Neumann
as in your case, so this bug was not noticed before. -gn On Raj. 13, 1442 AH, at 00:03, Gustaf Neumann <mailto:neum...@wu.ac.at>> wrote: Dear Iuri, The problem, you are probably facing is probably that ns_base64encode produces line breaks as required for MIME encoded text s

Re: [naviserver-devel] What's the replacement of [curl -u] in [ns_http]

2021-02-23 Thread Gustaf Neumann
Dear Iuri, The problem, you are probably facing is probably that ns_base64encode produces line breaks as required for MIME encoded text strings [1]. % ns_base64encode Afrewf564DFSFSF54jgnfhgGDGdfRGRT43:7584fjhfjhf84jkrugrefAFFD9449474

[naviserver-devel] NaviServer 4.99.20 available

2021-04-09 Thread Gustaf Neumann
Dear all, The release of NaviServer 4.99.21 is now available on sourceforge [1]. This is essentially a bug-fix release and cleans everything up, what was reported after the larger release of 4.99.20 as an issue. I will make as well as joint release annouce of 4.99.20 and .21 at the Tcl forum.

Re: [naviserver-devel] percent-encoded characters in URL

2021-08-25 Thread Gustaf Neumann
dstraße 68, 5. Stock, 4020 Linz www.digital-concepts.com <http://www.digital-concepts.com> tel +43.732.997117.72 tel +43.699.1997117.2 Firmenbuchnummer: 192003h Firmenbuchgericht: Landesgericht Linz ___ naviserver-devel mailing list naviserver-devel@lists.sour

Re: [naviserver-devel] ns_cache question

2021-08-25 Thread Gustaf Neumann
Dear Maksym, On 24.08.21 02:39, Maksym Zinchenko wrote: But lately, user logs in start working and randomly redirected back to the login screen because data in db is not the same as in cache, when you have values from the DB cached, then whenever the DB changes, you have to flush the cache

[naviserver-devel] Towards NaviServer 4.99.22

2021-08-16 Thread Gustaf Neumann
is a preliminary summary of changes. all the best -gustaf neumann [1] https://sourceforge.net/projects/naviserver/files/naviserver/4.99.22/ === NaviServer 4.99.22, released 2021-08-XX === 84 files changed, 3905 insertions(+), 1423

Re: [naviserver-devel] percent-encoded characters in URL

2021-08-25 Thread Gustaf Neumann
On 25.08.21 11:07, Wolfgang Winkler wrote: Thank you for your answer. I've missed the corresponding RFC 3986 part you quoted. We have a client who, for some reason, got an error, when the @ sign of emails in the query section was not escaped. It has been solved on his side, but I was not

[naviserver-devel] NaviServer 4.99.22 available

2021-08-25 Thread Gustaf Neumann
Dear all, on sourceforge is the release of NaviServer 4.99.22 [1] available The code was tested with Ubuntu 20.04, Rocky Linux 8.4, OpenBSD 6.9 (clang), FreeBSD 13.0-CURRENT, macOS 11.5.2 (Intel and M1). The following people have contributed to this release:     Gustaf Neumann     Ibrahim

Re: [naviserver-devel] ns_charsets

2021-07-13 Thread Gustaf Neumann
On 11.07.21 20:00, Gustaf Neumann wrote: When i look at the IANA page, i see several entries there, which are not in the naviserver default table. So, one should check, what's feasible to be added. Dear all, i've worked through the IANA charset definitions [1], especially through

Re: [naviserver-devel] Warning: private key load error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt

2021-07-28 Thread Gustaf Neumann
Hi Thorpe, On 27.07.21 14:42, THORPE MAYES via naviserver-devel wrote: This issue surfaced when I was creating a new ssl certificate. The old certificate expires at the end of the month. The old certificate continued to work after I updated naviserver (with openssl 1.1k). The new certificate

Re: [naviserver-devel] Capturing the URL query without the key?

2021-10-06 Thread Gustaf Neumann
Dear David, This is just solved in the case, the query parameters consists of just one value. The command [ns_conn query] gives you the raw values of all parameters as passed to the server. In order the get the keys, values, ... of all query parameters, get the ns_set of the decoded query

Re: [naviserver-devel] Fatal: received fatal signal 11

2021-09-25 Thread Gustaf Neumann
On 25.09.21 18:10, Maksym Zinchenko wrote: Hello everyone, 2 latest commits are not letting me start naviserver. sorry for the omission. tip version should be fixed now. I'll be back in Vienna on monday in case i have overseen something... -g ___

Re: [naviserver-devel] Issue with certain emojis (unicode/utf-8)

2021-12-04 Thread Gustaf Neumann
ow errors. It seems we are save for future updates. Wolfgang Am 18.11.21 um 18:24 schrieb Gustaf Neumann: Dear all On bitbucket is now an update (see change log message below) that introduces support of UTF-8 characters using up to 4 bytes (with Tcl 8.6). It should work as well with 6 byte UTF wh

Re: [naviserver-devel] Towards NaviServer 4.99.23

2021-12-22 Thread Gustaf Neumann
(e.g. openssl 1.1.1d (broken) vs. openssl 1.1.1k (good)) [1] https://icu.unicode.org/ On 05.12.21 14:13, Gustaf Neumann wrote: Dear all, on sourceforge is a release candidate for NaviServer 4.99.23 [1]. The change contains one potentially important fix for a memory leak (which was in the code

[naviserver-devel] NaviServer 4.99.23 available

2021-12-29 Thread Gustaf Neumann
:     Antonio Pisano     Gustaf Neumann     Maksym Zinchenko     Oleg Oleinick     Wolfgang Winkler     Zoran Vasiljevic All the best in the new year! -gustaf neumann [1] https://sourceforge.net/projects/naviserver/files/naviserver/4.99.23/ === NaviServer 4.99.23

Re: [naviserver-devel] Issue with certain emojis (unicode/utf-8)

2021-11-18 Thread Gustaf Neumann
Dear all On bitbucket is now an update (see change log message below) that introduces support of UTF-8 characters using up to 4 bytes (with Tcl 8.6). It should work as well with 6 byte UTF when Tcl 8.7 is properly compiled (by setting TCL_UTF_MAX). One can now use e.g. emoticons in SQL

Re: [naviserver-devel] Issue with certain emojis (unicode/utf-8)

2021-11-16 Thread Gustaf Neumann
Funny enough, i same a very similar problem today and provide a local fix for this. I am not happy with this fix since it is rather costly, so i would like to work on this more before committing. However, today and tomorrow i am fully booked with urgent items, so don't expect a fix for this

Re: [naviserver-devel] Issue with certain emojis (unicode/utf-8)

2021-11-09 Thread Gustaf Neumann
Dear all, The situation is trickier than someone might hope.  Aside of the Tcl version dependencies (as Brian pointed out), Tcl before 8.7 do not support TCL_UTF_MAX with longer multi-byte sequences than 4 (see Tcl TIP 389), which are also mostly relevant for some newer emojis. So, for full

Re: [naviserver-devel] Buffer overflow detected

2021-11-07 Thread Gustaf Neumann
close) or not (really requiring > 1024 open file descriptors). -g On 06.11.21 19:43, Maksym Zinchenko wrote: Thank you very much for explaining Gustaf, at least I know now that somewhere in my Tcl code something is wrong. I'm using only 2 C modules/packages. On Fri, Nov 5, 2021 at 7:37 AM Gus

Re: [naviserver-devel] No notifications with webpush::send

2021-12-09 Thread Gustaf Neumann
On 09.12.21 09:33, Wolfgang Winkler via naviserver-devel wrote: We are using 1.1.1d on our production server, which is a debian buster. bytes {} tag 1e58277931d45f4c593cffbf291b39b7 i can confirm, that with Debian GNU/Linux 10 (buster) and OpenSSL 1.1.1d bytes are empty. With e.g. Rocky

[naviserver-devel] Fwd: No notifications with webpush::send

2021-12-09 Thread Gustaf Neumann
Forwarded Message Subject:Re: [naviserver-devel] No notifications with webpush::send Date: Thu, 9 Dec 2021 11:43:44 +0100 From: Gustaf Neumann To: Wolfgang Winkler via naviserver-devel On 09.12.21 09:33, Wolfgang Winkler via naviserver-devel wrote: We

Re: [naviserver-devel] No notifications with webpush::send

2021-12-07 Thread Gustaf Neumann
On 07.12.21 14:40, Wolfgang Winkler via naviserver-devel wrote: We also tried the demo here: https://openacs.org/webpush-demo/webpush-demo.tcl The empty message works ("Naviserver rocks!"), but with a message, we get an error: "could not derive EC point from provided key could not derive

Re: [naviserver-devel] Bug in nsd/binder.c

2021-12-13 Thread Gustaf Neumann
Dear Russ, Many thanks for the report. The problem seems to occur only, when daemontools are used, which are used probably mostly in legacy setups (the latest release of daemontools is according to wikipedia 20 years old [1]. I was not able to reproduce a problem with the recommended plain

Re: [naviserver-devel] Fwd: No notifications with webpush::send

2021-12-13 Thread Gustaf Neumann
Part if the problem is that OpenSSL, when configured with the default prefix (/usr/local/) installs its libraries on some platforms into /usr/local/lib64 and not into /usr/local/lib. On these platforms we might have a problem when configuring with --with-openssl=/usr/local/ I have just now

[naviserver-devel] Towards NaviServer 4.99.23

2021-12-05 Thread Gustaf Neumann
Unicode support for e.g. emojis, and crypto improvments like SCRAM, which is already incorporated in OpenACS). Please test if possible.  The release should be in the near future. Below is a preliminary summary of changes. all the best -gustaf neumann [1] https://sourceforge.net/projects

Re: [naviserver-devel] Warning: private key load error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt

2021-07-27 Thread Gustaf Neumann
insight re this issue? Thank you. Thorpe ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel -- Univ.Prof. Dr. Gustaf Neumann Head of the Institute of Information

Re: [naviserver-devel] Naviserver doesn't compile against tcl8.7-alpha5

2022-01-10 Thread Gustaf Neumann
Dear Fox, The function Tcl_PackageInitProc was apparently deprecated recently for Tcl 8.7 (TIP #595, [1]). Therefore, for compiling the released version of NaviServer with Tcl 8.7a5, remove the flag -DTCL_NO_DEPRECATED from the compiler flags, and everything should be fine. We should

Re: [naviserver-devel] Issue with certain emojis (unicode/utf-8)

2022-03-18 Thread Gustaf Neumann
Just as a short notice: iOS 14.5 (released a few days ago) supports some more Unicode 14 characters, iOS 15 is supposed to support all of Unicode 14.0. The melting face of Unicode 14 on the test-page on openacs.org (see link below) works already. -gn On 04.12.21 15:57, Gustaf Neumann wrote

[naviserver-devel] Fwd: NaviServer Wins an Award from SourceForge

2022-03-02 Thread Gustaf Neumann
wherever appropriate. If you are using NaviServer in your products, you might use this information and badge to advertise using an awarded server. All the best -gustaf neumann Forwarded Message Subject:NaviServer Wins an Award from SourceForge Date: Tue, 01 Mar 2022 23:23

[naviserver-devel] emojis and their consequences

2022-03-03 Thread Gustaf Neumann
Dear all, There are more changes related to this problem area: a) Due to the full support of UTF-8 in the database interface in the last release, potential new problems showed up which were hidden so far by the mangled Tcl-UTF-8; similarly, problems showed up with vulnerability scanners

Re: [naviserver-devel] ns_parseurl: small problem

2022-01-18 Thread Gustaf Neumann
parseurl "index?url=http%3A%2F%2Fwww.test.com" works. ns_urldecode decodes the value correctly. Regards, Wolfgang ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/navis

Re: [naviserver-devel] v4.99.23 Tests failing building on Debian Buster Pt1: encoding_ns_http-1.1

2022-04-06 Thread Gustaf Neumann
Hi David, i will setup a VM for testing in your configuration, but first i have to understand, what pt1/pt2 means. Is it sufficient to set up a Debian Buster with all available updates? The emoji/UTF-8 problem points to a Tcl problem. What exact version of Tcl is used in this installation?

Re: [naviserver-devel] v4.99.23 Tests failing building on Debian Buster Pt1: encoding_ns_http-1.1

2022-04-06 Thread Gustaf Neumann
On 06.04.22 16:46, David Osborne wrote: On Wed, 6 Apr 2022 at 14:53, Gustaf Neumann wrote: Hi David, i will setup a VM for testing in your configuration, but first i have to understand, what pt1/pt2 means. * * *Sorry that is just an abbreviation for "part1"

Re: [naviserver-devel] v4.99.23 Tests failing building on Debian Buster Pt1: encoding_ns_http-1.1

2022-04-08 Thread Gustaf Neumann
1 contexts (suppressed: 0 from 0) Segmentation fault make: *** [Makefile:273: memcheck] Error 139 On Wed, 6 Apr 2022 at 16:58, Gustaf Neumann wrote: On 06.04.22 16:46, David Osborne wrote: On Wed, 6 Apr 2022 at 14:53, Gustaf Neumann wrote: Hi David, i will setup

Re: [naviserver-devel] v4.99.23 Tests failing building on Debian Buster Pt1: encoding_ns_http-1.1

2022-04-10 Thread Gustaf Neumann
There are now two changes committed to bitbucket: a) Provide an error message when the configured locale is not installed on the host (misconfiguration) This change causes NaviServer to abort, when the configured locale is not installed on the host. Typically, this locale is e.g. used by

[naviserver-devel] Towards NaviServer 4.99.24

2022-04-15 Thread Gustaf Neumann
Dear all, on sourceforge is a release candidate for NaviServer 4.99.24 [1]. Please test if possible.  The release should be in the near future. Below is a preliminary summary of changes. All the best, and have a nice easter weekend! -g [1]

Re: [naviserver-devel] “worker process pool” feature?

2023-09-05 Thread Gustaf Neumann
On 05.09.23 14:40, John at Decent wrote: Gustav, I think my confusion is as to how this works. As it's not documented, one needs to figure it out from the source. the man page https://naviserver.sourceforge.io/n/nsproxy/files/ns_proxy.html is not a perfect documentation, but this is what we

Re: [naviserver-devel] “worker process pool” feature?

2023-09-05 Thread Gustaf Neumann
On 05.09.23 11:39, Gustaf Neumann wrote: On 05.09.23 09:17, John at Decent wrote: However, won’t that cause the external process to get reloaded every time I call proxy::exec ? see https://github.com/openacs/openacs-core/blob/oacs-5-10/packages/acs-tcl/tcl/proxy-procs.tcl#L74-L83

Re: [naviserver-devel] “worker process pool” feature?

2023-09-05 Thread Gustaf Neumann
On 05.09.23 08:10, John at Decent wrote: I think the best way is to have a naviserver module that implements a “worker pool of processes”.  The module would launch X numbers of this external process (say, undroidwish), controlled via STDOUT/STDIN, and dispatch requests free members of the

Re: [naviserver-devel] “worker process pool” feature?

2023-09-05 Thread Gustaf Neumann
On 05.09.23 09:17, John at Decent wrote: Thanks Gustaf. I knew about ns_proxy, but as it is documented as being a proxy to external Tcl processes, I didn’t think to use it as a general process pool. The part I was missing was > proxy::exec However, won’t that cause the external process to

Re: [naviserver-devel] NaviServer 4.99.28 available

2023-09-10 Thread Gustaf Neumann
Dear all, Part of the announcement of NaviServer 4.99.28 was the update of the nsdbbdb module (Berkley DB driver via nsdb). I did a few tests about its performance, that might interest a few here. The test of this module configured with lmdb is quite impressive (see below). For comparison,

Re: [naviserver-devel] NX and Naviserver init

2023-09-15 Thread Gustaf Neumann
Dear Maksym, On 15.09.23 01:09, Maksym Zinchenko wrote: Hello, I've been struggling with a problem for a few days now. First I thought it's something with my understanding of NX, but I think its has to do something with Naviserver. actually, the problem is not with NaviServer, but it is

[naviserver-devel] NaviServer 4.99.28 available

2023-09-06 Thread Gustaf Neumann
Dear all, I am glad to announce that the release of NaviServer 4.99.28 is available at SourceForge [1].  This release is a pure bug-fix and maintenance release, which fixes a bug annoying for some OpenACS users. See below for a summary of the changes. All the best! -gustaf neumann [1

[naviserver-devel] NaviServer 4.99.29 available

2023-11-02 Thread Gustaf Neumann
is. One other option would be to upgrade to a paid plain - but i am not sure, who is gonna pay for this. All the best! -gustaf neumann [1] https://sourceforge.net/projects/naviserver/files/naviserver/4.99.29/ [2] https://bitbucket.org/blog/billing-model-change

Re: [naviserver-devel] NaviServer 4.99.29 available

2023-11-06 Thread Gustaf Neumann
-------- *From:* Gustaf Neumann *Sent:* Thursday 2 November 2023 2:30 pm *To:* Navidevel *Subject:* [naviserver-devel] NaviServer 4.99.29 available Dear all, I am glad to announce that the release of NaviServer 4.99.29 is available at

Re: [naviserver-devel] NaviServer 4.99.29 available

2023-11-06 Thread Gustaf Neumann
ian *From:* Gustaf Neumann *Sent:* Monday 6 November 2023 1:59 pm *To:* naviserver-devel@lists.sourceforge.net *Subject:* Re: [naviserver-devel] NaviServer 4.99.29 available Hi Brian, as stated several times, the right action is to fix your script (as you did) rather t

Re: [naviserver-devel] "connection already closed" vs "connection socket is detached" and the "rejectalreadyclosedconn" parameter

2023-09-30 Thread Gustaf Neumann
___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel -- Univ.Prof. Dr. Gustaf Neumann Head of the Institute of Information Systems and New Media of Vienna University of Economi

Re: [naviserver-devel] "connection already closed" vs "connection socket is detached" and the "rejectalreadyclosedconn" parameter

2023-09-30 Thread Gustaf Neumann
Hi Brian, The parameter "rejectalreadyclosedconn" does what it is supposed to do (controls error messages, when someone tries to write to a connection, which was already closed). The parameter was introduced at a time, before the distinction between closed and detached connections was

Re: [naviserver-devel] Crashing on all versions >4.99.24 on Ubuntu

2023-08-16 Thread Gustaf Neumann
On 16.08.23 15:37, Brian Fenton wrote: We don't issue any "ns_set cleanup" ourselves, but when I added your recommendation of tracing "ns_set", I saw plenty in the logs. The docs say that "This command is autoamtically executed by ns_cleanup, which runs after every request, freeing all sets

Re: [naviserver-devel] Crashing on all versions >4.99.24 on Ubuntu

2023-08-18 Thread Gustaf Neumann
--------- *From:* Gustaf Neumann *Sent:* Friday 18 August 2023 12:30 pm *To:* naviserver-devel@lists.sourceforge.net *Subject:* Re: [naviserver-devel] Crashing on all versions >4.99.24 on Ubuntu Hi Brian, With your input, I cou

Re: [naviserver-devel] Crashing on all versions >4.99.24 on Ubuntu

2023-08-18 Thread Gustaf Neumann
Hi Brian, With your input, I could locate the source of the problem and fix this in the repository. It was an ns_set but, that could only happen with the output headers, when the code normalized the capitalization of the header fields. There is now a test for this in the regression test suite

Re: [naviserver-devel] Crashing on all versions >4.99.24 on Ubuntu

2023-08-15 Thread Gustaf Neumann
Brian, many thanks, the backtrace gives some insights: The problem happens in a Ns_SetFree operation if set "d8" triggered by an "ns_set cleanup" during the cleanup of the request. Something is broken with this nsset. Can it be that your application package issues "ns_set cleanup" as well?

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-18 Thread Gustaf Neumann
ay forward in cases where client apps are not getting the encoding correct. [1] https://bitbucket.org/naviserver/naviserver/annotate/master/nsd/form.c?at=master#form.c-170 ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https:

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-20 Thread Gustaf Neumann
Thanks as well, change is welcome! ... i've added the documentation for the configuration variables. -g On 20.05.22 16:28, David Osborne wrote: Thanks Gustaf - I've run some quick tests against the per-server and global fallback and it seems to work well in the cases we're looking at -

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-30 Thread Gustaf Neumann
ed NaviServer to log just a Warning of invalid UTF-8 but not include the data itself. But there may be a better way of dealing with this. Regards, David On Sat, 28 May 2022 at 18:45, Gustaf Neumann wrote: Dear all, The latest commits - added the "multipart/form-data"

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-12 Thread Gustaf Neumann
bstitution of Maximal Subparts") [2] https://www.unicode.org/versions/Unicode14.0.0/ch05.pdf (Section 5.22 "U+FFFD Substitution in Conversion") [3] https://encoding.spec.whatwg.org/#decoder [4] https://docs.python.org/3/library/stdtypes.html#bytes.decode On Mon, 2 May 2022 at 13:30, Gus

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-14 Thread Gustaf Neumann
ll the best -g On 13.05.22 10:32, David Osborne wrote: Thanks Gustaf, I didn't pick up that your latest commit makes it possible to catch and handle an encoding error now. Thanks - we'll try to address the issue that way. Regards, Dave On Thu, 12 May 2022 at 12:27, Gustaf Neumann wrote:

[naviserver-devel] Joint OpenACS and EuroTcl conference

2022-05-23 Thread Gustaf Neumann
for submissions of abstracts (max. 2 pages, min. 250 words); June 3rd, 2022: Notification of acceptance June 15th, 2022: Registration ends June 29th, 2022: Meet & greet June 30th - July 1st, 2022:  Conference For details, see: https://openacs.org/conf2022/ Gustaf Neumann and Paul Obermeier -- Univ.Prof

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-28 Thread Gustaf Neumann
more tests. I have still a bug report for ns_connchan (which i could not reproduce so far), if i find something to fix the next days, this will go as well into the next release, otherwise we are ready for rc2. all the best -gn On 19.05.22 21:19, Gustaf Neumann wrote: Hi David, we have not a g

Re: [naviserver-devel] Towards NaviServer 4.99.24

2022-05-19 Thread Gustaf Neumann
dle incorrect queries... still missing: "multipart/form-data" handling and documentation updates, error code all the best -gn On 18.05.22 22:00, Gustaf Neumann wrote: Dear David, i've committed the option "-fallbackencodings" for the commands  "ns_getform" and &q

[naviserver-devel] OpenACS and EuroTcl Conference Program and Live Streams

2022-06-29 Thread Gustaf Neumann
/eurotcl2022/calendar/cal-item-view?cal_item_id=613704587 Note, that the times are Vienna local time (CEST) all the best -g -- Univ.Prof. Dr. Gustaf Neumann Head of the Institute of Information Systems and New Media of Vienna University of Economics and Business Program Director of MSc "Inform

[naviserver-devel] OpenACS and EuroTcl conference presentations

2022-07-06 Thread Gustaf Neumann
Dear all, The presentations are now on the conference website, including video and slides (on the program page). There are also photo impressions from the conference (on the starting page).    https://openacs.org/conf2022/info/ all the best -g

Re: [naviserver-devel] Joint OpenACS and EuroTcl conference

2022-06-09 Thread Gustaf Neumann
Dear NaviServer Community, The registration for the joint OpenACS and EuroTcl conference ends in one week. No need some time ahead of the event to reserve sufficient capacities for the social events. all the best -gn https://openacs.org/conf2022/info/

<    1   2   3   4   5   6   >