Re: Re[4]: Your bug report (about wapbox crash)

2003-11-24 Thread Aarno Syvänen
Function wap_dispatch_datagram, in wap/wap,c, does not (B (Bhandle case wtp_unpack_wdp_datagram returning NULL, (B (Bwhich indeed would cause a list assertion error. (B (B (BIf this is indeed true, we have a truncated datagram having (B (Blength less than wtp minimum, or, course, a

Re: Anyone working on CPA SMSC module?

2003-11-24 Thread Stipe Tolj
Phuah Yee Keat wrote: I was previously just a user of Kannel (such a great project!), and now am dwelving into developing a new smsc module, for our local telco support in Malaysia. The standard's (or just a spec) name is CPA (Content Provider Architecture). Its a http-get type interface

[PATCH] Naive approach to HTTP-timeouts

2003-11-24 Thread David Schmitz
Hi everybody, attached is a patch that implements a rather naive HTTP-timeout solution. Problem: The current http-module will not disconnect clients, thus resources (e.g. sockets) are not reclaimed. Approach of the solution: * each new client registers itself in a dictionary of active clients

Re: [PATCH] Naive approach to HTTP-timeouts

2003-11-24 Thread Vjacheslav Chekushin
Hi, David. Current kannel http implementation doesn't free sockets for client-server part too (I mean conn_pool dictionary). This part even more important for WAP than server's part of http library. I've made patch some time ago to clean timeouted connection for this part of library. It works fine

Re: [PATCH] Naive approach to HTTP-timeouts

2003-11-24 Thread Alexander Malysh
Hi Slava, I would vote -1 for your patch. I see no need to start yet another thread only to watch timedout connections (threads are limited resources). David's patch (though only for http-server part) avoid it gracefully... David your patch has one problem (what I can see right now): please

Re: [PATCH] Naive approach to HTTP-timeouts

2003-11-24 Thread Vjacheslav Chekushin
Hi, Alexander, I agree with you about yet another thread. But sockets are limited resources too. Now sockets from conn_pool (client part of http library) _never_ released after use (see conn_pool_put function). David patch cleans sockets only for server part of http library, and it is good, but

Re: [PATCH] Naive approach to HTTP-timeouts

2003-11-24 Thread Alexander Malysh
hi again, yep, that's a good idea to remember all us on our todo list ;) Slava, why not just modify your patch in order to not use yet another thread? as I can see, you have done the most work for it, simple kill the thread and put function call to another appropriate place should do the

Re: [PATCH] Naive approach to HTTP-timeouts

2003-11-24 Thread David Schmitz
Hi Slava, And about David's patch: in function pointer_to_octstr() +char *tmp = (char *) gw_malloc(sizeof(char) * 255); +sprintf(tmp, %ld, p); +tmp_oct = octstr_create(tmp); +gw_free(tmp); can be changed to use octstr_format() oops, talk about reinventing the wheel! Thank you,

Re: [PATCH] custom access-log format

2003-11-24 Thread Nisan Bloch
Hi Stipe Perfect timing - we have such an item on our current to do lists. Looks good - compiles and works with brief testing on our dev box. Nisan At 04:47 PM 2003/11/24, Stipe Tolj wrote: Hi list, the attached patches is a feature add in terms of customizing the access-log format for

WBXML library

2003-11-24 Thread Marc Ricart
Hello list, I think it will be interesting to use WBXML library created in http://sourceforge.net/projects/wbxmllib. Is it possible ? This project has created a tool that converts xml to wbxml . Using this library will enable Kannel to make all kind of provisioning (SI,SL, WAP2.0 OTA,

Re: Messages stuck in store

2003-11-24 Thread Andreas Fink
On 23.11.2003, at 21:34, Alex Kinch wrote: Just a quick update.. I saw a stuck message earlier. At the same time, I telnetted to port 1 (fake) on the box in question. It dumped out the stuck message on my connection to fake, which is a bit strange - even though it had a proper smscid in the

RE: [PATCH] custom access-log format

2003-11-24 Thread Stefan Cars
Hi! Works great for me! +1 /S -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stipe Tolj Sent: den 24 november 2003 15:47 To: Kannel Devel Subject: [PATCH] custom access-log format Hi list, the attached patches is a feature add in terms of

Re: microsoft sql server 2000

2003-11-24 Thread Andreas Fink
On 21.11.2003, at 14:54, Karathanasis Dimitris wrote: x-tad-biggerHi.!!! Is there a way to use dlr storage in sql server?/x-tad-bigger installing MySQL on your Windows 2000 would be faster. Note: there is absolutely no reason why anyone should access the DLR database directly. Its internal

Re: [PATCH] custom access-log format

2003-11-24 Thread Stipe Tolj
thanks for testing. commited to cvs. Stipe mailto:[EMAIL PROTECTED] --- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf, NRW, Germany phone: +49.211.74845.0 fax: +49.211.74845.299 mailto:[EMAIL PROTECTED]