[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: TR: apr_size_t len : is there a max size (3555)?

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Tue, 1 Apr 2014 09:30:50 +0100 (BST)

Dario Cham wrote:

> Please, I would like to know if there is a max size to initialize to apr_size_t len ?
> Because my source code here below does not work (with apr_size_t len =4096).
> I have made some tests with apr_size_t len =  3555 and it’s working fine.
> Thank you for your help.
>  
> int tailleBuffer = 4096;
>    char* buf = NULL;
>    buf = malloc(tailleBuffer * sizeof(char));
>    apr_size_t len = tailleBuffer;

>    rv = apr_socket_send(skt, str, &len);  //failed

Hi Dario. I am sorry, but this mailing list is not a support forum.

If you are having trouble using Subversion, see

  http://subversion.apache.org/mailing-lists.html

For documentation of APR, see

  http://apr.apache.org/

For how to write a good bug report, see

  http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

Regards,
- Julian
Received on 2014-04-01 10:31:35 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.