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) 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]