axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <sam...@wso2.com>
Subject Re: Caching support for MTOM
Date Mon, 12 May 2008 21:05:25 GMT
Manjula Peiris wrote:
> Hi all,
>
> I have created a branch [1] and committed the mtom caching stuff. when
> you run the simple axis2 server with the mtom sample you will see a temp
> file created. That is the cached file created from the mime_parser. For
> the time being I have added 3 functions in the
> axiom/src/attachments/mime_parser.c to do the caching. They are ,
>
> void *init_handler()
> axis2_status_t close_handler(void *handler)
> static axis2_status_t axiom_mime_parser_cache(
>     const axutil_env_t *env,
>     axis2_char_t *buf,
>     int buf_len,
>     void *handler)
>   

What does each of these functions do? What does init handler and close 
handler do? Why can't I just use the callback? I home 
axiom_mime_parser_cache is the callback. Why not change the name to 
axiom_mime_fluch_callback, because that is what the callback does.

Thanks,
Samisa....
> These will be replaced with user provided callbacks in the future. There
> are some bugs need to be fixed in the implementation. I will merge it to
> the trunk as soon as it becomes stable.
>
> [1]https://svn.apache.org/repos/asf/webservices/axis2/branches/c/post_1_4_mtom/c
>
> Thanks,
> -Manjula.
>  
>
>
> On Sat, 2008-05-10 at 06:35 +0530, Kaushalye Kapuruge wrote:
>   
>> Manjula Peiris wrote:
>>     
>>> Hi devs,
>>>
>>> I have implemented a caching technique [1] for MTOM. I had to completely
>>> rewrite the current mime_parser logic. The implementation also has a new
>>> searching technique which efficiently uses memory. There are some bugs
>>> need to be fixed in the new implementation and it also need to be
>>> tested. Some API additions may need to be done in order to put this
>>> implementation to the current Axis2/C trunk. I will discuss those in
>>> this list. Since we now have a stable MTOM implementation I propose we
>>> will put these new stuff in a scratch area 
>>>       
>> +1
>> -Kau
>>     
>>> and continue with the further
>>> development. 
>>>
>>> Thoughts please ?
>>>   
>>>       
>>> [1] https://issues.apache.org/jira/browse/AXIS2C-672
>>>
>>> Thanks,
>>> -Manjula.
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>>>
>>>
>>>   
>>>       
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>   
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 8.0.100 / Virus Database: 269.23.14/1425 - Release Date: 5/9/2008 12:38 PM
>   


-- 
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message