Re: PANIC: gwlib/octstr.c ...

2003-11-11 Thread Stipe Tolj
Alexander Malysh wrote: > > Hi Igor, > > ++1 for this patch... > It's 100% wrong to use octstr_imm for non const c-strings. And this can also > explain why we have seen panics with "too many immutable octstr"... so, is there any need in changing code at different other places? ie. gw/wap_push_p

Re: PPG fixes

2003-11-11 Thread Stipe Tolj
Aarno Syvänen wrote: > > Hi List, > > Some new PPG fixes (see attachment). There are mostly about > performance, > removing some useless octstr_append_char. In addition, PPG now do not > search optional headers from the message body. For doing this a new > octstr > function is supplied. > > And

Re: PANIC: gwlib/octstr.c ...

2003-11-11 Thread Alexander Malysh
On Tuesday 11 November 2003 13:44, Stipe Tolj wrote: > Alexander Malysh wrote: > > Hi Igor, > > > > ++1 for this patch... > > It's 100% wrong to use octstr_imm for non const c-strings. And this can > > also explain why we have seen panics with "too many immutable octstr"... > > so, is there any nee

Re: PANIC: gwlib/octstr.c ...

2003-11-11 Thread Stipe Tolj
Alexander Malysh wrote: > > On Tuesday 11 November 2003 13:44, Stipe Tolj wrote: > > Alexander Malysh wrote: > > > Hi Igor, > > > > > > ++1 for this patch... > > > It's 100% wrong to use octstr_imm for non const c-strings. And this can > > > also explain why we have seen panics with "too many immu

RE: PANIC: gwlib/octstr.c ...

2003-11-11 Thread Igor Ivoilov
Certainly! The same error. octstr_imm() is sutable only for static strings. Stipe are you going to change it? How often octstr_case_search is used in such circumstances? Does it worth to create octstr_case_search(Octstr*,char*) ? > -Original Message- > From: Stipe Tolj [mailto:[EMAIL PR

Re: PPG fixes

2003-11-11 Thread Alexander Malysh
On Tuesday 11 November 2003 13:56, Stipe Tolj wrote: > Aarno Syvänen wrote: > > Hi List, > > > > Some new PPG fixes (see attachment). There are mostly about > > performance, > > removing some useless octstr_append_char. In addition, PPG now do not > > search optional headers from the message body.

Re: PANIC: gwlib/octstr.c ...

2003-11-11 Thread Stipe Tolj
Igor Ivoilov wrote: > > Certainly! > The same error. octstr_imm() is sutable only for static strings. > > Stipe are you going to change it? > How often octstr_case_search is used in such circumstances? > Does it worth to create octstr_case_search(Octstr*,char*) ? I'll check the sources if I can

Re: PPG fixes

2003-11-11 Thread Stipe Tolj
Alexander Malysh wrote: > > On Tuesday 11 November 2003 13:56, Stipe Tolj wrote: > > Aarno Syvänen wrote: > > > Hi List, > > > > > > Some new PPG fixes (see attachment). There are mostly about > > > performance, > > > removing some useless octstr_append_char. In addition, PPG now do not > > > sea

Re: PANIC: gwlib/octstr.c ...

2003-11-11 Thread Alexander Malysh
On Tuesday 11 November 2003 14:08, Stipe Tolj wrote: > Igor Ivoilov wrote: > > Certainly! > > The same error. octstr_imm() is sutable only for static strings. > > > > Stipe are you going to change it? > > How often octstr_case_search is used in such circumstances? > > Does it worth to create octstr

Re: PPG fixes

2003-11-11 Thread Stipe Tolj
Aarno Syvänen wrote: > > Hi List, > > Some new PPG fixes (see attachment). There are mostly about > performance, > removing some useless octstr_append_char. In addition, PPG now do not > search optional headers from the message body. For doing this a new > octstr > function is supplied. > > And

Re: [PATCH] conn.s ssl fixes

2003-11-11 Thread Stipe Tolj
Alexander Malysh schrieb: > attched you can find conn.c fixes for ssl enabled connections. > Patch does following: > 1) enable non-blocking mode for read/write ssl BIO > 2) enable partial writing and buffer moving in ssl context. this is needed if > we use non-blocking mode otherwi

Re: Messages stuck in store

2003-11-11 Thread Alex Kinch
Hi Thomas,   Version is cvs-20031103. Maybe it is a bug, and this probably now belongs on the devel-list so I've cc'd it in. Could you email me your patch? Alex - Original Message - From: Thomas Hager To: [EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 10:27 AM S