thanks, some patch comments:

-> strlen("CONTENT_TYPE=application/x-www-form-urlencoded")

for a fixed size string put it in a macro and then you can do
sizeof(MACRO_NAME), on that way the pre-processor of the compiler will put
that length statically and it will not need to perform strlen() over the
same string again and again.

avoid to call snprintf() many times, please also check the
mk_api->str_build() call.

regards,


On Wed, Apr 10, 2013 at 7:19 AM, Denis Mone <[email protected]> wrote:

> Hi i find out that the solution i had provided about the #172 bug (the
> post array not working) has a leak.
> I have provided a patch witch fix it.Please review and comment.
> Thank you!
>
> _______________________________________________
> Monkey mailing list
> [email protected]
> http://lists.monkey-project.com/listinfo/monkey
>
>


-- 
Eduardo Silva
http://edsiper.linuxchile.cl
http://www.monkey-project.com
_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to